diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-12-05 01:01:58 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-12-05 01:01:58 +0000 |
commit | c6609ee04ff0c907003236b74d350c8ab112d897 (patch) | |
tree | 6769c5d5db78f42c7038ea1b50b25b36a80e46a9 /ftp | |
parent | 68db523627155aaae6ecce04ac9c16c746397215 (diff) | |
download | ports-c6609ee04ff0c907003236b74d350c8ab112d897.tar.gz ports-c6609ee04ff0c907003236b74d350c8ab112d897.zip |
Notes
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/Makefile | 1 | ||||
-rw-r--r-- | ftp/curlpp/Makefile | 45 | ||||
-rw-r--r-- | ftp/curlpp/distinfo | 1 | ||||
-rw-r--r-- | ftp/curlpp/files/patch-curlpp_config.in | 11 | ||||
-rw-r--r-- | ftp/curlpp/files/patch-ltmain.sh | 15 | ||||
-rw-r--r-- | ftp/curlpp/pkg-descr | 1 | ||||
-rw-r--r-- | ftp/curlpp/pkg-plist | 75 |
7 files changed, 149 insertions, 0 deletions
diff --git a/ftp/Makefile b/ftp/Makefile index d2ce08c28bf6..6b281b44f59c 100644 --- a/ftp/Makefile +++ b/ftp/Makefile @@ -9,6 +9,7 @@ SUBDIR += bsdftpd-ssl SUBDIR += cftp SUBDIR += curl + SUBDIR += curlpp SUBDIR += downloader SUBDIR += emacs-wget SUBDIR += emirror diff --git a/ftp/curlpp/Makefile b/ftp/curlpp/Makefile new file mode 100644 index 000000000000..99e28b192bbc --- /dev/null +++ b/ftp/curlpp/Makefile @@ -0,0 +1,45 @@ +# ex:ts=8 +# Ports collection makefile for: curlpp +# Date created: Nov 27, 2003 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= curlpp +PORTVERSION= 0.3.0 +CATEGORIES= ftp +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= A C++ wrapper for libcurl + +BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2 +LIB_DEPENDS= curl.2:${PORTSDIR}/ftp/curl + +USE_REINPLACE= yes +GNU_CONFIGURE= yes + +INSTALLS_SHLIB= yes + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500035 +USE_GCC= 3.1 +.else +CONFIGURE_ENV+= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +.endif + +post-patch: + @${REINPLACE_CMD} -e "s|^#! /bin/sh|#!${LOCALBASE}/bin/bash|" ${WRKSRC}/configure + +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${EXAMPLESDIR} + @${CP} ${WRKSRC}/test/README ${EXAMPLESDIR} + @${CP} ${WRKSRC}/test/example*.cpp ${EXAMPLESDIR} +.endif + +.include <bsd.port.post.mk> diff --git a/ftp/curlpp/distinfo b/ftp/curlpp/distinfo new file mode 100644 index 000000000000..bc617924c2ab --- /dev/null +++ b/ftp/curlpp/distinfo @@ -0,0 +1 @@ +MD5 (curlpp-0.3.0.tar.gz) = 985ff6899592bc4d8a257f8ce1a0882f diff --git a/ftp/curlpp/files/patch-curlpp_config.in b/ftp/curlpp/files/patch-curlpp_config.in new file mode 100644 index 000000000000..682848cbd28e --- /dev/null +++ b/ftp/curlpp/files/patch-curlpp_config.in @@ -0,0 +1,11 @@ +--- curlpp-config.in.orig Mon Dec 1 16:30:57 2003 ++++ curlpp-config.in Mon Dec 1 16:31:10 2003 +@@ -74,7 +74,7 @@ + ;; + + --libs) +- echo -L@libdir@ -lcurlpp @LDFLAGS@ @LIBS@ ++ echo -L@libdir@ -lcurlpp -lutilspp @LDFLAGS@ @LIBS@ + ;; + + *) diff --git a/ftp/curlpp/files/patch-ltmain.sh b/ftp/curlpp/files/patch-ltmain.sh new file mode 100644 index 000000000000..49640ca98b52 --- /dev/null +++ b/ftp/curlpp/files/patch-ltmain.sh @@ -0,0 +1,15 @@ +--- ltmain.sh.orig Thu Nov 27 11:22:47 2003 ++++ ltmain.sh Thu Nov 27 11:22:57 2003 +@@ -4344,10 +4344,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false ; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/ftp/curlpp/pkg-descr b/ftp/curlpp/pkg-descr new file mode 100644 index 000000000000..5b75c60abb3d --- /dev/null +++ b/ftp/curlpp/pkg-descr @@ -0,0 +1 @@ +curlpp is a C++ wrapper for libcurl. diff --git a/ftp/curlpp/pkg-plist b/ftp/curlpp/pkg-plist new file mode 100644 index 000000000000..c9b410a1ad75 --- /dev/null +++ b/ftp/curlpp/pkg-plist @@ -0,0 +1,75 @@ +bin/curlpp-config +include/curlpp/buffer.hpp +include/curlpp/curl.hpp +include/curlpp/curlpp.hpp +include/curlpp/easy.hpp +include/curlpp/exception.hpp +include/curlpp/file_trait.hpp +include/curlpp/ftp_easy.hpp +include/curlpp/http_easy.hpp +include/curlpp/memory_trait.hpp +include/curlpp/registerer.hpp +include/curlpp/registerer.inl +include/curlpp/registries.hpp +include/curlpp/registry.hpp +include/curlpp/registry.inl +include/curlpp/registry_base.hpp +include/curlpp/registry_base.inl +include/curlpp/registry_manager.hpp +include/curlpp/registry_manager.inl +include/curlpp/registry_manager_base.hpp +include/curlpp/registry_manager_impl.hpp +include/curlpp/registry_manager_impl.inl +include/curlpp/slist.hpp +include/curlpp/storage.hpp +include/curlpp/storage_trait.hpp +include/curlpp/stream_trait.hpp +include/curlpp/types.hpp +include/curlpp/utilspp/mutex/factory_mutex.hpp +include/curlpp/utilspp/mutex/factory_mutex_base.hpp +include/curlpp/utilspp/mutex/factory_mutex_container.hpp +include/curlpp/utilspp/mutex/factory_mutex_container.inl +include/curlpp/utilspp/mutex/mutex_factory.hpp +include/curlpp/utilspp/mutex/mutex_factory.inl +include/curlpp/utilspp/non_copyable.hpp +include/curlpp/utilspp/null_type.hpp +include/curlpp/utilspp/singleton.hpp +include/curlpp/utilspp/singleton/creation_static.hpp +include/curlpp/utilspp/singleton/creation_using_new.hpp +include/curlpp/utilspp/singleton/lifetime_default.hpp +include/curlpp/utilspp/singleton/lifetime_library.hpp +include/curlpp/utilspp/singleton/lifetime_library.inl +include/curlpp/utilspp/singleton/lifetime_with_longevity.hpp +include/curlpp/utilspp/singleton/lifetime_with_longevity.inl +include/curlpp/utilspp/singleton/private_members.hpp +include/curlpp/utilspp/singleton/private_members.inl +include/curlpp/utilspp/singleton/singleton_holder.hpp +include/curlpp/utilspp/singleton/singleton_holder.inl +include/curlpp/utilspp/singleton/threading_single.hpp +include/curlpp/utilspp/smart_ptr.hpp +include/curlpp/utilspp/type_list.hpp +include/curlpp/utilspp/type_trait.hpp +@dirrm include/curlpp/utilspp/mutex +@dirrm include/curlpp/utilspp/singleton +@dirrm include/curlpp/utilspp +@dirrm include/curlpp +lib/libcurlpp.so +lib/libcurlpp.so.0 +lib/libmutex.so +lib/libmutex.so.0 +lib/libsingleton.so +lib/libsingleton.so.0 +lib/libutilspp.so +lib/libutilspp.so.0 +%%PORTDOCS%%%%EXAMPLESDIR%%/README +%%PORTDOCS%%%%EXAMPLESDIR%%/example01.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/example02.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/example03.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/example04.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/example10.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/example11.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/example12.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/example13.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/example14.cpp +%%PORTDOCS%%%%EXAMPLESDIR%%/example15.cpp +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% |