- Stage support
This commit is contained in:
parent
9d069bec8d
commit
aeeba6daef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346129
1 changed files with 3 additions and 7 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue