aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/dataplot
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-08-20 10:56:45 +0800
committernork <nork@FreeBSD.org>2003-08-20 10:56:45 +0800
commiteda7e0842ab9b5ae27862ab4d592fbafbe5ba39f (patch)
tree19e39328149c0d167de8caeb3701be07d57d4add /graphics/dataplot
parent22f7159de42bd30365325e134ce3f69554781588 (diff)
downloadfreebsd-ports-gnome-eda7e0842ab9b5ae27862ab4d592fbafbe5ba39f.tar.gz
freebsd-ports-gnome-eda7e0842ab9b5ae27862ab4d592fbafbe5ba39f.tar.zst
freebsd-ports-gnome-eda7e0842ab9b5ae27862ab4d592fbafbe5ba39f.zip
Fix&Cleanup dependency on gd1 and some libs.
Bump PORTREVISION acordingly. Spoted by: Pedro F. Giffuni <giffunip@yahoo.com>
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