1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/devel/tinycbor/Makefile
2021-04-06 16:31:07 +02:00

35 lines
874 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= tinycbor
PORTVERSION= 0.5.3
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Concise Binary Object Representation (CBOR) library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcjson.so:devel/libcjson
INSTALL_TARGET= install-strip
MAKE_ARGS= SOVERSION=${PORTVERSION:R:R}
USES= gmake localbase pathfix
PLIST_SUB= PORTVERSION=${PORTVERSION}
GH_ACCOUNT= intel
GH_PROJECT= tinycbor
USE_GITHUB= yes
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}
.include <bsd.port.mk>