aboutsummaryrefslogtreecommitdiffstats
path: root/games/xfireworks
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-11-13 22:27:33 +0800
committerdanilo <danilo@FreeBSD.org>2013-11-13 22:27:33 +0800
commit6dae3a436f5ee547db1db5839a5244d63fa21821 (patch)
tree5b8dc199d55ae8f2fcb0ee12be20eaa12bc49e86 /games/xfireworks
parentbc4c754d4bbaa5091d299602006233281b5a8729 (diff)
downloadfreebsd-ports-gnome-6dae3a436f5ee547db1db5839a5244d63fa21821.tar.gz
freebsd-ports-gnome-6dae3a436f5ee547db1db5839a5244d63fa21821.tar.zst
freebsd-ports-gnome-6dae3a436f5ee547db1db5839a5244d63fa21821.zip
- Add stage support
Diffstat (limited to 'games/xfireworks')
-rw-r--r--games/xfireworks/Makefile12
-rw-r--r--games/xfireworks/pkg-plist1
2 files changed, 4 insertions, 9 deletions
diff --git a/games/xfireworks/Makefile b/games/xfireworks/Makefile
index 9cd09bae783f..0a317564969b 100644
--- a/games/xfireworks/Makefile
+++ b/games/xfireworks/Makefile
@@ -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>
diff --git a/games/xfireworks/pkg-plist b/games/xfireworks/pkg-plist
index abd9e64ecb3e..365e9e9717c0 100644
--- a/games/xfireworks/pkg-plist
+++ b/games/xfireworks/pkg-plist
@@ -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