svn commit: r343045 - head/games/garith

Martin Wilke miwi at FreeBSD.org
Thu Feb 6 12:14:45 UTC 2014


Author: miwi
Date: Thu Feb  6 12:14:44 2014
New Revision: 343045
URL: http://svnweb.freebsd.org/changeset/ports/343045
QAT: https://qat.redports.org/buildarchive/r343045/

Log:
  - Stage support

Modified:
  head/games/garith/Makefile

Modified: head/games/garith/Makefile
==============================================================================
--- head/games/garith/Makefile	Thu Feb  6 12:14:42 2014	(r343044)
+++ head/games/garith/Makefile	Thu Feb  6 12:14:44 2014	(r343045)
@@ -18,7 +18,6 @@ LDFLAGS+=	`${GTK_CONFIG} --libs`
 PORTDOCS=	BUGS HISTORY README TODO
 PLIST_FILES=	bin/garith
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|gldouble|double|;/gnome/d;/all.*apps/d'\
 		${WRKSRC}/garith.c
@@ -27,10 +26,8 @@ do-build:
 	cd ${WRKSRC}&&${CC} ${CFLAGS} -o garith garith.c ${LDFLAGS}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/garith ${PREFIX}/bin/
-.ifndef NOPORTDOCS
-	@${INSTALL} -d ${DOCSDIR}/
-	@cd ${WRKSRC}&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/garith ${STAGEDIR}${PREFIX}/bin/
+	@${INSTALL} -d ${STAGEDIR}${DOCSDIR}/
+	@cd ${WRKSRC}&&${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list