diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-05-11 21:14:29 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-05-11 21:46:58 +0000 |
commit | 7ac780ee21e564fe3e6e9a405b987837a59a30d9 (patch) | |
tree | 65a463103670d7c90de90ad375aa25e839aec6b2 | |
parent | 2c3d12aef7afd25f5630cb3db486cfdf43193dfa (diff) |
devel/tinycbor: Simplify Makefile
-rw-r--r-- | devel/tinycbor/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/tinycbor/Makefile b/devel/tinycbor/Makefile index 6dd2731946fb..f0321ab0945b 100644 --- a/devel/tinycbor/Makefile +++ b/devel/tinycbor/Makefile @@ -13,9 +13,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcjson.so:devel/libcjson +USES= gmake localbase pathfix + INSTALL_TARGET= install-strip MAKE_ARGS= SOVERSION=${PORTVERSION:R:R} -USES= gmake localbase pathfix PLIST_SUB= PORTVERSION=${PORTVERSION} @@ -27,8 +28,8 @@ do-configure: @cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} configure post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtinycbor.so.${PORTVERSION} ${LN} -fs libtinycbor.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libtinycbor.so ${LN} -fs libtinycbor.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libtinycbor.so.${PORTVERSION:R:R} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtinycbor.so .include <bsd.port.mk> |