aboutsummaryrefslogtreecommitdiffstats
path: root/math/xplot/Makefile
blob: 271c36b723a103453f60006b19e0f92542c8dcb9 (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
# New ports collection makefile for:    xplot
# Date created:     3 March 1997
# Whom:         fenner
#
# $FreeBSD$
#

PORTNAME=   xplot
PORTVERSION=    0.90.7.1
PORTREVISION=   3
CATEGORIES= math graphics net
MASTER_SITES=   http://www.xplot.org/xplot/

MAINTAINER= ports@FreeBSD.org
COMMENT=    X11 plotting package

USE_XORG=   x11
USE_PERL5_RUN=  yes
GNU_CONFIGURE=  yes

MAN1=       tcpdump2xplot.1 xplot.1
PORTDOCS=   README README.tcp_plots
PLIST_FILES=    bin/tcpdump2xplot bin/tcpdump2xplot.pl bin/xplot

post-patch:
    @${REINPLACE_CMD} -e \
        '/INSTALL/s|2xplot$$|2xplot.pl|' ${WRKSRC}/Makefile.in

post-install:
    ${LN} -sf tcpdump2xplot.pl ${PREFIX}/bin/tcpdump2xplot
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>