summaryrefslogtreecommitdiff
path: root/graphics/dataplot
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-08-20 02:56:45 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-08-20 02:56:45 +0000
commitb413480c237fbb5d444269d9081e3007f4a63367 (patch)
tree80634592b055f5cf212a26da913ddbc2e8316507 /graphics/dataplot
parentAdd gnomehack missed in previous commit. (diff)
Fix&Cleanup dependency on gd1 and some libs.
Bump PORTREVISION acordingly. Spoted by: Pedro F. Giffuni <giffunip@yahoo.com>
Notes
Notes: svn path=/head/; revision=87325
Diffstat (limited to 'graphics/dataplot')
-rw-r--r--graphics/dataplot/Makefile5
-rw-r--r--graphics/dataplot/files/Makefile.tmpl8
2 files changed, 5 insertions, 8 deletions
diff --git a/graphics/dataplot/Makefile b/graphics/dataplot/Makefile
index ec581f1a6988..253cd0ed8cfd 100644
--- a/graphics/dataplot/Makefile
+++ b/graphics/dataplot/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dataplot
PORTVERSION= 20030530
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.nist.gov/pub/dataplot/unix/:source \
http://www.itl.nist.gov/div898/software/dataplot.html/:doc
@@ -19,7 +20,9 @@ EXTRACT_ONLY= dataplot_source${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= A free software system for statistical visualization
-BUILD_DEPENDS= ${LOCALBASE}/lib/libgd1.a:${PORTSDIR}/graphics/gd
+LIB_DEPENDS= gd1:${PORTSDIR}/graphics/gd1 \
+ png:${PORTSDIR}/graphics/png \
+ jpeg:${PORTSDIR}/graphics/jpeg
USE_XLIB= yes
USE_REINPLACE= yes
diff --git a/graphics/dataplot/files/Makefile.tmpl b/graphics/dataplot/files/Makefile.tmpl
index 750cac9af24a..4a1a3c4e2842 100644
--- a/graphics/dataplot/files/Makefile.tmpl
+++ b/graphics/dataplot/files/Makefile.tmpl
@@ -19,13 +19,7 @@ LD = $(CC)
LDFLAGS = -L%%LOCALBASE%%/lib -L%%X11BASE%%/lib
-LIBS = %%X11BASE%%/lib/libX11.a \
- %%LOCALBASE%%/lib/libgd1.a \
- %%LOCALBASE%%/lib/libpng.a \
- /usr/lib/libz.a \
- %%LOCALBASE%%/lib/libjpeg.a \
- /usr/lib/libg2c.a \
- /usr/lib/libm.a
+LIBS = -lgd1 -lpng -ljpeg -lX11 -lz -lg2c -lm
MAKEFILE = Makefile