aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-01-17 03:41:41 +0800
committerantoine <antoine@FreeBSD.org>2014-01-17 03:41:41 +0800
commit6f89a03f2eb9fddea57f64f3400bcea963159528 (patch)
tree7e771d44d65a3046aee572830db03412cff8ac3b /audio
parent0c5d56a7b0c8157fc2a18921bae7066f5d6a9bcf (diff)
downloadfreebsd-ports-gnome-6f89a03f2eb9fddea57f64f3400bcea963159528.tar.gz
freebsd-ports-gnome-6f89a03f2eb9fddea57f64f3400bcea963159528.tar.zst
freebsd-ports-gnome-6f89a03f2eb9fddea57f64f3400bcea963159528.zip
Stage support
Diffstat (limited to 'audio')
-rw-r--r--audio/ksmp3play/Makefile16
-rw-r--r--audio/ksmp3play/pkg-plist1
2 files changed, 6 insertions, 11 deletions
diff --git a/audio/ksmp3play/Makefile b/audio/ksmp3play/Makefile
index 48df0038950f..9a2837def702 100644
--- a/audio/ksmp3play/Makefile
+++ b/audio/ksmp3play/Makefile
@@ -13,24 +13,18 @@ COMMENT= Curses-based MP3 player
LIB_DEPENDS= libsmpeg.so:${PORTSDIR}/multimedia/smpeg
GNU_CONFIGURE= yes
-USES= pathfix
-NO_STAGE= yes
+USES= pathfix
USE_SDL= sdl
NO_WRKSUBDIR= yes
-
-MAN1= ksmp3play.1
+EXTRACT_AFTER_ARGS= --exclude CVS
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${TAR} -C ${WRKSRC}/doc --exclude "CVS" -cf - . | \
- ${TAR} -C ${DOCSDIR} --unlink -xf -
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/audio/ksmp3play/pkg-plist b/audio/ksmp3play/pkg-plist
index 0d73991fe11c..640e8e9a652d 100644
--- a/audio/ksmp3play/pkg-plist
+++ b/audio/ksmp3play/pkg-plist
@@ -1,4 +1,5 @@
bin/ksmp3play
+man/man1/ksmp3play.1.gz
%%PORTDOCS%%%%DOCSDIR%%/ksmp3play.html/ch-usage.html
%%PORTDOCS%%%%DOCSDIR%%/ksmp3play.html/footnotes.html
%%PORTDOCS%%%%DOCSDIR%%/ksmp3play.html/ch-intro.html