aboutsummaryrefslogtreecommitdiff
path: root/security/kovpn/Makefile
blob: 5d60587746a80974f6ce7226960c687e45531fec (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
# New ports collection makefile for:	kovpn
# Date created:				13 April 2006
# Whom:					anderson@cnpm.embrapa.br
#
# $FreeBSD$
#

PORTNAME=	kovpn
PORTVERSION=	0.3
PORTREVISION=	9
CATEGORIES=	security kde
MASTER_SITES=	https://projects.fslab.de/projects/kovpn/chrome/site/
DISTNAME=	${PORTNAME}-${PORTVERSION}.pre7

MAINTAINER=	anderson@cnpm.embrapa.br
COMMENT=	A simple GUI for OpenVPN clients

RUN_DEPENDS=	openvpn:${PORTSDIR}/security/openvpn

WRKSRC=		${WRKDIR}/${DISTNAME}

USE_BZIP2=	yes
USE_KDELIBS_VER=3
PREFIX=		${KDE_PREFIX}
USE_GETTEXT=	yes
INSTALLS_ICONS=	yes
USE_GMAKE=	yes
USE_XORG=	xpm
GNU_CONFIGURE=	yes
USE_AUTOTOOLS=	autoconf:267:env automake:111:env libtool:22

.include <bsd.port.pre.mk>

pre-configure:
	@cd ${WRKSRC}/admin && ${RM} -f ltmain.sh && ${CP} -f ${LTMAIN} .
	@cd ${WRKSRC} && ${GMAKE} -f admin/Makefile.common

post-install:
	${MKDIR} ${PREFIX}/share/doc/kovpn; \
	${CP} ${FILESDIR}/README ${PREFIX}/share/doc/kovpn

.include <bsd.port.post.mk>