svn commit: r403727 - head/devel/libstatgrab
Tim Bishop
tdb at FreeBSD.org
Mon Dec 14 15:17:36 UTC 2015
Author: tdb
Date: Mon Dec 14 15:17:35 2015
New Revision: 403727
URL: https://svnweb.freebsd.org/changeset/ports/403727
Log:
- Convert to option helper variables
- Add LICENSE
PR: 205314
Submitted by: tgyurci at gmail.com
Modified:
head/devel/libstatgrab/Makefile
Modified: head/devel/libstatgrab/Makefile
==============================================================================
--- head/devel/libstatgrab/Makefile Mon Dec 14 14:51:10 2015 (r403726)
+++ head/devel/libstatgrab/Makefile Mon Dec 14 15:17:35 2015 (r403727)
@@ -11,6 +11,8 @@ MASTER_SITES= http://ftp.mirrorservice.o
MAINTAINER= tdb at FreeBSD.org
COMMENT= Provides a useful interface to system statistics
+LICENSE= LGPL21
+
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USES= pathfix pkgconfig libtool
@@ -21,17 +23,12 @@ OPTIONS_DEFINE= TOOLS DOCS
OPTIONS_DEFAULT= TOOLS
TOOLS_DESC= Build and install statgrab and saidar
+TOOLS_CONFIGURE_ENABLE= statgrab saidar
+TOOLS_USES= shebangfix perl5
+TOOLS_VARS= SHEBANG_FILES+="src/statgrab/statgrab-make-mrtg-config.in \
+ src/statgrab/statgrab-make-mrtg-index.in" \
+ LICENSE+=GPLv2 LICENSE_COMB=multi
OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MTOOLS}
-USES+= shebangfix perl5
-SHEBANG_FILES= src/statgrab/statgrab-make-mrtg-config.in \
- src/statgrab/statgrab-make-mrtg-index.in
-.else
-CONFIGURE_ARGS+= --disable-statgrab --disable-saidar
-.endif
-
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list