svn commit: r334779 - head/audio/dtmfdial

Baptiste Daroussin bapt at FreeBSD.org
Sun Nov 24 19:42:49 UTC 2013


Author: bapt
Date: Sun Nov 24 19:42:48 2013
New Revision: 334779
URL: http://svnweb.freebsd.org/changeset/ports/334779

Log:
  Support staging

Modified:
  head/audio/dtmfdial/Makefile

Modified: head/audio/dtmfdial/Makefile
==============================================================================
--- head/audio/dtmfdial/Makefile	Sun Nov 24 19:42:15 2013	(r334778)
+++ head/audio/dtmfdial/Makefile	Sun Nov 24 19:42:48 2013	(r334779)
@@ -11,19 +11,15 @@ DISTNAME=	dtmf-dial-${PORTVERSION}
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Generate DTMF dial tones from the command line
 
-NO_STAGE=	yes
 WRKSRC=		${WRKDIR}/dial
 MAKE_ARGS=	CFLAGS="${CFLAGS}"
 PORTDOCS=	README TODO
 
 PLIST_FILES=	bin/dtmfdial
 
-.include <bsd.port.options.mk>
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/dial ${PREFIX}/bin/dtmfdial
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/dial ${STAGEDIR}${PREFIX}/bin/dtmfdial
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list