aboutsummaryrefslogtreecommitdiff
path: root/audio/darkice
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2013-12-29 12:48:38 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2013-12-29 12:48:38 +0000
commit94d66de6045029ad5cabe6a886ac74d6c4566679 (patch)
tree61eec8dcf72b26f4b92fa3a2c3bf811b194a3440 /audio/darkice
parentb60587959cb09082fa78bedf89a225c87da0daf7 (diff)
downloadports-94d66de6045029ad5cabe6a886ac74d6c4566679.tar.gz
ports-94d66de6045029ad5cabe6a886ac74d6c4566679.zip
Notes
Diffstat (limited to 'audio/darkice')
-rw-r--r--audio/darkice/Makefile20
-rw-r--r--audio/darkice/pkg-plist2
2 files changed, 6 insertions, 16 deletions
diff --git a/audio/darkice/Makefile b/audio/darkice/Makefile
index 28c6fd766b46..95834f0fd26d 100644
--- a/audio/darkice/Makefile
+++ b/audio/darkice/Makefile
@@ -20,7 +20,6 @@ OPTIONS_DEFAULT= VORBIS
OPUS_DESC= Ogg Opus audio codec support
AACPLUS_DESC= AAC HEv2 and libsamplerate support
-NO_STAGE= yes
USE_AUTOTOOLS= aclocal automake autoconf
ACLOCAL_ARGS= # none
AUTOMAKE_ARGS= --add-missing --copy --foreign
@@ -30,9 +29,6 @@ CONFIGURE_ARGS= --without-alsa
SUB_FILES= pkg-message
USE_RC_SUBR= ${PORTNAME}
-MAN1= darkice.1
-MAN5= darkice.cfg.5
-
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MJACK}
@@ -97,18 +93,10 @@ post-patch:
@${REINPLACE_CMD} -e 's|-O2 -pedantic||g' ${WRKSRC}/src/Makefile.am
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cfg \
- ${PREFIX}/etc/${PORTNAME}.cfg.dist
- ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.cfg.5 ${MAN5PREFIX}/man/man5
-
-post-install:
- @${ECHO_MSG}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_MSG}
- @if [ ! -f ${PREFIX}/etc/darkice.cfg ]; then \
- ${CP} -p ${PREFIX}/etc/darkice.cfg.dist ${PREFIX}/etc/darkice.cfg ; \
- fi
+ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cfg.dist
+ ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.cfg.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
.include <bsd.port.mk>
diff --git a/audio/darkice/pkg-plist b/audio/darkice/pkg-plist
index 26096d569fae..06d5946c972f 100644
--- a/audio/darkice/pkg-plist
+++ b/audio/darkice/pkg-plist
@@ -2,3 +2,5 @@ bin/darkice
@unexec if cmp -s %D/etc/darkice.cfg.dist %D/etc/darkice.cfg; then rm -f %D/etc/darkice.cfg; fi
etc/darkice.cfg.dist
@exec if [ ! -f %D/etc/darkice.cfg ] ; then cp -p %D/%F %B/darkice.cfg; fi
+man/man1/darkice.1.gz
+man/man5/darkice.cfg.5.gz