- Switch to USES=tar
- Pet portlint - Switch to options helpers
This commit is contained in:
parent
d3be5ca561
commit
00644457cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404924
1 changed files with 8 additions and 6 deletions
|
@ -7,7 +7,6 @@ PORTREVISION= 3
|
|||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= SF/${DISTNAME}/unix%20netcat%20${PORTVERSION}%20by%20_Hobbit_/%5BUnnamed%20release%5D
|
||||
DISTNAME= nc${PORTVERSION:S/.//}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
#PATCH_SITES= ftp://sith.mimuw.edu.pl/pub/users/baggins/IPv6/
|
||||
PATCH_SITES= GENTOO
|
||||
|
@ -17,11 +16,7 @@ PATCH_DIST_STRIP= -p1
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Simple utility which reads and writes data across network connections
|
||||
|
||||
OPTIONS_DEFINE= IPV6 TELNET GAPING DOCS
|
||||
OPTIONS_DEFAULT=IPV6 TELNET GAPING
|
||||
TELNET_DESC= Enable TELNET support
|
||||
GAPING_DESC= Enable GAPING_SECURITY_HOLE support
|
||||
|
||||
USES= tar:tgz
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
CFLAGS+= -D${OPSYS:tu}
|
||||
|
@ -30,6 +25,11 @@ LDFLAGS+= -static
|
|||
PORTDOCS= README
|
||||
PLIST_FILES= bin/netcat man/man1/netcat.1.gz
|
||||
|
||||
OPTIONS_DEFINE= IPV6 TELNET GAPING DOCS
|
||||
OPTIONS_DEFAULT=IPV6 TELNET GAPING
|
||||
TELNET_DESC= Enable TELNET support
|
||||
GAPING_DESC= Enable GAPING_SECURITY_HOLE support
|
||||
|
||||
IPV6_CFLAGS= -DINET6
|
||||
TELNET_CFLAGS= -DTELNET
|
||||
GAPING_CFLAGS= -DGAPING_SECURITY_HOLE
|
||||
|
@ -44,6 +44,8 @@ do-build:
|
|||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
|
|
Loading…
Reference in a new issue