diff options
-rw-r--r-- | devel/gflags/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/devel/gflags/Makefile b/devel/gflags/Makefile index 46cbeccf3e05..6f3e711deb8b 100644 --- a/devel/gflags/Makefile +++ b/devel/gflags/Makefile @@ -15,7 +15,7 @@ LICENSE= BSD3CLAUSE OPTIONS_DEFINE= DOCS GNU_CONFIGURE= yes -MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP} +INSTALL_TARGET= install-strip USE_LDCONFIG= yes USES= libtool pathfix shebangfix @@ -24,12 +24,10 @@ PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README README_windows.txt \ SHEBANG_FILES= src/gflags_completions.sh -.include <bsd.port.options.mk> - post-patch: - @${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 + @${REINPLACE_CMD} -e '/^docdir = / s| = .*| = ${DOCSDIR}|' ${WRKSRC}/Makefile.in + +regression-test test: build + cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check .include <bsd.port.mk> |