aboutsummaryrefslogtreecommitdiff
path: root/security/symbion-sslproxy/Makefile
blob: ba5a6b5adf291d270f24708ffbc7a4426cbfbf6f (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
42
43
# 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=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	sslproxy
DISTNAME=	sslproxy-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	gkovesdan@t-hosting.hu
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>