Skip to content

Commit

Permalink
devel/tinycbor: Simplify Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed May 11, 2021
1 parent 2c3d12a commit 7ac780e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions devel/tinycbor/Makefile
Expand Up @@ -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}

Expand All @@ -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>

0 comments on commit 7ac780e

Please sign in to comment.