aboutsummaryrefslogtreecommitdiffstats
path: root/security/openvpn-admin
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-07-08 02:31:23 +0800
committerpawel <pawel@FreeBSD.org>2014-07-08 02:31:23 +0800
commita94dd8a5d651856b107330e903b00708396b83d6 (patch)
treef263687f5bbaa8e427f03e15b379dcc3ab20e31a /security/openvpn-admin
parent91a6339d486ed3f3d87a0c476d3fc53b547697eb (diff)
downloadfreebsd-ports-gnome-a94dd8a5d651856b107330e903b00708396b83d6.tar.gz
freebsd-ports-gnome-a94dd8a5d651856b107330e903b00708396b83d6.tar.zst
freebsd-ports-gnome-a94dd8a5d651856b107330e903b00708396b83d6.zip
Add staging support
Diffstat (limited to 'security/openvpn-admin')
-rw-r--r--security/openvpn-admin/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/security/openvpn-admin/Makefile b/security/openvpn-admin/Makefile
index 95be43f4a5bb..7ae7eb0ce987 100644
--- a/security/openvpn-admin/Makefile
+++ b/security/openvpn-admin/Makefile
@@ -20,7 +20,6 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
.include <bsd.port.pre.mk>
post-patch:
@@ -30,10 +29,12 @@ post-patch:
${WRKSRC}/src/Configuration.cs
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/openvpn-admin ${PREFIX}/sbin
- ${INSTALL_DATA} ${WRKSRC}/openvpn-admin.desktop ${PREFIX}/share/applications/
- ${MKDIR} ${PREFIX}/lib/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/src/openvpn-admin.exe ${PREFIX}/lib/${PORTNAME}
- ${MKDIR} ${PREFIX}/etc/openvpn
+ ${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.post.mk>