From a3d5a359fc6782d2c98f4d0b7f30013a93c8a0d1 Mon Sep 17 00:00:00 2001 From: John Hay Date: Tue, 17 Aug 2004 05:49:33 +0000 Subject: Add a tcl lib dependency. Also make the tcl version overridable. --- graphics/gpsmanshp/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'graphics') 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) -- cgit v1.2.3