summaryrefslogtreecommitdiff
path: root/math/xplot/Makefile
blob: 3e5acffc1ac2b49f0c922f449a520e8320b108b3 (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
# New ports collection makefile for:	xplot
# Version required:	0.90
# Date created:		3 March 1997
# Whom:			fenner
#
# $Id: Makefile,v 1.2 1998/03/20 19:25:35 fenner Exp $
#

DISTNAME=	xplot-0.90
CATEGORIES=	math graphics net
MASTER_SITES=	ftp://mercury.lcs.mit.edu/pub/shep/

MAINTAINER=	fenner@FreeBSD.ORG

USE_X_PREFIX=	yes
GNU_CONFIGURE=	yes

XPLOT_DEMOS=	demo.0 demo.1 demo.2 demo.3 demo.4 demo.5 demo.6 demo.7

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/tcpdump2xplot.pl ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/xplot
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xplot
	${INSTALL_DATA} ${WRKSRC}/README.tcp_plots ${PREFIX}/share/doc/xplot
.endif
	${MKDIR} ${PREFIX}/share/examples/xplot
.for i in ${XPLOT_DEMOS}
	${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/examples/xplot
.endfor

.include <bsd.port.mk>