Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2013 19:26:12 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334773 - head/audio/dir2ogg
Message-ID:  <201311241926.rAOJQCml079727@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Nov 24 19:26:11 2013
New Revision: 334773
URL: http://svnweb.freebsd.org/changeset/ports/334773

Log:
  Support staging

Modified:
  head/audio/dir2ogg/Makefile

Modified: head/audio/dir2ogg/Makefile
==============================================================================
--- head/audio/dir2ogg/Makefile	Sun Nov 24 19:20:20 2013	(r334772)
+++ head/audio/dir2ogg/Makefile	Sun Nov 24 19:26:11 2013	(r334773)
@@ -16,27 +16,23 @@ RUN_DEPENDS=	faad:${PORTSDIR}/audio/faad
 		mplayer:${PORTSDIR}/multimedia/mplayer \
 		oggenc:${PORTSDIR}/audio/vorbis-tools
 
-NO_STAGE=	yes
 USE_PYTHON=	yes
 NO_BUILD=	yes
 
-MAN1=		${PORTNAME}.1
 PORTDOCS=	NEWS README
-PLIST_FILES=	bin/${PORTNAME}
+PLIST_FILES=	bin/${PORTNAME} \
+		man/man1/${PORTNAME}.1.gz
 
-.include <bsd.port.options.mk>
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^#!/s|/.*python|${SETENV} python|g' ${WRKSRC}/${PORTNAME}
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for doc in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311241926.rAOJQCml079727>