svn commit: r333468 - head/games/starlanes

Danilo Egea Gondolfo danilo at FreeBSD.org
Mon Nov 11 01:34:05 UTC 2013


Author: danilo
Date: Mon Nov 11 01:34:05 2013
New Revision: 333468
URL: http://svnweb.freebsd.org/changeset/ports/333468

Log:
  - Add stage support

Modified:
  head/games/starlanes/Makefile

Modified: head/games/starlanes/Makefile
==============================================================================
--- head/games/starlanes/Makefile	Mon Nov 11 01:31:06 2013	(r333467)
+++ head/games/starlanes/Makefile	Mon Nov 11 01:34:05 2013	(r333468)
@@ -9,10 +9,8 @@ MASTER_SITES=	SUNSITE/games/strategy
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Classic space-age stock trading game
 
-MAN6=		starlanes.6
-PLIST_FILES=	bin/starlanes
+PLIST_FILES=	bin/starlanes man/man6/starlanes.6.gz
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's| restrict| m_restrict| ; \
@@ -23,7 +21,7 @@ do-build:
 		&& ${CC} ${CFLAGS} -o starlanes starlanes.c -lcurses)
 
 do-install:
-	(cd ${WRKSRC} && ${INSTALL_PROGRAM} starlanes ${PREFIX}/bin)
-	(cd ${WRKSRC} && ${INSTALL_MAN} starlanes.6 ${MAN6PREFIX}/man/man6)
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} starlanes ${STAGEDIR}${PREFIX}/bin)
+	(cd ${WRKSRC} && ${INSTALL_MAN} starlanes.6 ${STAGEDIR}${MAN6PREFIX}/man/man6)
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list