aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-07-10 17:00:10 +0800
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-07-10 17:00:10 +0800
commit425f6043d83dd3e508e481016c162e8bfe9863f1 (patch)
treee79df7f00b84d053df0f35261acc15b9c0198403
parent5b81d30bc0bbdb2c36a78186f6c5c6c01cbbc35c (diff)
downloadfreebsd-ports-gnome-425f6043d83dd3e508e481016c162e8bfe9863f1.tar.gz
freebsd-ports-gnome-425f6043d83dd3e508e481016c162e8bfe9863f1.tar.zst
freebsd-ports-gnome-425f6043d83dd3e508e481016c162e8bfe9863f1.zip
- Add LICENSE
- Switch to USES=localbase - Switch to options helpers
-rw-r--r--net/wol/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/net/wol/Makefile b/net/wol/Makefile
index ac9d2845d1e2..abc9e6cf0be8 100644
--- a/net/wol/Makefile
+++ b/net/wol/Makefile
@@ -10,11 +10,12 @@ MASTER_SITES= SF/ahh/OldFiles
MAINTAINER= ports@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}