summaryrefslogtreecommitdiff
path: root/net/pchar
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-26 18:45:36 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-26 18:45:36 +0000
commit3d2d68aed144abb98606a906f2ab7acc9bad27db (patch)
tree5bd28ae6df08627f7a1b89dda53846050887d374 /net/pchar
parentList CVS files in IGNOREFILES so they will be properly deleted by "distclean". (diff)
- Fix installation failure
- Use ${OSVERSION} instead of ${USE_INET6} PR: 16376 Partly Submitted by: Nickolay Dudorov <nnd@mail.nsk.ru> Approved by: obrien
Notes
Notes: svn path=/head/; revision=25096
Diffstat (limited to 'net/pchar')
-rw-r--r--net/pchar/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/pchar/Makefile b/net/pchar/Makefile
index 16d1ffcf2e3a..cd03b2752cbf 100644
--- a/net/pchar/Makefile
+++ b/net/pchar/Makefile
@@ -14,18 +14,18 @@ MASTER_SITES= http://www.ca.sandia.gov/~bmah/Software/pchar/
MAINTAINER= obrien@FreeBSD.org
GNU_CONFIGURE= yes
-.if defined(USE_INET6)
+MAN8= pchar.8
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400014
CONFIGURE_ARGS= --with-ipv6
.endif
-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)
+post-install:
@${MKDIR} ${PREFIX}/share/doc/pchar
cd ${WRKSRC} ; ${INSTALL_DATA} README FAQ ${PREFIX}/share/doc/pchar
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>