Date: Sat, 4 Jan 2014 23:31:06 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338684 - head/archivers/tclmkziplib Message-ID: <201401042331.s04NV6H5058648@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sat Jan 4 23:31:06 2014 New Revision: 338684 URL: http://svnweb.freebsd.org/changeset/ports/338684 Log: 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 Modified: head/archivers/tclmkziplib/Makefile Modified: head/archivers/tclmkziplib/Makefile ============================================================================== --- head/archivers/tclmkziplib/Makefile Sat Jan 4 23:27:58 2014 (r338683) +++ head/archivers/tclmkziplib/Makefile Sat Jan 4 23:31:06 2014 (r338684) @@ -7,19 +7,14 @@ 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 -LICENSE= BSD - USES+= tcl -USE_ZIP= yes WRKSRC= ${WRKDIR}/mkZiplib${PORTVERSION} -NO_STAGE= yes - -.include <bsd.port.options.mk> MAKEFILE= ${FILESDIR}/Makefile.bsd MAKE_ENV= VERSION=${PORTVERSION:S/.//} \ @@ -29,14 +24,10 @@ MAKE_ENV= VERSION=${PORTVERSION:S/.//} \ 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: -.if ${PORT_OPTIONS:MDOCS} - @ ${MKDIR} ${DOCSDIR} - @ ${INSTALL_DATA} ${WRKSRC}/mkZiplib${PORTVERSION:S/.//}.htm ${DOCSDIR} -.endif + @${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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401042331.s04NV6H5058648>