aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/tclmkziplib/Makefile
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-09-19 22:59:42 +0800
committergahr <gahr@FreeBSD.org>2013-09-19 22:59:42 +0800
commita87071eb0f407ce00883278b9905475facf74d28 (patch)
treedf6f6bed999425c6758ea7b30d33f50f3ebc0cb3 /archivers/tclmkziplib/Makefile
parentac0f27a9154ede9a60e6c068850aa3206c117531 (diff)
downloadfreebsd-ports-gnome-a87071eb0f407ce00883278b9905475facf74d28.tar.gz
freebsd-ports-gnome-a87071eb0f407ce00883278b9905475facf74d28.tar.zst
freebsd-ports-gnome-a87071eb0f407ce00883278b9905475facf74d28.zip
- Take maintainership (tcltk@)
- Convert to USES+=tcl - Simplify files/Makefile.bsd
Diffstat (limited to 'archivers/tclmkziplib/Makefile')
-rw-r--r--archivers/tclmkziplib/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/archivers/tclmkziplib/Makefile b/archivers/tclmkziplib/Makefile
index cabaa5bbcf75..d1de2e75df48 100644
--- a/archivers/tclmkziplib/Makefile
+++ b/archivers/tclmkziplib/Makefile
@@ -8,30 +8,25 @@ CATEGORIES= archivers tcl
MASTER_SITES= http://mkextensions.sourceforge.net/
DISTNAME= mkZiplib${PORTVERSION:S/.//}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= tcltk@FreeBSD.org
COMMENT= GZIP and ZIP support for TCL; dynamically loadable
LICENSE= BSD
-USE_TCL= 84+
+USES+= tcl
+USE_ZIP= yes
WRKSRC= ${WRKDIR}/mkZiplib${PORTVERSION}
-USE_ZIP= yes
.include <bsd.port.options.mk>
-TCLCONFIG?= ${LOCALBASE}/lib/tcl${TCL_VER}/tclConfig.sh
-
MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ENV= VERSION=${PORTVERSION:S/.//} \
TCL_VER=${TCL_VER} \
- TCLCONFIG=${TCLCONFIG}
+ TCLCONFIG=${TCL_LIBDIR}/tclConfig.sh
PLIST_SUB+= VERSION=${PORTVERSION:S/.//}
-pre-build:
- @${TEST} -f ${TCLCONFIG} || ( echo "tclConfig.sh is required to build mkZiplib"; exit 1 )
-
do-install:
@${MKDIR} ${PREFIX}/lib/mkZiplib
@${INSTALL_PROGRAM} ${WRKSRC}/mkZiplib${PORTVERSION:S/.//}.so ${PREFIX}/lib/mkZiplib