diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-11-07 03:28:08 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-11-07 03:28:08 +0800 |
commit | a13bc59fe42d92b412756067fd9a7186a768a55f (patch) | |
tree | 2cc62a828a39c2492b228eaf7368871462612b60 | |
parent | a2f39cd08165971eae8c2d5d83b3e69d11395e4d (diff) | |
download | freebsd-ports-gnome-a13bc59fe42d92b412756067fd9a7186a768a55f.tar.gz freebsd-ports-gnome-a13bc59fe42d92b412756067fd9a7186a768a55f.tar.zst freebsd-ports-gnome-a13bc59fe42d92b412756067fd9a7186a768a55f.zip |
- Strip shared library
- Use USES=shebangfix
- Support STAGEDIR
- Cleanup Makefile
-rw-r--r-- | devel/gflags/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/devel/gflags/Makefile b/devel/gflags/Makefile index 69f74b767a01..38fb9876ad1b 100644 --- a/devel/gflags/Makefile +++ b/devel/gflags/Makefile @@ -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 |