freebsd-ports/archivers/tclmkziplib/Makefile
Baptiste Daroussin d3de6cc95c Support stage
Remove license as it is not really BSD license and a special case should be added here
Use bsdtar to extract the zip files
2014-01-04 23:31:06 +00:00

33 lines
945 B
Makefile

# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= tclmkziplib
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= archivers tcl
MASTER_SITES= http://mkextensions.sourceforge.net/
DISTNAME= mkZiplib${PORTVERSION:S/.//}
EXTRACT_SUFX= .zip
MAINTAINER= tcltk@FreeBSD.org
COMMENT= GZIP and ZIP support for TCL; dynamically loadable
USES+= tcl
WRKSRC= ${WRKDIR}/mkZiplib${PORTVERSION}
MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ENV= VERSION=${PORTVERSION:S/.//} \
TCL_VER=${TCL_VER} \
TCLCONFIG=${TCL_LIBDIR}/tclConfig.sh
PLIST_SUB+= VERSION=${PORTVERSION:S/.//}
do-install:
@${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}
.include <bsd.port.mk>