1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Stage support

This commit is contained in:
Martin Wilke 2014-02-06 10:41:39 +00:00
parent cf18757fb2
commit e387925fc1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343015

View File

@ -15,17 +15,16 @@ NO_WRKSUBDIR= yes
MAKEFILE= /usr/share/mk/bsd.prog.mk
MAKE_ARGS= PROG=aclgen
MAN1= aclgen.1
PLIST_FILES= bin/aclgen
PLIST_FILES= bin/aclgen \
man/man1/aclgen.1.gz
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|<malloc.h>|<unistd.h>| ; \
s|^void main|int main|' ${WRKSRC}/aclgen.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/aclgen ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/aclgen.1 ${MANPREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/aclgen ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/aclgen.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>