- Stage support

This commit is contained in:
Martin Wilke 2014-02-26 07:21:02 +00:00
parent 9d069bec8d
commit aeeba6daef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346129

View file

@ -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>