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

PORTNAME=	kovpn
PORTVERSION=	0.3
PORTREVISION=	10
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:env automake:env libtool

AUTOTOOLSFILES=	admin/cvs.sh

.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>