summaryrefslogtreecommitdiff
path: root/audio/ksmp3play/Makefile
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-01-16 19:41:41 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-01-16 19:41:41 +0000
commit39d61c560cdf2a295b021dcb03368d01850071ad (patch)
tree7e771d44d65a3046aee572830db03412cff8ac3b /audio/ksmp3play/Makefile
parentAdd x49gp - a HP49G+/50G graphics calculator emulator. (diff)
Stage support
Notes
Notes: svn path=/head/; revision=339967
Diffstat (limited to 'audio/ksmp3play/Makefile')
-rw-r--r--audio/ksmp3play/Makefile16
1 files changed, 5 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>