Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2002 17:18:50 -0600 (MDT)
From:      Amar Takhar <verm@drunkmonk.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40904: new port: www/tclcurl
Message-ID:  <200207222318.g6MNIo4O055536@jolly.drunkmonk.net>

next in thread | raw e-mail | index | archive | help

>Number:         40904
>Category:       ports
>Synopsis:       new port: www/tclcurl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 22 16:20:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Amar Takhar
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:

>Description:

This is a interface library to curl for TCL, it supports most if not all of 
curls features.

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	tclcurl/Makefile
#	tclcurl/distinfo
#	tclcurl/files
#	tclcurl/pkg-comment
#	tclcurl/pkg-descr
#	tclcurl/pkg-plist
#	tclcurl/files/patch-aa
#
echo x - tclcurl/Makefile
sed 's/^X//' >tclcurl/Makefile << 'END-of-tclcurl/Makefile'
X# New ports collection makefile for:	tclcurl
X# Date created:		22 July 2002
X# Whom:			verm@drunkmonk.net
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tclcurl
XPORTVERSION=	0.9.8
XCATEGORIES=	www ftp
XMASTER_SITES=	http://personal1.iddeo.es/andresgarci/tclcurl/download/tarball/
XDISTNAME=	TclCurl-${PORTVERSION}
X
XMAINTAINER=	verm@drunkmonk.net
X
XLIB_DEPENDS=	curl.2:${PORTSDIR}/ftp/curl \
X		${TCL_VER:S/.//}.1:${PORTSDIR}/lang/${TCL_VER:S/.//}
X
XTCL_VER=	tcl8.3
XTCLCURL_VER=	0.98
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--with-tcl=${LOCALBASE}/lib/${TCL_VER} \
X		--with-tclinclude=${LOCALBASE}/include/${TCL_VER} \
X		--prefix=${LOCALBASE}
XPLIST_SUB+=	TCL_VER=${TCL_VER} TCLCURL_VER=${TCLCURL_VER}
XMANN=		tclcurl.n tclcurl_multi.n
X
X.include <bsd.port.mk>
END-of-tclcurl/Makefile
echo x - tclcurl/distinfo
sed 's/^X//' >tclcurl/distinfo << 'END-of-tclcurl/distinfo'
XMD5 (TclCurl-0.9.8.tar.gz) = b2711f1546451b46132f380d7405917c
END-of-tclcurl/distinfo
echo c - tclcurl/files
mkdir -p tclcurl/files > /dev/null 2>&1
echo x - tclcurl/pkg-comment
sed 's/^X//' >tclcurl/pkg-comment << 'END-of-tclcurl/pkg-comment'
XCurl bindings for TCL supports all Curl features
END-of-tclcurl/pkg-comment
echo x - tclcurl/pkg-descr
sed 's/^X//' >tclcurl/pkg-descr << 'END-of-tclcurl/pkg-descr'
XTclCurl does exactly what it says, it adds Curl bindings to TCL, it supports
Xeverything that curl does (including ssl).  For a couple of quick examples
Xbrowse to http://personal1.iddeo.es/andresgarci/tclcurl/english/examples.html
X
XWWW: http://personal1.iddeo.es/andresgarci/tclcurl/english/
END-of-tclcurl/pkg-descr
echo x - tclcurl/pkg-plist
sed 's/^X//' >tclcurl/pkg-plist << 'END-of-tclcurl/pkg-plist'
Xlib/%%TCL_VER%%/tclcurl%%TCLCURL_VER%%/libtclcurl%%TCLCURL_VER%%.so
Xlib/%%TCL_VER%%/tclcurl%%TCLCURL_VER%%/pkgIndex.tcl
Xlib/%%TCL_VER%%/tclcurl%%TCLCURL_VER%%/tclcurl.tcl
X@dirrm lib/%%TCL_VER%%/tclcurl%%TCLCURL_VER%%
END-of-tclcurl/pkg-plist
echo x - tclcurl/files/patch-aa
sed 's/^X//' >tclcurl/files/patch-aa << 'END-of-tclcurl/files/patch-aa'
X--- Makefile.in.orig	Sun Apr 21 12:13:36 2002
X+++ Makefile.in	Mon Jul 22 18:08:25 2002
X@@ -167,7 +167,8 @@
X LIBS		= @LIBS@
X AR		= ar
X CFLAGS		= @CFLAGS@
X-COMPILE		= $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
X+TCLCURL_CFLAGS	= @TCLCURL_CFLAGS@
X+COMPILE		= $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(TCLCURL_CFLAGS)
X 
X #========================================================================
X # Start of user-definable TARGETS section
X@@ -206,7 +207,7 @@
X 
X install-binaries: binaries install-lib-binaries install-bin-binaries
X 	if test "x$(SHARED_BUILD)" = "x1"; then \
X-	    $(INSTALL_DATA) pkgIndex.tcl $(DESTDIR)$(pkglibdir); \
X+	    $(INSTALL_DATA) pkgIndex.tcl $(TCL_BIN_DIR)/$(PKG_DIR); \
X 	fi
X 
X #========================================================================
X@@ -231,10 +232,7 @@
X 	@echo "Installing documentation in $(DESTDIR)$(mandir)"
X 	@for i in $(srcdir)/doc/*.n; do \
X 	    echo "Installing $$i"; \
X-	    rm -f $(DESTDIR)$(mandir)/mann/`basename $$i.gz`; \
X-	    gzip $$i; \
X-	    $(INSTALL_DATA) $$i.gz $(DESTDIR)$(mandir)/mann ; \
X-	    gunzip $$i.gz; \
X+	    $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \
X 	done
X 
X test: binaries libraries
X@@ -370,11 +368,11 @@
X #========================================================================
X 
X install-lib-binaries:
X-	@mkdir -p $(DESTDIR)$(pkglibdir)
X+	@mkdir -p $(TCL_BIN_DIR)/$(PKG_DIR)
X 	@list='$(lib_BINARIES)'; for p in $$list; do \
X 	  if test -f $$p; then \
X-	    echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p"; \
X-	    $(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkglibdir)/$$p; \
X+	    echo " $(INSTALL_PROGRAM) $$p $(TCL_BIN_DIR)/$(PKG_DIR)/$$p"; \
X+	    $(INSTALL_PROGRAM) $$p $(TCL_BIN_DIR)/$(PKG_DIR)/$$p; \
X 	    echo " $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p"; \
X 	    $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p; \
X 	    ext=`echo $$p|sed -e "s/.*\.//"`; \
X@@ -419,7 +417,7 @@
X install-scripts: scripts
X 		@for i in generic/$(TCL_SCRIPTS) ; do        \
X 		echo "Installing $$i" ;                      \
X-		$(INSTALL_DATA) $$i $(DESTDIR)$(pkglibdir) ; \
X+		$(INSTALL_DATA) $$i $(TCL_BIN_DIR)/$(PKG_DIR) ; \
X 	done;
X 
X .SUFFIXES: .c .$(OBJEXT)
END-of-tclcurl/files/patch-aa
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207222318.g6MNIo4O055536>