svn commit: r340495 - head/devel/dasm

Baptiste Daroussin bapt at FreeBSD.org
Mon Jan 20 23:37:12 UTC 2014


Author: bapt
Date: Mon Jan 20 23:37:12 2014
New Revision: 340495
URL: http://svnweb.freebsd.org/changeset/ports/340495
QAT: https://qat.redports.org/buildarchive/r340495/

Log:
  Support stage

Modified:
  head/devel/dasm/Makefile

Modified: head/devel/dasm/Makefile
==============================================================================
--- head/devel/dasm/Makefile	Mon Jan 20 23:33:30 2014	(r340494)
+++ head/devel/dasm/Makefile	Mon Jan 20 23:37:12 2014	(r340495)
@@ -22,18 +22,11 @@ PORTDOCS=	*
 PLIST_FILES=	bin/dasm \
 		bin/ftohex
 
-NO_STAGE=	yes
 do-install:
 .for filename in dasm ftohex
-	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${filename} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${filename} ${STAGEDIR}${PREFIX}/bin
 .endfor
-
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list