svn commit: r333620 - head/games/xasteroids

Danilo Egea Gondolfo danilo at FreeBSD.org
Tue Nov 12 20:53:46 UTC 2013


Author: danilo
Date: Tue Nov 12 20:53:46 2013
New Revision: 333620
URL: http://svnweb.freebsd.org/changeset/ports/333620

Log:
  - Add stage support

Modified:
  head/games/xasteroids/Makefile

Modified: head/games/xasteroids/Makefile
==============================================================================
--- head/games/xasteroids/Makefile	Tue Nov 12 20:50:59 2013	(r333619)
+++ head/games/xasteroids/Makefile	Tue Nov 12 20:53:46 2013	(r333620)
@@ -23,10 +23,9 @@ USE_XORG=	x11 xext
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -lXext -lX11 -lm
 
-MAN6=		xasteroids.6
-PLIST_FILES=	bin/xasteroids
+PLIST_FILES=	bin/xasteroids \
+		man/man6/xasteroids.6.gz
 
-NO_STAGE=	yes
 post-extract:
 	@${LN} -sf xast.man ${WRKSRC}/xasteroids.6
 
@@ -35,7 +34,7 @@ do-build:
 		${LDFLAGS})
 
 do-install:
-	(cd ${WRKSRC} && ${INSTALL_PROGRAM} xasteroids ${PREFIX}/bin)
-	(cd ${WRKSRC} && ${INSTALL_MAN} xasteroids.6 ${MAN6PREFIX}/man/man6)
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} xasteroids ${STAGEDIR}${PREFIX}/bin)
+	(cd ${WRKSRC} && ${INSTALL_MAN} xasteroids.6 ${STAGEDIR}${MAN6PREFIX}/man/man6)
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list