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 +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 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