summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-26 07:21:02 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-26 07:21:02 +0000
commitaeeba6daef97dff806ea18ffed9dc5e1ce071abd (patch)
treeb10b2c345f5187033f8232bce01a6e16ac3cb3b5
parent- Stage support (diff)
- Stage support
Notes
Notes: svn path=/head/; revision=346129
-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>