Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2013 19:28:09 +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: r333034 - head/devel/gflags
Message-ID:  <201311061928.rA6JS9QW011406@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Nov  6 19:28:08 2013
New Revision: 333034
URL: http://svnweb.freebsd.org/changeset/ports/333034

Log:
  - Strip shared library
  - Use USES=shebangfix
  - Support STAGEDIR
  - Cleanup Makefile

Modified:
  head/devel/gflags/Makefile

Modified: head/devel/gflags/Makefile
==============================================================================
--- head/devel/gflags/Makefile	Wed Nov  6 19:06:09 2013	(r333033)
+++ head/devel/gflags/Makefile	Wed Nov  6 19:28:08 2013	(r333034)
@@ -14,21 +14,20 @@ LICENSE=	BSD
 OPTIONS_DEFINE=	DOCS
 
 GNU_CONFIGURE=	yes
+MAKE_ENV=	INSTALL_STRIP_FLAG=${STRIP}
 USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
-USES=		pathfix
+USES=		pathfix shebangfix
 
 PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL NEWS README README_windows.txt \
 		designstyle.css gflags.html
 
-NO_STAGE=	yes
+SHEBANG_FILES=	src/gflags_completions.sh
+
 .include <bsd.port.options.mk>
 
 post-patch:
-	@${REINPLACE_CMD} \
-		-e 's|^\(docdir = \).*|\1${DOCSDIR}|' \
-		-e 's|^\(pkgconfigdir = \).*|\1$$(DESTDIR)$$(prefix)/libdata/pkgconfig|' \
-			${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's|^\(docdir = \).*|\1${DOCSDIR}|' ${WRKSRC}/Makefile.in
 .if !${PORT_OPTIONS:MDOCS}
 	@${REINPLACE_CMD} -e '/^install-data-am: / s| install-dist_docDATA||' ${WRKSRC}/Makefile.in
 .endif



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