aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-26 15:19:22 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-26 15:19:22 +0800
commit35c6df18ff91d1390a250fe1d9c1aa5f0e90e22a (patch)
tree2c8c2d51098941e7cb176998ae7e1c2e87cc2385
parentd084cb8131c403d1b5256e0119a187ed898d8d6c (diff)
downloadfreebsd-ports-gnome-35c6df18ff91d1390a250fe1d9c1aa5f0e90e22a.tar.gz
freebsd-ports-gnome-35c6df18ff91d1390a250fe1d9c1aa5f0e90e22a.tar.zst
freebsd-ports-gnome-35c6df18ff91d1390a250fe1d9c1aa5f0e90e22a.zip
Support staging
-rw-r--r--lang/mmix/Makefile23
1 files changed, 11 insertions, 12 deletions
diff --git a/lang/mmix/Makefile b/lang/mmix/Makefile
index 1fd206cf5819..04538ae131f4 100644
--- a/lang/mmix/Makefile
+++ b/lang/mmix/Makefile
@@ -15,18 +15,17 @@ BUILD_DEPENDS= ctangle:${PORTSDIR}/devel/cweb
NO_WRKSUBDIR= yes
FILES= mmix.1 mmix.mp silly.out silly.run
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mmix ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/mmixal ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/mmmix ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/mmotype ${PREFIX}/bin
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/*.mmconfig ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/*.mmix ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/*.mms ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/*.w ${DATADIR}
- ${INSTALL_DATA} ${FILES:S,^,${WRKSRC}/,} ${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/mmix ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/mmixal ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/mmmix ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/mmotype ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.mmconfig ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.mmix ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.mms ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.w ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>