freebsd-ports/security/openvpn-auth-radius/Makefile
Andrej Zverev 43b2f3f94d - Fix typos (LICENSE is correct form inside bsd.licenses.mk).
- Removed LICENSE_FILE where is no need in this.

Spotted by:	zont@
Approved by:	portmgr (bapt@)
2012-10-02 16:40:40 +00:00

46 lines
1 KiB
Makefile

# New ports collection makefile for: security/openvpn-auth-radius
# Date created: 2011-03-04
# Whom: Mikhail T. <m.tsatsenko@gmail.com>
#
# $FreeBSD$
#
PORTNAME= openvpn-auth-radius
PORTVERSION= 2.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
RUN_DEPENDS= openvpn:${PORTSDIR}/security/openvpn
LIB_DEPENDS= gcrypt.18:${PORTSDIR}/security/libgcrypt
LICENSE= GPLv2
USE_GMAKE= yes
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 ${LOCALBASE}/lib
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/radiusplugin.cnf ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>