diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2013-12-29 13:01:28 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2013-12-29 13:01:28 +0000 |
commit | b6511af7d8df28f4e85c9d9d5865d027e44f431b (patch) | |
tree | 6caacace89321f6554da37e9337f05e72085aa18 /audio/juke | |
parent | Stage support (diff) |
Stage support
Notes
Notes:
svn path=/head/; revision=337979
Diffstat (limited to 'audio/juke')
-rw-r--r-- | audio/juke/Makefile | 8 | ||||
-rw-r--r-- | audio/juke/pkg-plist | 3 |
2 files changed, 4 insertions, 7 deletions
diff --git a/audio/juke/Makefile b/audio/juke/Makefile index e2c17ca94970..969ff8863047 100644 --- a/audio/juke/Makefile +++ b/audio/juke/Makefile @@ -11,10 +11,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Simple (n)curses based juke box program GNU_CONFIGURE= yes -NO_STAGE= yes -MAN1= juke.1 -PLIST_FILES= bin/juke etc/juke.conf.sample SUB_FILES= pkg-message OPTIONS_DEFINE= VI_BINDINGS @@ -27,9 +24,6 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-vi .endif post-install: - ${INSTALL_DATA} ${WRKSRC}/juke.conf ${PREFIX}/etc/juke.conf.sample - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} + ${INSTALL_DATA} ${WRKSRC}/juke.conf ${STAGEDIR}${PREFIX}/etc/juke.conf.sample .include <bsd.port.mk> diff --git a/audio/juke/pkg-plist b/audio/juke/pkg-plist index 1539abd74c6b..4732c9162a78 100644 --- a/audio/juke/pkg-plist +++ b/audio/juke/pkg-plist @@ -1,2 +1,5 @@ bin/juke +@unexec if cmp -s %D/etc/juke.conf %D/etc/juke.conf.sample; then rm -f %D/etc/juke.conf; fi etc/juke.conf.sample +@exec if [ ! -f %B/juke.conf ]; then cp -p %B/%f %B/juke.conf; fi +man/man1/juke.1.gz |