1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/security/openvpn-auth-radius/Makefile
Koichiro Iwao 05aaf43c5a security/openvpn-auth-radius: fix build on 11.2-RELEASE
PR:		229456
Submitted by:	nicolas@deffayet.com
Approved by:	maintainer, pi (mentor)
MFC after:	2018Q3
Sponsored by:		HAW International, Inc.
Differential Revision:	https://reviews.freebsd.org/D16135
2018-07-09 08:36:02 +00:00

43 lines
1.0 KiB
Makefile

# Created by: Mikhail T. <m.tsatsenko@gmail.com>
# $FreeBSD$
PORTNAME= openvpn-auth-radius
PORTVERSION= 2.1
PORTREVISION= 4
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:security/openvpn
LIB_DEPENDS= libgcrypt.so:security/libgcrypt
USES= gmake
MAKEFILE= Makefile.bsd
WRKSRC= ${WRKDIR}/radiusplugin
PORTDOCS= README
PORTEXAMPLES= radiusplugin.cnf
PLIST_FILES= lib/radiusplugin.so
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.pre.mk>
do-install:
${INSTALL_LIB} ${WRKSRC}/radiusplugin.so ${STAGEDIR}${LOCALBASE}/lib
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/radiusplugin.cnf ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.post.mk>