aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-12-29 21:01:28 +0800
committerantoine <antoine@FreeBSD.org>2013-12-29 21:01:28 +0800
commit76eebeb45061b72bb289fd31e17a5e68cc34e7a1 (patch)
tree6caacace89321f6554da37e9337f05e72085aa18
parent04718bc53e3995e579d1e9a73ef9ab3ff486e364 (diff)
downloadfreebsd-ports-gnome-76eebeb45061b72bb289fd31e17a5e68cc34e7a1.tar.gz
freebsd-ports-gnome-76eebeb45061b72bb289fd31e17a5e68cc34e7a1.tar.zst
freebsd-ports-gnome-76eebeb45061b72bb289fd31e17a5e68cc34e7a1.zip
Stage support
-rw-r--r--audio/juke/Makefile8
-rw-r--r--audio/juke/pkg-plist3
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