aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/tclmkziplib
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2009-01-05 19:30:34 +0800
committermm <mm@FreeBSD.org>2009-01-05 19:30:34 +0800
commit353bd97a61a5114dd8d9a0de2aeb243e65acb41b (patch)
treef832ab2f45bdcc3ccbdff6e39134093489e05b04 /archivers/tclmkziplib
parent082ca46009509d54370b98238aa0ddb64a75cf88 (diff)
downloadfreebsd-ports-graphics-353bd97a61a5114dd8d9a0de2aeb243e65acb41b.tar.gz
freebsd-ports-graphics-353bd97a61a5114dd8d9a0de2aeb243e65acb41b.tar.zst
freebsd-ports-graphics-353bd97a61a5114dd8d9a0de2aeb243e65acb41b.zip
- switch to USE_TCL
- bump PORTREVISION
Diffstat (limited to 'archivers/tclmkziplib')
-rw-r--r--archivers/tclmkziplib/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/archivers/tclmkziplib/Makefile b/archivers/tclmkziplib/Makefile
index 1a2f0049640..43fe3389272 100644
--- a/archivers/tclmkziplib/Makefile
+++ b/archivers/tclmkziplib/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tclmkziplib
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= archivers tcl
MASTER_SITES= http://mkextensions.sourceforge.net/
DISTNAME= mkZiplib${PORTVERSION:S/.//}
@@ -14,18 +15,18 @@ DISTNAME= mkZiplib${PORTVERSION:S/.//}
MAINTAINER= mm@FreeBSD.org
COMMENT= GZIP and ZIP support for TCL; dynamicly loadable
-TCL_VER?= 8.4
-TCLVND= ${TCL_VER:S/.//}
-
-LIB_DEPENDS+= tcl84:${PORTSDIR}/lang/tcl${TCLVND}
+USE_TCL= 84+
WRKSRC= ${WRKDIR}/mkZiplib${PORTVERSION}
USE_ZIP= yes
+.include <bsd.port.pre.mk>
+
TCLCONFIG?= ${LOCALBASE}/lib/tcl${TCL_VER}/tclConfig.sh
MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ENV= VERSION=${PORTVERSION:S/.//} \
+ TCL_VER=${TCL_VER} \
TCLCONFIG=${TCLCONFIG}
PLIST_SUB+= VERSION=${PORTVERSION:S/.//}
@@ -44,4 +45,4 @@ post-install:
@ ${INSTALL_DATA} ${WRKSRC}/mkZiplib${PORTVERSION:S/.//}.htm ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>