summaryrefslogtreecommitdiffstats
path: root/security/symbion-sslproxy/Makefile
blob: 04e374ce07bc60818a1d7bcb9181b958ed9d7003 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Ports collection Makefile for:	symbion-sslproxy
# Date created:				10 Dec 2005
# Whom:					Gabor Kovesdan
# $FreeBSD$

PORTNAME=	symbion-sslproxy
PORTVERSION=	1.0.5
CATEGORIES=	security
MASTER_SITES=	SF/sslproxy/sslproxy/${PORTVERSION}
DISTNAME=	sslproxy-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	An SSL proxy for securing unsecure connections

USE_OPENSSL=	YES
USE_GMAKE=	YES
PLIST_FILES=	sbin/ssl_proxy
SUB_FILES+=	pkg-message

.include <bsd.port.pre.mk>

.if !defined(NOPORTDOCS)
PORTDOCS=	README
.endif

post-patch:
	${REINPLACE_CMD} -e 's|CC =|CC ?=|' \
			-e 's|CFLAGS =|CFLAGS +=|' ${WRKSRC}/Makefile.global

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ssl_proxy ${PREFIX}/sbin

.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

post-install:
	${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud