freebsd-ports/net/dhcprelya/Makefile

47 lines
948 B
Makefile
Raw Normal View History

2013-09-04 16:05:38 +02:00
# Created by: Sergey Matveychuk <sem@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= dhcprelya
2013-09-04 16:05:38 +02:00
PORTVERSION= 4.7
CATEGORIES= net
2013-09-04 16:05:38 +02:00
MASTER_SITES= GH
MAINTAINER= sem@FreeBSD.org
COMMENT= Lightweight DHCP relay agent. Yandex edition
LICENSE= BSD
2013-09-04 16:05:38 +02:00
USE_GITHUB= yes
GH_ACCOUNT= sem-hub
GH_COMMIT= 6df4e97
USE_RC_SUBR= dhcprelya
PORTDOCS= README
2009-06-17 14:57:04 +02:00
PLIST_FILES= sbin/${PORTNAME} lib/${PORTNAME}_log_plugin.so \
lib/${PORTNAME}_option82_plugin.so
2012-12-03 17:55:43 +01:00
# The modules use a new system libradius that is not committed yet
#OPTIONS_DEFINE= RADIUS_PLUGIN
RADIUS_PLUGIN_PLUGIN_DESC= build radius plugin
2009-06-17 14:57:04 +02:00
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRADIUS_PLUGIN}
2009-06-17 14:57:04 +02:00
PLIST_FILES+= lib/${PORTNAME}_radius_plugin.so
MAKE_ARGS= -DWITH_RADIUS_PLUGIN
.endif
2009-06-29 15:06:43 +02:00
post-patch:
@${REINPLACE_CMD} -e 's#/usr/local#${PREFIX}#' ${WRKSRC}/Makefile
post-install:
2013-09-04 16:10:56 +02:00
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>