aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorjhay <jhay@FreeBSD.org>2004-08-17 13:49:33 +0800
committerjhay <jhay@FreeBSD.org>2004-08-17 13:49:33 +0800
commitdbcb410e993a50e2fce0d3c192e18a048655a135 (patch)
treedd7e2e832808e18a95217acddb49ff03bb3f9fba /graphics
parent84727c8ce6730da386931be58a593a44721790c4 (diff)
downloadfreebsd-ports-gnome-dbcb410e993a50e2fce0d3c192e18a048655a135.tar.gz
freebsd-ports-gnome-dbcb410e993a50e2fce0d3c192e18a048655a135.tar.zst
freebsd-ports-gnome-dbcb410e993a50e2fce0d3c192e18a048655a135.zip
Add a tcl lib dependency. Also make the tcl version overridable.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gpsmanshp/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/gpsmanshp/Makefile b/graphics/gpsmanshp/Makefile
index 4fd8266ba652..8d077432969c 100644
--- a/graphics/gpsmanshp/Makefile
+++ b/graphics/gpsmanshp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gpsmanshp
PORTVERSION= 1.2
-CATEGORIES= graphics tcl84
+CATEGORIES= graphics tcl${TCLVERSION:S/.//}
MASTER_SITES= http://www.ncc.up.pt/gpsmanshp/
DISTNAME= ${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX= .tgz
@@ -16,9 +16,11 @@ MAINTAINER= jhay@FreeBSD.org
COMMENT= Shapelib support for gpsman
RUN_DEPENDS= gpsman:${PORTSDIR}/astro/gpsman
-LIB_DEPENDS= shp.1:${PORTSDIR}/devel/shapelib
+LIB_DEPENDS= shp.1:${PORTSDIR}/devel/shapelib \
+ tcl${TCLVERSION:S/.//}:${PORTSDIR}/lang/tcl${TCLVERSION:S/.//}
-PLIST_SUB= TCLVERSION=8.4 PORTVERSION=${PORTVERSION}
+TCLVERSION?= 8.4
+PLIST_SUB= TCLVERSION=${TCLVERSION} PORTVERSION=${PORTVERSION}
post-install:
.if !defined(NOPORTDOCS)