Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 2015 15:17:35 +0000 (UTC)
From:      Tim Bishop <tdb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403727 - head/devel/libstatgrab
Message-ID:  <201512141517.tBEFHZfn027281@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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>



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