aboutsummaryrefslogtreecommitdiff
path: root/graphics/gpsmanshp
diff options
context:
space:
mode:
authorJohn Hay <jhay@FreeBSD.org>2004-08-17 05:49:33 +0000
committerJohn Hay <jhay@FreeBSD.org>2004-08-17 05:49:33 +0000
commita3d5a359fc6782d2c98f4d0b7f30013a93c8a0d1 (patch)
tree312416d3b1660f08e4d7dd759278339d527c80ca /graphics/gpsmanshp
parent2867e8fae79a8167c8b718adfb5f1449c3b7eb6a (diff)
downloadports-a3d5a359fc6782d2c98f4d0b7f30013a93c8a0d1.tar.gz
ports-a3d5a359fc6782d2c98f4d0b7f30013a93c8a0d1.zip
Add a tcl lib dependency. Also make the tcl version overridable.
Notes
Notes: svn path=/head/; revision=116465
Diffstat (limited to 'graphics/gpsmanshp')
-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)