freebsd-ports/net/ndisc6/Makefile

43 lines
898 B
Makefile

# Created by: rdenis@simphalempin.com
# $FreeBSD$
PORTNAME= ndisc6
PORTVERSION= 1.0.4
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.remlab.net/files/ndisc6/ \
http://people.via.ecp.fr/~rem/www.remlab.net/files/ndisc6/
MAINTAINER= m.tsatsenko@gmail.com
COMMENT= IPv6 network diagnostic tools
LICENSE= GPLv2
USES= compiler:c11 perl5 tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-suid-install --localstatedir="${PREFIX}/var"
CONFIGURE_ENV= PERL=${LOCALBASE}/bin/perl
MAKE_ENV= CHOWNPROG=:
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
NLS_LDFLAGS= -lintl
USE_RC_SUBR= rdnssd
PORTDOCS= AUTHORS NEWS README
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>