1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/net/ndisc6/Makefile
Tijl Coosemans 5144cdb253 - Fix FreeBSD 10 build. It uses an extension that clang does not support.
- Support staging.

PR:		ports/182752
Submitted by:	Mikhail Tsatsenko <m.tsatsenko@gmail.com> (maintainer)
2013-10-22 20:57:18 +00:00

52 lines
988 B
Makefile

# Created by: rdenis@simphalempin.com
# $FreeBSD$
PORTNAME= ndisc6
PORTVERSION= 1.0.2
PORTREVISION= 1
CATEGORIES= net ipv6
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
USE_BZIP2= yes
USE_GCC= any
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-suid-install
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= DOCS NLS
.include <bsd.port.options.mk>
.if ${OSVERSION} >= 803000
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-rdnssd-rdnssd.h
.endif
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
LDFLAGS+= -lintl
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
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>