1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/www/libjwt/Makefile
2016-10-14 13:45:47 +00:00

34 lines
722 B
Makefile

# Created by: Kevin Lo <kevlo@FreeBSD.org>
# $FreeBSD$
PORTNAME= libjwt
PORTVERSION= 1.5.1
DISTVERSIONPREFIX= v
CATEGORIES= www
MAINTAINER= kevlo@FreeBSD.org
COMMENT= JSON Web Token implementation in C
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
LIB_DEPENDS= libcheck.so:devel/libcheck \
libjansson.so:devel/jansson
USE_GITHUB= yes
GH_ACCOUNT= benmcollins
USES= autoreconf 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>