svn commit: r339967 - head/audio/ksmp3play

Antoine Brodin antoine at FreeBSD.org
Thu Jan 16 19:41:42 UTC 2014


Author: antoine
Date: Thu Jan 16 19:41:41 2014
New Revision: 339967
URL: http://svnweb.freebsd.org/changeset/ports/339967
QAT: https://qat.redports.org/buildarchive/r339967/

Log:
  Stage support

Modified:
  head/audio/ksmp3play/Makefile
  head/audio/ksmp3play/pkg-plist

Modified: head/audio/ksmp3play/Makefile
==============================================================================
--- head/audio/ksmp3play/Makefile	Thu Jan 16 19:31:03 2014	(r339966)
+++ head/audio/ksmp3play/Makefile	Thu Jan 16 19:41:41 2014	(r339967)
@@ -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>

Modified: head/audio/ksmp3play/pkg-plist
==============================================================================
--- head/audio/ksmp3play/pkg-plist	Thu Jan 16 19:31:03 2014	(r339966)
+++ head/audio/ksmp3play/pkg-plist	Thu Jan 16 19:41:41 2014	(r339967)
@@ -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


More information about the svn-ports-all mailing list