08cb8c80d4
- Switch to options helpers
41 lines
882 B
Makefile
41 lines
882 B
Makefile
# Created by: Gabor Kovesdan
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= symbion-sslproxy
|
|
PORTVERSION= 1.0.5
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF/sslproxy/sslproxy/${PORTVERSION}
|
|
DISTNAME= sslproxy-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= SSL proxy for securing insecure connections
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= gmake ssl tar:tgz
|
|
CFLAGS+= -I${OPENSSLINC}
|
|
LDFLAGS+= -L${OPENSSLLIB}
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PORTDOCS= README
|
|
PLIST_FILES= sbin/ssl_proxy
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|^CC =|CC ?=| ; \
|
|
s|^LD =.*|LD = $$(CC)| ; \
|
|
s|^CFLAGS =|#CFLAGS =| ; \
|
|
s|^LDFLAGS =|#LDFLAGS =|' ${WRKSRC}/Makefile.global
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ssl_proxy ${STAGEDIR}${PREFIX}/sbin
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|