1999-11-04 08:33:27 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: pchar
|
|
|
|
# Version required: 1.0
|
|
|
|
# Date created: Wed Nov 03, 1999
|
|
|
|
# Whom: David O'Brien (obrien@NUXI.com)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-01-24 23:20:52 +00:00
|
|
|
DISTNAME= pchar-1.1.1
|
2000-01-18 12:34:34 +00:00
|
|
|
CATEGORIES= net ipv6
|
1999-11-04 08:33:27 +00:00
|
|
|
MASTER_SITES= http://www.ca.sandia.gov/~bmah/Software/pchar/
|
|
|
|
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2000-01-08 22:28:56 +00:00
|
|
|
.if defined(USE_INET6)
|
|
|
|
CONFIGURE_ARGS= --with-ipv6
|
|
|
|
.endif
|
1999-11-04 08:33:27 +00:00
|
|
|
MAN8= pchar.8
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pchar ${PREFIX}/sbin
|
|
|
|
@${PERL} -pi.orig -e 's/pchar 1/pchar 8/g' ${WRKSRC}/pchar.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/pchar.1 ${PREFIX}/man/man8/pchar.8
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/pchar
|
|
|
|
cd ${WRKSRC} ; ${INSTALL_DATA} README FAQ ${PREFIX}/share/doc/pchar
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|