Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2014 18:16:05 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375058 - head/devel/glog
Message-ID:  <201412201816.sBKIG5fe061078@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Dec 20 18:16:04 2014
New Revision: 375058
URL: https://svnweb.freebsd.org/changeset/ports/375058
QAT: https://qat.redports.org/buildarchive/r375058/

Log:
  - Add LICENSE
  - Strip shared library
  - Sort USES
  - Use PORTDOCS
  - Simplify Makefile
  - Cosmetic change
  - Take maintainership

Modified:
  head/devel/glog/Makefile
  head/devel/glog/pkg-plist

Modified: head/devel/glog/Makefile
==============================================================================
--- head/devel/glog/Makefile	Sat Dec 20 18:15:57 2014	(r375057)
+++ head/devel/glog/Makefile	Sat Dec 20 18:16:04 2014	(r375058)
@@ -7,31 +7,30 @@ PORTREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	GOOGLE_CODE
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Library of C++ classes for flexible logging
 
+LICENSE=	BSD3CLAUSE
+
 LIB_DEPENDS=	libgflags.so:${PORTSDIR}/devel/gflags
 
-GNU_CONFIGURE=	yes
-USES=		execinfo pathfix libtool
-USE_LDCONFIG=	yes
-PROJECTHOST=	google-glog
+OPTIONS_DEFINE=	DOCS
 
 CPPFLAGS+=	-I${LOCALBASE}/include
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
 LDFLAGS+=	-L${LOCALBASE}/lib -lexecinfo
+USE_LDCONFIG=	yes
+USES=		execinfo libtool pathfix
 
-OPTIONS_DEFINE=	DOCS
+PORTDOCS=	*
 
-.include <bsd.port.pre.mk>
+PROJECTHOST=	google-glog
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|^docdir.*|docdir = ${DOCSDIR}|' ${WRKSRC}/Makefile.in
-.if ! ${PORT_OPTIONS:MDOCS}
-	@${REINPLACE_CMD} -E -e '/^install-data-am/,/^$$/ s,install-(dist_doc|dist_html|html)DATA,,g' \
-	    ${WRKSRC}/Makefile.in
-.endif
+	@${REINPLACE_CMD} -e '/^docdir = / s| = .*| = ${DOCSDIR}|' ${WRKSRC}/Makefile.in
 
-regression-test:
-	cd ${WRKSRC}; ${MAKE} check
+regression-test test: build
+	cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/glog/pkg-plist
==============================================================================
--- head/devel/glog/pkg-plist	Sat Dec 20 18:15:57 2014	(r375057)
+++ head/devel/glog/pkg-plist	Sat Dec 20 18:16:04 2014	(r375058)
@@ -8,12 +8,3 @@ lib/libglog.so
 lib/libglog.so.0
 lib/libglog.so.0.0.0
 libdata/pkgconfig/libglog.pc
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.windows
-%%PORTDOCS%%%%DOCSDIR%%/designstyle.css
-%%PORTDOCS%%%%DOCSDIR%%/glog.html



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