FreeBSD Bugzilla – Attachment 74297 Details for
Bug 107519
[NEW PORT] archivers/tclmkziplib 1.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.73 KB, created by
Martin Matuska
on 2007-01-04 13:50:29 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Martin Matuska
Created:
2007-01-04 13:50:29 UTC
Size:
3.73 KB
patch
obsolete
>diff -Nbur archivers/tclmkziplib.orig/Makefile archivers/tclmkziplib/Makefile >--- archivers/tclmkziplib.orig/Makefile Thu Jan 1 01:00:00 1970 >+++ archivers/tclmkziplib/Makefile Thu Jan 4 14:14:37 2007 >@@ -0,0 +1,49 @@ >+# New ports collection makefile for: tclmkziplib >+# Date created: 4 Jan 2007 >+# Whom: martin@matuska.org >+# >+# $FreeBSD$ >+# >+ >+PORTNAME= tclmkziplib >+PORTVERSION= 1.0 >+CATEGORIES= archivers tcl83 tcl84 >+MASTER_SITES= http://mkextensions.sourceforge.net/ >+DISTNAME= mkZiplib${PORTVERSION:S/.//} >+ >+MAINTAINER= martin@matuska.org >+COMMENT= GZIP and ZIP support for TCL; dynamicly loadable >+ >+TCL_VER?= 8.4 >+TCLVND= ${TCL_VER:S/.//} >+ >+LIB_DEPENDS+= tcl84:${PORTSDIR}/lang/tcl${TCLVND} >+ >+WRKSRC= ${WRKDIR}/mkZiplib${PORTVERSION} >+USE_ZIP= yes >+ >+TCLCONFIG?= ${LOCALBASE}/lib/tcl${TCL_VER}/tclConfig.sh >+ >+MAKEFILE= ${FILESDIR}/Makefile.bsd >+MAKE_ENV= LOCALBASE=${LOCALBASE} \ >+ VERSION=${PORTVERSION:S/.//} \ >+ 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 >+ >+ >+.include <bsd.port.mk> >diff -Nbur archivers/tclmkziplib.orig/distinfo archivers/tclmkziplib/distinfo >--- archivers/tclmkziplib.orig/distinfo Thu Jan 1 01:00:00 1970 >+++ archivers/tclmkziplib/distinfo Thu Jan 4 11:55:36 2007 >@@ -0,0 +1,3 @@ >+MD5 (mkZiplib10.zip) = d7bbe5a2fb62f7726dd2a59164dc08be >+SHA256 (mkZiplib10.zip) = bc1f43e04702fb0157365ee5ff7e75878908ae9e357bd0b6deda75bc8de6d7c1 >+SIZE (mkZiplib10.zip) = 97703 >diff -Nbur archivers/tclmkziplib.orig/files/Makefile.bsd archivers/tclmkziplib/files/Makefile.bsd >--- archivers/tclmkziplib.orig/files/Makefile.bsd Thu Jan 1 01:00:00 1970 >+++ archivers/tclmkziplib/files/Makefile.bsd Thu Jan 4 13:31:20 2007 >@@ -0,0 +1,30 @@ >+PACKAGE = mkZiplib >+VERSION ?= 10 >+SHLIB_NAME = ${PACKAGE}${VERSION}.so >+ >+SRCS = unzip.c zip.c mkZiplib${VERSION}.c >+ >+LOCALBASE ?=/usr/local >+TCL_VER ?=8.4 >+ >+SOBJS= ${SRCS:N*.h:R:S/$/.o/} >+ >+TCLCONFIG ?=${LOCALBASE}/lib/tcl${TCL_VER}/tclConfig.sh >+ >+TCL_SHLIB_CFLAGS!= . ${TCLCONFIG}; \ >+ echo $$TCL_SHLIB_CFLAGS >+TCL_INCLUDE_SPEC!= . ${TCLCONFIG}; \ >+ echo $$TCL_INCLUDE_SPEC >+TCL_STUB_LIB_SPEC!= . ${TCLCONFIG}; \ >+ echo $$TCL_STUB_LIB_SPEC >+ >+CFLAGS += ${TCL_SHLIB_CFLAGS} ${TCL_INCLUDE_SPEC} >+LDFLAGS += ${TCL_STUB_LIB_SPEC} -lz >+ >+all: ${SHLIB_NAME} >+ >+${SHLIB_NAME}: ${SOBJS} >+ ${CC} ${LDFLAGS} -shared -o ${.TARGET} `lorder ${SOBJS} | tsort -q` ${LDADD} >+ >+clean: >+ @rm -f ${SHLIB_NAME} ${SOBJS} >diff -Nbur archivers/tclmkziplib.orig/pkg-descr archivers/tclmkziplib/pkg-descr >--- archivers/tclmkziplib.orig/pkg-descr Thu Jan 1 01:00:00 1970 >+++ archivers/tclmkziplib/pkg-descr Thu Jan 4 13:18:54 2007 >@@ -0,0 +1,10 @@ >+mkZiplib is a wrapper for Zlib 1.1.3 and Minizip 0.15. >+ >+It is free, very portable and works for virtually any computer hardware >+and operating system. With mkZiplib you can compress/decompress data and >+work with .gz and .zip files from within Tcl. >+ >+WWW: http://mkextensions.sourceforge.net >+ >+- Martin Matuska >+martin@matuska.org >diff -Nbur archivers/tclmkziplib.orig/pkg-plist archivers/tclmkziplib/pkg-plist >--- archivers/tclmkziplib.orig/pkg-plist Thu Jan 1 01:00:00 1970 >+++ archivers/tclmkziplib/pkg-plist Thu Jan 4 13:37:14 2007 >@@ -0,0 +1,5 @@ >+lib/mkZiplib/pkgIndex.tcl >+lib/mkZiplib/mkZiplib%%VERSION%%.so >+%%PORTDOCS%%%%DOCSDIR%%/mkZiplib10.htm >+%%PORTDOCS%%@dirrm %%DOCSDIR%% >+@dirrm lib/mkZiplib
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 107519
: 74297