2016-09-23 06:08:42 +00:00
|
|
|
# Created by: Kevin Lo <kevlo@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libjwt
|
2018-01-21 01:35:58 +00:00
|
|
|
PORTVERSION= 1.9.0
|
2016-09-23 06:08:42 +00:00
|
|
|
DISTVERSIONPREFIX= v
|
|
|
|
CATEGORIES= www
|
|
|
|
|
2018-01-12 11:21:07 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2016-09-23 06:08:42 +00:00
|
|
|
COMMENT= JSON Web Token implementation in C
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
|
|
|
|
|
2017-02-05 11:14:37 +00:00
|
|
|
LIB_DEPENDS= libcheck.so:devel/check \
|
2016-09-23 06:08:42 +00:00
|
|
|
libjansson.so:devel/jansson
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= benmcollins
|
|
|
|
|
2016-11-06 14:42:50 +00:00
|
|
|
USES= autoreconf gmake libtool pkgconfig ssl
|
2016-09-23 06:08:42 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2016-10-14 13:45:47 +00:00
|
|
|
CONFIGURE_ENV= OPENSSL_CFLAGS="-I/usr/include" \
|
|
|
|
OPENSSL_LIBS="-lcrypto -lssl"
|
|
|
|
|
2016-09-23 06:08:42 +00:00
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
2016-10-14 13:45:47 +00:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|^pkgconfiglibdir.*|pkgconfiglibdir = ${PREFIX}/libdata/pkgconfig|g' \
|
|
|
|
${WRKSRC}/libjwt/Makefile.am
|
|
|
|
|
2016-09-23 06:08:42 +00:00
|
|
|
.include <bsd.port.mk>
|