1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Stage support

This commit is contained in:
Antoine Brodin 2014-01-31 17:04:25 +00:00
parent 249adf9856
commit 42cdd0f565
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342038

View File

@ -17,17 +17,14 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_LIBS="-pthread"
USE_RC_SUBR= ${PORTNAME}
MAN1= ocat.1
PLIST_FILES= bin/ocat
PLIST_FILES= bin/ocat man/man1/ocat.1.gz
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
'/CFLAGS=/s|-O2|$$CFLAGS|' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/ocat ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/ocat.1 ${MANPREFIX}/man/man1
@${CAT} ${PKGMESSAGE}
${INSTALL_PROGRAM} ${WRKSRC}/src/ocat ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/ocat.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>