2012-12-31 15:10:52 +01:00
|
|
|
# Created by: Martin Matuska <mm@FreeBSD.org>
|
2007-01-06 03:08:35 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tclmkziplib
|
|
|
|
PORTVERSION= 1.0
|
2009-02-23 15:46:37 +01:00
|
|
|
PORTREVISION= 2
|
2008-04-09 15:42:26 +02:00
|
|
|
CATEGORIES= archivers tcl
|
2007-01-06 03:08:35 +01:00
|
|
|
MASTER_SITES= http://mkextensions.sourceforge.net/
|
|
|
|
DISTNAME= mkZiplib${PORTVERSION:S/.//}
|
2014-01-05 00:31:06 +01:00
|
|
|
EXTRACT_SUFX= .zip
|
2007-01-06 03:08:35 +01:00
|
|
|
|
2013-09-19 16:59:42 +02:00
|
|
|
MAINTAINER= tcltk@FreeBSD.org
|
2012-07-23 16:05:31 +02:00
|
|
|
COMMENT= GZIP and ZIP support for TCL; dynamically loadable
|
2007-01-06 03:08:35 +01:00
|
|
|
|
2013-09-19 16:59:42 +02:00
|
|
|
USES+= tcl
|
2007-01-06 03:08:35 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/mkZiplib${PORTVERSION}
|
2009-01-05 12:30:34 +01:00
|
|
|
|
2007-01-06 03:08:35 +01:00
|
|
|
MAKEFILE= ${FILESDIR}/Makefile.bsd
|
2008-07-25 11:08:42 +02:00
|
|
|
MAKE_ENV= VERSION=${PORTVERSION:S/.//} \
|
2009-01-05 12:30:34 +01:00
|
|
|
TCL_VER=${TCL_VER} \
|
2013-09-19 16:59:42 +02:00
|
|
|
TCLCONFIG=${TCL_LIBDIR}/tclConfig.sh
|
2007-01-06 03:08:35 +01:00
|
|
|
|
|
|
|
PLIST_SUB+= VERSION=${PORTVERSION:S/.//}
|
|
|
|
|
|
|
|
do-install:
|
2014-01-05 00:31:06 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/mkZiplib
|
|
|
|
${INSTALL_LIB} ${WRKSRC}/mkZiplib${PORTVERSION:S/.//}.so ${STAGEDIR}${PREFIX}/lib/mkZiplib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${STAGEDIR}${PREFIX}/lib/mkZiplib
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/mkZiplib${PORTVERSION:S/.//}.htm ${STAGEDIR}${DOCSDIR}
|
2007-01-06 03:08:35 +01:00
|
|
|
|
2012-12-31 15:10:52 +01:00
|
|
|
.include <bsd.port.mk>
|