1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/www/libjwt/Makefile
2018-01-21 01:35:58 +00:00

34 lines
725 B
Makefile

# Created by: Kevin Lo <kevlo@FreeBSD.org>
# $FreeBSD$
PORTNAME= libjwt
PORTVERSION= 1.9.0
DISTVERSIONPREFIX= v
CATEGORIES= www
MAINTAINER= ports@FreeBSD.org
COMMENT= JSON Web Token implementation in C
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
LIB_DEPENDS= libcheck.so:devel/check \
libjansson.so:devel/jansson
USE_GITHUB= yes
GH_ACCOUNT= benmcollins
USES= autoreconf gmake libtool pkgconfig ssl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= OPENSSL_CFLAGS="-I/usr/include" \
OPENSSL_LIBS="-lcrypto -lssl"
INSTALL_TARGET= install-strip
post-patch:
${REINPLACE_CMD} -e 's|^pkgconfiglibdir.*|pkgconfiglibdir = ${PREFIX}/libdata/pkgconfig|g' \
${WRKSRC}/libjwt/Makefile.am
.include <bsd.port.mk>