diff options
author | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2010-09-15 08:11:06 +0000 |
---|---|---|
committer | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2010-09-15 08:11:06 +0000 |
commit | dd61bdba3193b31e5fdc825e6e3667b4bd137b42 (patch) | |
tree | 9af4a8d1a14c633b0420ba2ce95d2b47aefe8e4d /net/netcat | |
parent | - Update to 2.00 (diff) |
Fix DOCSDIR in the manual and drop my maintainership.
Pointed out by Jim Long <james@umpquanet.com>
Notes
Notes:
svn path=/head/; revision=261195
Diffstat (limited to 'net/netcat')
-rw-r--r-- | net/netcat/Makefile | 7 | ||||
-rw-r--r-- | net/netcat/files/nc.1 | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/net/netcat/Makefile b/net/netcat/Makefile index 39a59bdf41f4..5264ca191502 100644 --- a/net/netcat/Makefile +++ b/net/netcat/Makefile @@ -20,7 +20,7 @@ PATCH_SITES= ftp://sith.mimuw.edu.pl/pub/users/baggins/IPv6/ PATCHFILES= nc-v6-20000918.patch.gz PATCH_DIST_STRIP= -p1 -MAINTAINER= sumikawa@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Simple utility which reads and writes data across network connections NO_WRKSUBDIR= yes @@ -50,9 +50,12 @@ XFLAGS+= -DGAPING_SECURITY_HOLE MAKE_ENV= XFLAGS="${XFLAGS}" +post-patch: + ${SED} -e 's|%%DOCSDIR%%|${DOCSDIR}|g' ${FILESDIR}/nc.1 > ${WRKDIR}/nc.1 + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nc ${PREFIX}/bin/${PORTNAME} - ${INSTALL_MAN} ${FILESDIR}/nc.1 ${PREFIX}/man/man1/${MAN1} + ${INSTALL_MAN} ${WRKDIR}/nc.1 ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} diff --git a/net/netcat/files/nc.1 b/net/netcat/files/nc.1 index 43da468e3754..10ee744a1a91 100644 --- a/net/netcat/files/nc.1 +++ b/net/netcat/files/nc.1 @@ -137,7 +137,7 @@ Some port names in /etc/services contain hyphens -- netcat currently will not correctly parse those, so specify ranges using numbers if you can. .SH "SEE ALSO" -/usr/share/doc/netcat/README +%%DOCSDIR%%/README .SH AUTHOR This manual page was written by Joey Hess <joeyh@debian.org> and Robert Woodcock <rcw@debian.org>, cribbing heavily from Netcat's |