2007-01-06 03:08:35 +01:00
|
|
|
# New ports collection makefile for: tclmkziplib
|
|
|
|
# Date created: 4 Jan 2007
|
2007-04-05 15:19:09 +02:00
|
|
|
# Whom: 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/.//}
|
|
|
|
|
2011-08-09 17:41:30 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-01-06 03:08:35 +01:00
|
|
|
COMMENT= GZIP and ZIP support for TCL; dynamicly loadable
|
|
|
|
|
2011-03-23 12:37:49 +01:00
|
|
|
LICENSE= BSD
|
|
|
|
|
2009-01-05 12:30:34 +01:00
|
|
|
USE_TCL= 84+
|
2007-01-06 03:08:35 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/mkZiplib${PORTVERSION}
|
|
|
|
USE_ZIP= yes
|
|
|
|
|
2009-01-05 12:30:34 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-01-06 03:08:35 +01:00
|
|
|
TCLCONFIG?= ${LOCALBASE}/lib/tcl${TCL_VER}/tclConfig.sh
|
|
|
|
|
|
|
|
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} \
|
2007-01-06 03:08:35 +01:00
|
|
|
TCLCONFIG=${TCLCONFIG}
|
|
|
|
|
|
|
|
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
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${PREFIX}/lib/mkZiplib
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@ ${MKDIR} ${DOCSDIR}
|
|
|
|
@ ${INSTALL_DATA} ${WRKSRC}/mkZiplib${PORTVERSION:S/.//}.htm ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2009-01-05 12:30:34 +01:00
|
|
|
.include <bsd.port.post.mk>
|