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/.//}
|
|
|
|
|
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
|
|
|
|
2011-03-23 12:37:49 +01:00
|
|
|
LICENSE= BSD
|
|
|
|
|
2013-09-19 16:59:42 +02:00
|
|
|
USES+= tcl
|
|
|
|
USE_ZIP= yes
|
2007-01-06 03:08:35 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/mkZiplib${PORTVERSION}
|
2013-09-20 15:11:20 +02:00
|
|
|
NO_STAGE= yes
|
2007-01-06 03:08:35 +01:00
|
|
|
|
2012-12-31 15:10:52 +01:00
|
|
|
.include <bsd.port.options.mk>
|
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:
|
|
|
|
@${MKDIR} ${PREFIX}/lib/mkZiplib
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/mkZiplib${PORTVERSION:S/.//}.so ${PREFIX}/lib/mkZiplib
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${PREFIX}/lib/mkZiplib
|
|
|
|
|
|
|
|
post-install:
|
2012-12-31 15:10:52 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2007-01-06 03:08:35 +01:00
|
|
|
@ ${MKDIR} ${DOCSDIR}
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/mkZiplib${PORTVERSION:S/.//}.htm ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2012-12-31 15:10:52 +01:00
|
|
|
.include <bsd.port.mk>
|