svn commit: r418307 - head/net/wol

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Jul 10 09:00:11 UTC 2016


Author: amdmi3
Date: Sun Jul 10 09:00:10 2016
New Revision: 418307
URL: https://svnweb.freebsd.org/changeset/ports/418307

Log:
  - Add LICENSE
  - Switch to USES=localbase
  - Switch to options helpers

Modified:
  head/net/wol/Makefile

Modified: head/net/wol/Makefile
==============================================================================
--- head/net/wol/Makefile	Sun Jul 10 08:06:30 2016	(r418306)
+++ head/net/wol/Makefile	Sun Jul 10 09:00:10 2016	(r418307)
@@ -10,11 +10,12 @@ MASTER_SITES=	SF/ahh/OldFiles
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Tool to wake up Wake-On-LAN compliant computers
 
-USES=		perl5
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		localbase perl5
 GNU_CONFIGURE=	yes
 USE_PERL5=	build
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 
 INFO=		wol
 DOCS=		AUTHORS NEWS README TODO
@@ -25,7 +26,7 @@ OPTIONS_SUB=	yes
 NLS_USES=	gettext iconv
 NLS_CONFIGURE_OFF=	--disable-nls
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 


More information about the svn-ports-all mailing list