blob: 07a8b408988513fe0cc5faa1994d60c929321bca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Created by: Sergey Matveychuk <sem@FreeBSD.org>
# $FreeBSD$
PORTNAME= dhcprelya
PORTVERSION= 4.7
CATEGORIES= net
MASTER_SITES= GH
MAINTAINER= sem@FreeBSD.org
COMMENT= Lightweight DHCP relay agent. Yandex edition
LICENSE= BSD
USE_GITHUB= yes
GH_ACCOUNT= sem-hub
GH_COMMIT= 6df4e97
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
NO_STAGE= yes
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#${PREFIX}#' ${WRKSRC}/Makefile
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
|