mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
34c4a6789a
In addition to PR, convert USE_GMAKE and use new library callouts. PR: ports/185439 Submitted by: Andras JAKO Fixed by: maintainer (Mikhail Tsatsenko)
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# Created by: Mikhail T. <m.tsatsenko@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openvpn-auth-radius
|
|
PORTVERSION= 2.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.nongnu.org/radiusplugin/ \
|
|
http://svn-cache.ipcopaddons.org/
|
|
DISTNAME= radiusplugin_v${PORTVERSION}
|
|
|
|
MAINTAINER= m.tsatsenko@gmail.com
|
|
COMMENT= RADIUS authentication plugin for OpenVPN
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/sbin/openvpn:${PORTSDIR}/security/openvpn
|
|
LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt
|
|
|
|
USES= gmake
|
|
MAKEFILE= Makefile.bsd
|
|
WRKSRC= ${WRKDIR}/radiusplugin
|
|
|
|
PORTDOCS= README
|
|
PORTEXAMPLES= radiusplugin.cnf
|
|
PLIST_FILES= lib/radiusplugin.so
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
${INSTALL_LIB} ${WRKSRC}/radiusplugin.so ${STAGEDIR}${LOCALBASE}/lib
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/radiusplugin.cnf ${STAGEDIR}${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|