freebsd-ports/net/ndisc6/Makefile
Rong-En Fan f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00

39 lines
873 B
Makefile

# New ports collection makefile for: ndisc6
# Date created: 12 July 2006
# Whom: rdenis@simphalempin.com
#
# $FreeBSD$
#
PORTNAME= ndisc6
PORTVERSION= 0.7.2
CATEGORIES= net ipv6
MASTER_SITES= http://www.remlab.net/files/ndisc6/archive/ \
http://people.via.ecp.fr/~rem/www.remlab.net/files/ndisc6/archive/
MAINTAINER= rdenis@simphalempin.com
COMMENT= IPv6 network diagnostic tools
USE_BZIP2= yes
USE_GETOPT_LONG=yes
USE_GCC= 3.2+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-suid-install
MAN1= tcpspray6.1 addrinfo.1 dnssort.1
MAN8= ndisc6.8 rdisc6.8 rltraceroute6.8
MLINKS= rltraceroute6.8 tcptraceroute6.8 \
rltraceroute6.8 tracert6.8 \
addrinfo.1 nameinfo.1
PORTDOCS= AUTHORS NEWS README
post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>