summaryrefslogtreecommitdiff
path: root/graphics/ploticus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ploticus/Makefile')
-rw-r--r--graphics/ploticus/Makefile29
1 files changed, 6 insertions, 23 deletions
diff --git a/graphics/ploticus/Makefile b/graphics/ploticus/Makefile
index 3a41c66171b..fff85ec5185 100644
--- a/graphics/ploticus/Makefile
+++ b/graphics/ploticus/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2004/04/10 23:49:20 snj Exp $
+# $NetBSD: Makefile,v 1.21 2004/05/15 11:16:45 grant Exp $
#
-DISTNAME= plsrc210
-PKGNAME= ploticus-2.10
-PKGREVISION= 2
+DISTNAME= pl221src
+PKGNAME= ploticus-2.21
CATEGORIES= graphics
MASTER_SITES= http://ploticus.sourceforge.net/download/
@@ -24,9 +23,11 @@ DOCDST= ${PREFIX}/share/doc/ploticus
PREFABDST= ${PREFIX}/share/ploticus
NROFF?= nroff -mandoc
+MAKE_ENV+= XLIBS="-L${X11BASE}/lib -lX11"
+MAKE_ENV+= XINCLUDEDIR="-I${X11BASE}/include"
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pl ${PREFIX}/bin/pl
- ${INSTALL_MAN} ${MANSRC}/man1/pl.1 ${PREFIX}/man/man1/pl.1
${INSTALL_DATA_DIR} ${PREFABDST}
.for file in chunk_logtics chunk_xaxis lines.pl stack.pl chron.pl \
chunk_read chunk_yaxis multidist.pl vbars.pl chunk_area \
@@ -34,24 +35,6 @@ do-install:
scat.pl
${INSTALL_DATA} ${PREFABSRC}/${file} ${PREFABDST}/${file}
.endfor
- ${INSTALL_DATA_DIR} ${DOCDST}
-.for file in Changelog Contents Copyright Download Feedback Feedback00 \
- Versions Welcome
- ${INSTALL_DATA} ${MANSRC}/manpl/${file} ${DOCDST}/${file}
-.endfor
-.for file in Faq Problems annotate api areadef attributetypes autorange \
- axis bars breakaxis catslide cgi clickmap color commalist \
- condex config control controlling curvefit dataformat dates \
- defineunits drawcommands dynamic fonts functions getdata \
- gifpatent import interactive legend legendentry limits line \
- linedetails lineplot page paper pie plshellsql posters prefabs \
- prepress print processdata rangebar rangesweep rect scaleunits \
- scatterplot scripts settings shell slides specialchars sql svg \
- symboldetails tabulate textdetails times trailer usedata \
- variables vector web
- ${NROFF} <${MANSRC}/manpl/${file} >${WRKDIR}/${file}
- ${INSTALL_DATA} ${WRKDIR}/${file} ${DOCDST}/${file}
-.endfor
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"