freebsd-ports/net/dhcprelya/Makefile
John Marino 62ab731bf0 net/dhcprelya: correct license, BSD-4 => BSD-3-clause
The previous commit incorrectly listed the license as 4-clause BSD.  The
error probably came from the clauses being listed as 1, 2, 4.  Revbump!

PR:		190932
Reported by:	eadler
2014-06-18 22:24:02 +00:00

49 lines
1 KiB
Makefile

# Created by: Sergey Matveychuk <sem@FreeBSD.org>
# $FreeBSD$
PORTNAME= dhcprelya
PORTVERSION= 4.8
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= sem@FreeBSD.org
COMMENT= Lightweight DHCP relay agent. Yandex edition
LICENSE= BSD3CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= sem-hub
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= 32d3356
USE_RC_SUBR= dhcprelya
PORTDOCS= README
PLIST_FILES= sbin/${PORTNAME} lib/${PORTNAME}_log_plugin.so \
lib/${PORTNAME}_option82_plugin.so
# The modules use a new system libradius that is not committed yet
#OPTIONS_DEFINE= RADIUS_PLUGIN
RADIUS_PLUGIN_PLUGIN_DESC= build radius plugin
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRADIUS_PLUGIN}
PLIST_FILES+= lib/${PORTNAME}_radius_plugin.so
MAKE_ARGS= -DWITH_RADIUS_PLUGIN
.endif
post-patch:
@${REINPLACE_CMD} -e 's#/usr/local#${STAGEDIR}/${PREFIX}#' \
${WRKSRC}/Makefile
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}/${DOCSDIR}
.endif
.include <bsd.port.mk>