diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-03-19 01:56:51 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-03-19 01:56:51 +0000 |
commit | 9c62826e7bd20a071f8f21a34bc04d275f33e202 (patch) | |
tree | d9f6517c26ab4235621a9a3ea16c72b567e134fb /archivers/zstd/Makefile | |
parent | - Update to 1.9.170312 (diff) |
Clean up Makefile
- Use BSD_INSTALL_*
- Cosmetic change
Notes
Notes:
svn path=/head/; revision=436464
Diffstat (limited to 'archivers/zstd/Makefile')
-rw-r--r-- | archivers/zstd/Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile index 2a6d861dbdbe..44a14af5d369 100644 --- a/archivers/zstd/Makefile +++ b/archivers/zstd/Makefile @@ -12,19 +12,16 @@ COMMENT= Zstandard - Fast real-time compression algorithm LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +ALL_TARGET= default +MAKE_ARGS= INCLUDEDIR="${PREFIX}/include" LIBDIR="${PREFIX}/lib" MANDIR="${PREFIX}/man/man1" USES= gmake -USE_GITHUB= yes + +PLIST_SUB= PORTVERSION=${PORTVERSION} + GH_ACCOUNT= facebook +USE_GITHUB= yes -PLIST_SUB= LIBVER=${PORTVERSION} -ALL_TARGET= default -MAKE_ARGS= MANDIR="${PREFIX}/man/man1" \ - LIBDIR="${PREFIX}/lib" \ - INCLUDEDIR="${PREFIX}/include" -MAKE_ENV= INSTALL_LIB="${INSTALL_LIB}" \ - INSTALL_MAN="${INSTALL_MAN}" \ - INSTALL_DATA="${INSTALL_DATA}" \ - INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ - INSTALL_PROGRAM="${INSTALL_PROGRAM}" +post-patch: + @${REINPLACE_CMD} -e 's|INSTALL_|BSD_&|' ${WRKSRC}/lib/Makefile ${WRKSRC}/programs/Makefile .include <bsd.port.mk> |