Convert to STAGEDIR

Followup of PR:	178208
This commit is contained in:
Antoine Brodin 2013-10-29 19:47:33 +00:00
parent e7272c2b72
commit f472a770bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331984

View file

@ -14,19 +14,18 @@ LICENSE= GPLv2
PLIST_FILES= bin/mac-robber
PORTDOCS= CHANGES README
NO_STAGE= yes
do-build:
cd ${WRKSRC}; ${CC} ${CFLAGS} -o mac-robber mac-robber.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mac-robber ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mac-robber ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>