svn commit: r344024 - head/audio/cutmp3

Emanuel Haupt ehaupt at FreeBSD.org
Wed Feb 12 21:56:24 UTC 2014


Author: ehaupt
Date: Wed Feb 12 21:56:24 2014
New Revision: 344024
URL: http://svnweb.freebsd.org/changeset/ports/344024
QAT: https://qat.redports.org/buildarchive/r344024/

Log:
  Support staging

Modified:
  head/audio/cutmp3/Makefile

Modified: head/audio/cutmp3/Makefile
==============================================================================
--- head/audio/cutmp3/Makefile	Wed Feb 12 21:53:21 2014	(r344023)
+++ head/audio/cutmp3/Makefile	Wed Feb 12 21:56:24 2014	(r344024)
@@ -12,10 +12,8 @@ COMMENT=	A small and fast command line M
 
 NO_STAGE=	yes
 USE_BZIP2=	yes
-MAN1=		${PORTNAME}.1
-MANCOMPRESSED=	yes
 
-PLIST_FILES=	bin/cutmp3
+PLIST_FILES=	bin/cutmp3 man/man1/cutmp3.1.gz
 
 PORTDOCS=	README README.timetable USAGE
 
@@ -27,9 +25,7 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
-.endif
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list