svn commit: r337979 - head/audio/juke
Antoine Brodin
antoine at FreeBSD.org
Sun Dec 29 13:01:29 UTC 2013
Author: antoine
Date: Sun Dec 29 13:01:28 2013
New Revision: 337979
URL: http://svnweb.freebsd.org/changeset/ports/337979
Log:
Stage support
Modified:
head/audio/juke/Makefile
head/audio/juke/pkg-plist
Modified: head/audio/juke/Makefile
==============================================================================
--- head/audio/juke/Makefile Sun Dec 29 12:48:38 2013 (r337978)
+++ head/audio/juke/Makefile Sun Dec 29 13:01:28 2013 (r337979)
@@ -11,10 +11,7 @@ MAINTAINER= ports at 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-v
.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>
Modified: head/audio/juke/pkg-plist
==============================================================================
--- head/audio/juke/pkg-plist Sun Dec 29 12:48:38 2013 (r337978)
+++ head/audio/juke/pkg-plist Sun Dec 29 13:01:28 2013 (r337979)
@@ -1,2 +1,5 @@
bin/juke
+ at 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
+ at exec if [ ! -f %B/juke.conf ]; then cp -p %B/%f %B/juke.conf; fi
+man/man1/juke.1.gz
More information about the svn-ports-all
mailing list