svn commit: r333690 - head/games/xfireworks

Danilo Egea Gondolfo danilo at FreeBSD.org
Wed Nov 13 14:27:34 UTC 2013


Author: danilo
Date: Wed Nov 13 14:27:33 2013
New Revision: 333690
URL: http://svnweb.freebsd.org/changeset/ports/333690

Log:
  - Add stage support

Modified:
  head/games/xfireworks/Makefile
  head/games/xfireworks/pkg-plist

Modified: head/games/xfireworks/Makefile
==============================================================================
--- head/games/xfireworks/Makefile	Wed Nov 13 14:26:49 2013	(r333689)
+++ head/games/xfireworks/Makefile	Wed Nov 13 14:27:33 2013	(r333690)
@@ -15,15 +15,9 @@ LICENSE_COMB=	dual
 
 USE_XORG=	x11
 
-MAN1=		xfireworks.1
-
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/xfireworks ${PREFIX}/bin/xfireworks
-	${INSTALL_MAN} ${WRKSRC}/xfireworks.1 ${MANPREFIX}/man/man1
-	${INSTALL_DATA} ${WRKSRC}/xfireworks.conf ${PREFIX}/etc/xfireworks.conf.sample
-.if !exists(${PREFIX}/etc/xfireworks.conf)
-	${CP} ${PREFIX}/etc/xfireworks.conf.sample ${PREFIX}/etc/xfireworks.conf
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/xfireworks ${STAGEDIR}${PREFIX}/bin/xfireworks
+	${INSTALL_MAN} ${WRKSRC}/xfireworks.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_DATA} ${WRKSRC}/xfireworks.conf ${STAGEDIR}${PREFIX}/etc/xfireworks.conf.sample
 
 .include <bsd.port.mk>

Modified: head/games/xfireworks/pkg-plist
==============================================================================
--- head/games/xfireworks/pkg-plist	Wed Nov 13 14:26:49 2013	(r333689)
+++ head/games/xfireworks/pkg-plist	Wed Nov 13 14:27:33 2013	(r333690)
@@ -1,4 +1,5 @@
 bin/xfireworks
+man/man1/xfireworks.1.gz
 @unexec if cmp -s %D/etc/xfireworks.conf %D/etc/xfireworks.conf.sample; then rm -f %D/etc/xfireworks.conf; fi
 etc/xfireworks.conf.sample
 @exec test -f %B/xfireworks.conf || cp %B/%f %B/xfireworks.conf


More information about the svn-ports-head mailing list