# $FreeBSD$ PORTNAME= pfSense-pkg-openvpn-client-export PORTVERSION= 1.4.14 CATEGORIES= security MASTER_SITES= # empty DISTFILES= # empty EXTRACT_ONLY= # empty MAINTAINER= coreteam@pfsense.org COMMENT= pfSense package openvpn-client-export LICENSE= APACHE20 RUN_DEPENDS= openvpn>=2.4.3:security/openvpn \ openvpn-client-export>=2.4.4:security/openvpn-client-export \ zip>0:archivers/zip \ p7zip>0:archivers/p7zip NO_BUILD= yes NO_MTREE= yes SUB_FILES= pkg-install pkg-deinstall SUB_LIST= PORTNAME=${PORTNAME} do-extract: ${MKDIR} ${WRKSRC} do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/pkg ${MKDIR} ${STAGEDIR}${PREFIX}/www ${MKDIR} ${STAGEDIR}/etc/inc/priv ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} -m 0644 ${FILESDIR}${PREFIX}/pkg/openvpn-client-export.xml \ ${STAGEDIR}${PREFIX}/pkg ${INSTALL_DATA} ${FILESDIR}${PREFIX}/pkg/openvpn-client-export.inc \ ${STAGEDIR}${PREFIX}/pkg ${INSTALL_DATA} ${FILESDIR}${PREFIX}/www/vpn_openvpn_export.php \ ${STAGEDIR}${PREFIX}/www ${INSTALL_DATA} ${FILESDIR}${PREFIX}/www/vpn_openvpn_export_shared.php \ ${STAGEDIR}${PREFIX}/www ${INSTALL_DATA} ${FILESDIR}/etc/inc/priv/openvpnexport.inc \ ${STAGEDIR}/etc/inc/priv ${INSTALL_DATA} ${FILESDIR}${DATADIR}/info.xml \ ${STAGEDIR}${DATADIR} @${REINPLACE_CMD} -i '' -e "s|%%PKGVERSION%%|${PKGVERSION}|" \ ${STAGEDIR}${DATADIR}/info.xml .include