Stage support

This commit is contained in:
Antoine Brodin 2014-01-06 21:50:26 +00:00
parent bb2f99de89
commit 5dcb7098b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338946

View file

@ -14,15 +14,13 @@ COMMENT= Rotates a file so that lines become columns and vice versa
ALL_TARGET= ${PORTNAME}
CFLAGS+= -Wno-return-type
MAN1= rot.1
PLIST_FILES= bin/rot
PLIST_FILES= bin/rot man/man1/rot.1.gz
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} "s:^CFLAGS=:#CFLAGS=:" ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rot ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/rot.man ${MAN1PREFIX}/man/man1/rot.1
${INSTALL_PROGRAM} ${WRKSRC}/rot ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/rot.man ${STAGEDIR}${MAN1PREFIX}/man/man1/rot.1
.include <bsd.port.mk>