1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net/dhcpcd/Makefile
Ben Woods 9a0d382b9c net/dhcpcd: Update to 9.1.2
Also disable udev support in CONFIGURE_ARGS, given that FreeBSD has
the function udev_device_new_from_subsystem_sysname if the module
libudev-devd is installed, but it is not implemented.

PR:		247144
Reported by:	Greg V <greg@unrelenting.technology>
Reviewed by:	Roy Marples <roy@marples.name>
2020-06-16 12:52:57 +00:00

34 lines
772 B
Makefile

# Created by: Roy Marples <roy@marples.name>
# $FreeBSD$
PORTNAME= dhcpcd
PORTVERSION= 9.1.2
CATEGORIES= net
MASTER_SITES= https://roy.marples.name/downloads/dhcpcd/ \
https://cflags.cc/roy/dhcpcd/
MAINTAINER= woodsb02@FreeBSD.org
COMMENT= DHCP/IPv4LL/IPv6RS/DHCPv6 client
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
CONFLICTS_INSTALL= dhcpcd-devel
USES= compiler:c11 cpe tar:xz
CPE_VENDOR= dhcpcd_project
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share/examples \
--privsepuser="_dhcp" \
--without-udev
USE_RC_SUBR= dhcpcd
post-install:
${MV} ${STAGEDIR}${PREFIX}/etc/dhcpcd.conf \
${STAGEDIR}${PREFIX}/share/examples/dhcpcd
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/dhcpcd
${MKDIR} ${STAGEDIR}/var/db/dhcpcd
.include <bsd.port.mk>