aboutsummaryrefslogtreecommitdiff
path: root/net/wlan2eth
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-21 09:03:40 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-21 09:03:40 +0000
commitbfbe14611f7a88ff39e64e9fbb82706d7aaaa249 (patch)
tree67b082a86fb598ac3f8d4da6f1a3b4761c9bf881 /net/wlan2eth
parent765cbad474cd8e93e2653158ce249a8ab374fc84 (diff)
downloadports-bfbe14611f7a88ff39e64e9fbb82706d7aaaa249.tar.gz
ports-bfbe14611f7a88ff39e64e9fbb82706d7aaaa249.zip
- Switch to USES=tar:tgz
- Switch to options helpers
Notes
Notes: svn path=/head/; revision=415586
Diffstat (limited to 'net/wlan2eth')
-rw-r--r--net/wlan2eth/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/net/wlan2eth/Makefile b/net/wlan2eth/Makefile
index b2a1d454d569..6d47dd22fc4e 100644
--- a/net/wlan2eth/Makefile
+++ b/net/wlan2eth/Makefile
@@ -6,20 +6,20 @@ PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= net security
MASTER_SITES= http://www.willhackforsushi.com/code/${PORTNAME}/
-EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert packet captures in 802.11 format to Ethernet format
LICENSE= GPLv2
-PORTDOCS= THANKS
-OPTIONS_DEFINE= DOCS
-
+USES= tar:tgz
SUB_FILES= pkg-message
+PORTDOCS= *
PLIST_FILES= bin/${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS ?=|' \
${WRKSRC}/Makefile
@@ -27,7 +27,8 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/THANKS ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>