diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-05 07:31:06 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-05 07:31:06 +0800 |
commit | 51d48bab2efe4e05a62ce6a6cacaf0b7922d8141 (patch) | |
tree | 01581ebc43612ec7065b61c73d37fc8e9c204571 /archivers | |
parent | 40498420b2ab5001c62d3454c3f4180ef99df04b (diff) | |
download | freebsd-ports-gnome-51d48bab2efe4e05a62ce6a6cacaf0b7922d8141.tar.gz freebsd-ports-gnome-51d48bab2efe4e05a62ce6a6cacaf0b7922d8141.tar.zst freebsd-ports-gnome-51d48bab2efe4e05a62ce6a6cacaf0b7922d8141.zip |
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
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/tclmkziplib/Makefile | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/archivers/tclmkziplib/Makefile b/archivers/tclmkziplib/Makefile index f97150b5b844..dc298a27b422 100644 --- a/archivers/tclmkziplib/Makefile +++ b/archivers/tclmkziplib/Makefile @@ -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> |