blob: 9e327a6891c96e25aa536e245ecc5a3e35f50df8 (
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
45
|
# Created by: Remington Lang <MrL0Lz@gmail.com>
# $FreeBSD$
PORTNAME= openvpn-admin
PORTVERSION= 1.9.4
DISTVERSIONSUFFIX= -2
PORTREVISION= 6
CATEGORIES= security gnome
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/release-${PORTVERSION}
MAINTAINER= egypcio@googlemail.com
COMMENT= GUI frontend to openvpn
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= openvpn:security/openvpn
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_ARCH= yes
PORTSCOUT= ignore
USES= gettext gmake pkgconfig
USE_GNOME= gtksharp20 intltool
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's,/usr/bin/iconv,${LOCALBASE}/bin/iconv,g' \
${WRKSRC}/intltool-merge.in
@${REINPLACE_CMD} -e 's,/etc/openvpn,${PREFIX}/etc/openvpn,' \
${WRKSRC}/src/Configuration.cs
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/openvpn-admin ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/openvpn-admin.desktop \
${STAGEDIR}${PREFIX}/share/applications
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/src/openvpn-admin.exe \
${STAGEDIR}${PREFIX}/lib/${PORTNAME}
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/openvpn
.include <bsd.port.mk>
|