mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: pathchar
|
|
# Version required: a0 (a.out systems), a1 (ELF systems)
|
|
# Date created: 7 November 1998
|
|
# Whom: Josh Gilliam <josh@quick.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= pathchar-a1-freebsd-3.0
|
|
PKGNAME= pathchar-a1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.ee.lbl.gov/pathchar/ \
|
|
http://www.caida.org/Tools/Pathchar/ \
|
|
http://www.fips.de/Computer/woman/ \
|
|
http://sitka.triumf.ca/net/ \
|
|
http://www.freebsd.org/~obrien/Distfiles/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} pathcharnotes.html pathchar.8 \
|
|
pathchar.mantxt
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
MAN8= pathchar.8
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
DISTNAME= pathchar-a0-freebsd-2.2
|
|
PKGNAME= pathchar-a0
|
|
.endif
|
|
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
pre-patch:
|
|
@${CP} ${DISTDIR}/pathchar.8 ${WRKSRC}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pathchar ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/pathchar.8 ${PREFIX}/man/man8
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/pathchar
|
|
${INSTALL_MAN} ${FILESDIR}/README.pathchar \
|
|
${DISTDIR}/pathcharnotes.html \
|
|
${DISTDIR}/pathchar.mantxt \
|
|
${PREFIX}/share/doc/pathchar
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|