diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-03-13 15:12:44 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-03-13 15:12:44 +0000 |
commit | 8a14dc1176d5ed9676c832cde22cfce38e088238 (patch) | |
tree | d7de964af5c486542ef7bacb9325aa500d791e83 /lang/nawk | |
parent | f1d0b55940ba57637ce436e4b6191bca5e6acc62 (diff) | |
download | ports-8a14dc1176d5ed9676c832cde22cfce38e088238.tar.gz ports-8a14dc1176d5ed9676c832cde22cfce38e088238.zip |
Notes
Diffstat (limited to 'lang/nawk')
-rw-r--r-- | lang/nawk/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lang/nawk/Makefile b/lang/nawk/Makefile index 4402b5db002a..455a71eb530e 100644 --- a/lang/nawk/Makefile +++ b/lang/nawk/Makefile @@ -14,14 +14,15 @@ COMMENT= Brian Kernighan's pattern scanning and processing language NO_WRKSUBDIR= yes MAKEFILE= makefile ALL_TARGET= a.out -MAN1= nawk.1 CFLAGS+= -DHAS_ISBLANK -PLIST_FILES= bin/nawk +PLIST_FILES= bin/nawk man/man1/nawk.1.gz + +post-patch: + @${REINPLACE_CMD} -e 's|awk|nawk|g' ${WRKSRC}/awk.1 -NO_STAGE= yes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/bin/nawk - ${SED} -e 's|awk|nawk|g' ${WRKSRC}/awk.1 > ${WRKSRC}/nawk.1 - ${INSTALL_MAN} ${WRKSRC}/nawk.1 ${PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/a.out ${STAGEDIR}${PREFIX}/bin/nawk + ${INSTALL_MAN} ${WRKSRC}/awk.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1/nawk.1.gz .include <bsd.port.mk> |