Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2018 13:48:08 +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: r487238 - head/devel/mcpp
Message-ID:  <201812111348.wBBDm8ts086398@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Dec 11 13:48:07 2018
New Revision: 487238
URL: https://svnweb.freebsd.org/changeset/ports/487238

Log:
  - Add license
  - Add missing USE_LDCONFIG
  - Switch for pkg-plist for easier maintenance
  - Optionize DOCS
  - Don't install license with documentation
  
  Approved by:	portmgr blanket

Added:
  head/devel/mcpp/pkg-plist   (contents, props changed)
Modified:
  head/devel/mcpp/Makefile

Modified: head/devel/mcpp/Makefile
==============================================================================
--- head/devel/mcpp/Makefile	Tue Dec 11 13:33:40 2018	(r487237)
+++ head/devel/mcpp/Makefile	Tue Dec 11 13:48:07 2018	(r487238)
@@ -3,29 +3,21 @@
 
 PORTNAME=	mcpp
 PORTVERSION=	2.7.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/V.${PORTVERSION}
 
 MAINTAINER=	kmatsui@t3.rim.or.jp
 COMMENT=	Alternative C/C++ preprocessor
 
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 USES=		libtool
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-mcpplib
+USE_LDCONFIG=	yes
 
-PLIST_FILES=	bin/mcpp    \
-		lib/libmcpp.so	\
-		lib/libmcpp.so.0	\
-		lib/libmcpp.so.0.3.0	\
-		lib/libmcpp.a	\
-		include/mcpp_lib.h \
-		include/mcpp_out.h \
-		man/man1/mcpp.1.gz \
-		share/doc/mcpp/LICENSE  \
-		share/doc/mcpp/NEWS     \
-		share/doc/mcpp/README   \
-		share/doc/mcpp/mcpp-manual.html  \
-		share/doc/mcpp/mcpp-manual-jp.html
+OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.mk>

Added: head/devel/mcpp/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/mcpp/pkg-plist	Tue Dec 11 13:48:07 2018	(r487238)
@@ -0,0 +1,13 @@
+bin/mcpp
+include/mcpp_lib.h
+include/mcpp_out.h
+lib/libmcpp.a
+lib/libmcpp.so
+lib/libmcpp.so.0
+lib/libmcpp.so.0.3.0
+man/man1/mcpp.1.gz
+@comment %%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/mcpp-manual-jp.html
+%%PORTDOCS%%%%DOCSDIR%%/mcpp-manual.html



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