svn commit: r310782 - head/devel/gflags
Yen-Ming Lee
leeym at FreeBSD.org
Mon Jan 21 20:47:04 UTC 2013
Author: leeym
Date: Mon Jan 21 20:47:03 2013
New Revision: 310782
URL: http://svnweb.freebsd.org/changeset/ports/310782
Log:
- update to new header
- convert to OptionsNG
Modified:
head/devel/gflags/Makefile
Modified: head/devel/gflags/Makefile
==============================================================================
--- head/devel/gflags/Makefile Mon Jan 21 20:08:05 2013 (r310781)
+++ head/devel/gflags/Makefile Mon Jan 21 20:47:03 2013 (r310782)
@@ -1,7 +1,4 @@
-# New ports collection makefile for: gflags
-# Date created: 19 December 2006
-# Whom: Yen-Ming Lee <leeym at FreeBSD.org>
-#
+# Created by: Yen-Ming Lee <leeym at FreeBSD.org>
# $FreeBSD$
#
@@ -21,11 +18,13 @@ GNU_CONFIGURE= yes
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README README_windows.txt \
designstyle.css gflags.html
+.include <bsd.port.options.mk>
+
post-patch:
${REINPLACE_CMD} -e 's|\(pkgconfigdir = \).*|\1$$\(DESTDIR\)$$\(prefix\)/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e 's|^docdir.*|docdir = ${DOCSDIR}|' ${WRKSRC}/Makefile.in
-.if defined(NOPORTDOCS)
+.if ! ${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e '/^install/s/ install-dist_docDATA//' ${WRKSRC}/Makefile.in
.endif
More information about the svn-ports-all
mailing list