summaryrefslogtreecommitdiff
path: root/net/pathchar/Makefile
blob: 3fc8486c41b809d97406f3c3d95c3405c02173a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# ex:ts=8
# 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://people.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>