From d3de6cc95c7472f55e51d4f81e60a51f8e945160 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sat, 4 Jan 2014 23:31:06 +0000 Subject: [PATCH] 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 --- archivers/tclmkziplib/Makefile | 21 ++++++--------------- 1 file 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 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