aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-26 15:21:02 +0800
committermiwi <miwi@FreeBSD.org>2014-02-26 15:21:02 +0800
commit16315876b03619cbdf2b48a42f9fa5e8a959efe2 (patch)
treeb10b2c345f5187033f8232bce01a6e16ac3cb3b5 /lang
parenteba3fca0d90bd9d2183dc952e33d8b93995199ed (diff)
downloadfreebsd-ports-gnome-16315876b03619cbdf2b48a42f9fa5e8a959efe2.tar.gz
freebsd-ports-gnome-16315876b03619cbdf2b48a42f9fa5e8a959efe2.tar.zst
freebsd-ports-gnome-16315876b03619cbdf2b48a42f9fa5e8a959efe2.zip
- Stage support
Diffstat (limited to 'lang')
-rw-r--r--lang/fasm/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/lang/fasm/Makefile b/lang/fasm/Makefile
index 36f132daa902..dab3d2525349 100644
--- a/lang/fasm/Makefile
+++ b/lang/fasm/Makefile
@@ -19,7 +19,6 @@ PLIST_FILES= bin/fasm
PORTDOCS= *
WRKSRC= ${WRKDIR}/${PORTNAME}
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
@@ -30,11 +29,8 @@ do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} fasm.o -o fasm
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fasm ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
- @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/fasm ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>