summaryrefslogtreecommitdiff
path: root/graphics/ploticus/Makefile
blob: a4fb3a0ccbfa52ba55b5fe42ca7ee125d7d0a04a (plain)
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
52
# $NetBSD: Makefile,v 1.11 2002/03/13 17:37:15 fredb Exp $
#

DISTNAME=	plsrc141
PKGNAME=	ploticus-1.41
PKGREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://www.sgpr.net/download/ \
		http://gd.tuwien.ac.at/visual/ploticus/download/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DISTNAME:C/src/man/}${EXTRACT_SUFX}

MAINTAINER=	rh@netbsd.org
HOMEPAGE=	http://www.sgpr.net/
COMMENT=	Versatile data visualization engine

DEPENDS+=	png>=1.2.1:../../graphics/png

NO_CONFIGURE=	YES
USE_X11=	YES
DIST_SUBDIR=	${PKGNAME}

MANSRC=		${WRKSRC:C/plsrc/plman/}
DOCDST=		${PREFIX}/share/doc/ploticus
NROFF?=		nroff -mandoc

do-install:
.for file in pl plpng pltab pltabpng
	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin/${file}
.endfor
.for file in pl ploticus plpng pltab
	${INSTALL_MAN} ${MANSRC}/man/man1/${file}.1 \
		${PREFIX}/man/man1/${file}.1
.endfor
	${INSTALL_DATA_DIR} ${DOCDST}
.for file in Changelog Contents Copyright Download Feedback Feedback00	\
	Versions Welcome
	${INSTALL_DATA} ${MANSRC}/man/manpl/${file} ${DOCDST}/${file}
.endfor
.for file in Faq Problems annotate areadef attributetypes autorange	\
	axis bars bevelrect breakaxis catslide color condex config	\
	controlling curvefit dataformat dates datesettings defineunits	\
	drawcommands endproc foo functions getdata gifpatent import	\
	interactive legend legendentry limits line linedetails lineplot	\
	missingdata originaldata page paper pie posters prefabs print	\
	processdata rangebar rangesweep scaleunits scatterplot scripts	\
	slides specialchars symboldetails tabulate textdetails times	\
	trailer transform variables web
	${NROFF} <${MANSRC}/man/manpl/${file} >${WRKDIR}/${file}
	${INSTALL_DATA} ${WRKDIR}/${file} ${DOCDST}/${file}
.endfor

.include "../../mk/bsd.pkg.mk"