freebsd-ports/security/hitch/Makefile
Ryan Steinmetz 32f57c225b - Update to 1.5.0
- Add OCSP stapling smarts to port [1]

PR:		232436 [1]
Submitted by:	Graham Percival [1]
2018-12-20 21:07:47 +00:00

40 lines
1 KiB
Makefile

# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= hitch
PORTVERSION= 1.5.0
CATEGORIES= security
MASTER_SITES= http://hitch-tls.org/source/ \
ZI
MAINTAINER= zi@FreeBSD.org
COMMENT= TLS proxy to forward connections to an unencrypted backend
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= rst2man:textproc/py-docutils
LIB_DEPENDS= libev.so:devel/libev
USERS= hitch
GROUPS= hitch
USES= pkgconfig ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var/run
CONFIGURE_ENV= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB}" \
SSL_CFLAGS="-I${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB}"
USE_RC_SUBR= ${PORTNAME}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lcrypto -lssl
CACHE_DIR?= /var/cache/hitch
PLIST_SUB= CACHE_DIR=${CACHE_DIR}
SUB_LIST+= CACHE_DIR="${CACHE_DIR}"
SUB_FILES= ${PORTNAME}.conf.sample
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc ${STAGEDIR}${CACHE_DIR}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/
.include <bsd.port.mk>