summaryrefslogtreecommitdiff
path: root/graphics/ploticus/Makefile
blob: 38781ad81e638660a46b0a177d5be307047c2d69 (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
# $NetBSD: Makefile,v 1.2 2000/02/09 20:20:55 tron Exp $
#

DISTNAME=	plsrc13
PKGNAME=	ploticus-1.31
CATEGORIES=	graphics
MASTER_SITES=	http://www.sgpr.net/download/ \
		http://gd.tuwien.ac.at/visual/ploticus/download/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${MANDIST}${EXTRACT_SUFX}

MAINTAINER=	rh@netbsd.org
HOMEPAGE=	http://www.sgpr.net/

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

NO_CONFIGURE=	YES
USE_X11=	YES

MANDIST=	plman13
MANSRC=		${WRKDIR}/${MANDIST}
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}/man1/${file}.1 ${PREFIX}/man/man1/${file}.1
.endfor
	${INSTALL_DATA_DIR} ${DOCDST}
.for file in Faq Problems Util Welcome annotate areadef attributetypes \
	     axis bars bevelrect breakaxis catslide color condex config \
	     controlling curvefit dataformat dates defineunits \
	     drawcommands endproc functions getdata gifpatent import \
	     interactive legend legendentry limits line linedetails \
	     lineplot missingdata originaldata page paper pie posters \
	     print rangebar rangesweep scaleunits scatterplot scripts \
	     slides specialchars symboldetails tabulate textdetails times \
	     trailer transform variables web
	${NROFF} <${MANSRC}/manpl/${file} >${WRKDIR}/${file}
	${INSTALL_DATA} ${WRKDIR}/${file} ${DOCDST}/${file}
.endfor

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