pkgsrc/net/dhcpcd/Makefile

27 lines
734 B
Makefile

# $NetBSD: Makefile,v 1.35 2014/07/14 14:10:35 roy Exp $
#
DISTNAME= dhcpcd-6.4.2
CATEGORIES= net
MASTER_SITES= ftp://roy.marples.name/pub/dhcpcd/
MASTER_SITES+= http://roy.aydogan.net/dhcpcd/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= roy@NetBSD.org
HOMEPAGE= http://roy.marples.name/projects/dhcpcd/
COMMENT= RFC2131 compliant DHCP client
LICENSE= modified-bsd
USE_LANGUAGES= c99
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-hooks=ntp
EGDIR= ${PREFIX}/share/examples
INSTALL_MAKE_FLAGS+= SYSCONFDIR=${EGDIR}
CONF_FILES+= ${EGDIR}/dhcpcd.conf ${PKG_SYSCONFDIR}/dhcpcd.conf
RCD_SCRIPTS+= dhcpcd
.include "../../mk/bsd.pkg.mk"