aboutsummaryrefslogtreecommitdiff
path: root/security/symbion-sslproxy/Makefile
blob: 64a37b587378b8cb9c6e2557d547a9810a8d976c (plain) (blame)
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
# Created by: 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=	SSL proxy for securing insecure connections

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

NO_STAGE=	yes
.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>