aboutsummaryrefslogtreecommitdiff
path: root/net/pchar/Makefile
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/Makefile
parentc34477283d57b0b5806d1ddd158bf6c582482d5f (diff)
downloadports-3d2d68aed144abb98606a906f2ab7acc9bad27db.tar.gz
ports-3d2d68aed144abb98606a906f2ab7acc9bad27db.zip
Notes
Diffstat (limited to 'net/pchar/Makefile')
-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>