Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2016 09:03:41 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415586 - head/net/wlan2eth
Message-ID:  <201605210903.u4L93fgf070078@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat May 21 09:03:40 2016
New Revision: 415586
URL: https://svnweb.freebsd.org/changeset/ports/415586

Log:
  - Switch to USES=tar:tgz
  - Switch to options helpers

Modified:
  head/net/wlan2eth/Makefile

Modified: head/net/wlan2eth/Makefile
==============================================================================
--- head/net/wlan2eth/Makefile	Sat May 21 06:20:14 2016	(r415585)
+++ head/net/wlan2eth/Makefile	Sat May 21 09:03:40 2016	(r415586)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605210903.u4L93fgf070078>