From 2e606d90f5b0b0682430d3840f4d0d58913c811a Mon Sep 17 00:00:00 2001 From: ijliao Date: Wed, 11 Feb 2004 07:55:29 +0000 Subject: add ftplib 3.1-1 A set of routines that implement the FTP protocol --- ftp/Makefile | 1 + ftp/ftplib/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ ftp/ftplib/distinfo | 4 ++++ ftp/ftplib/pkg-descr | 5 +++++ 4 files changed, 55 insertions(+) create mode 100644 ftp/ftplib/Makefile create mode 100644 ftp/ftplib/distinfo create mode 100644 ftp/ftplib/pkg-descr (limited to 'ftp') diff --git a/ftp/Makefile b/ftp/Makefile index 386e626..da8c710 100644 --- a/ftp/Makefile +++ b/ftp/Makefile @@ -24,6 +24,7 @@ SUBDIR += ftpcube SUBDIR += ftpd-tls SUBDIR += ftpfind + SUBDIR += ftplib SUBDIR += ftplocate SUBDIR += ftpmirror SUBDIR += ftpproxy diff --git a/ftp/ftplib/Makefile b/ftp/ftplib/Makefile new file mode 100644 index 0000000..f8ade20 --- /dev/null +++ b/ftp/ftplib/Makefile @@ -0,0 +1,45 @@ +# ex:ts=8 +# Ports collection makefile for: ftplib +# Date created: Feb 11, 2004 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= ftplib +PORTVERSION= 3.1.1 +CATEGORIES= ftp +MASTER_SITES= http://www.nbpfaus.net/~pfau/ftplib/ \ + ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= libs +DISTNAME= ${PORTNAME}-${PORTVERSION:R}-src +PATCH_SITES= http://www.nbpfaus.net/~pfau/ftplib/ +PATCHFILES= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}.patch + +MAINTAINER= ports@FreeBSD.org +COMMENT= A set of routines that implement the FTP protocol + +USE_REINPLACE= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} +PATCH_DIST_STRIP= -p3 +USE_GMAKE= yes +INSTALLS_SHLIB= yes + +PLIST_FILES= lib/libftp.a lib/libftp.so lib/libftp.so.3 \ + include/ftplib.h + +post-patch: + @${REINPLACE_CMD} -e "s|^CFLAGS =|CFLAGS+=|" \ + -e "s|^LDFALGS =|LDFLAGS+=|" ${WRKSRC}/linux/Makefile + +do-build: + @(cd ${WRKSRC}/linux && ${GMAKE}) + +do-install: + @(cd ${WRKSRC}/linux ; \ + ${INSTALL_DATA} libftp.a libftp.so.3 ${PREFIX}/lib ; \ + ${LN} -fs ${PREFIX}/lib/libftp.so.3 ${PREFIX}/lib/libftp.so ; \ + ${INSTALL_DATA} ftplib.h ${PREFIX}/include \ + ) + +.include diff --git a/ftp/ftplib/distinfo b/ftp/ftplib/distinfo new file mode 100644 index 0000000..5932854 --- /dev/null +++ b/ftp/ftplib/distinfo @@ -0,0 +1,4 @@ +MD5 (ftplib-3.1-src.tar.gz) = c6af758ccbf806b28f022a587a41d9c5 +SIZE (ftplib-3.1-src.tar.gz) = 90243 +MD5 (ftplib-3.1-1.patch) = 8af14825ee91abfc1441a66ad009e68b +SIZE (ftplib-3.1-1.patch) = 6741 diff --git a/ftp/ftplib/pkg-descr b/ftp/ftplib/pkg-descr new file mode 100644 index 0000000..1d9af55 --- /dev/null +++ b/ftp/ftplib/pkg-descr @@ -0,0 +1,5 @@ +ftplib is a set of routines that implement the FTP protocol. They allow +applications to create and access remote files through function calls instead +of needing to fork and exec an interactive ftp client program. + +WWW: http://nbpfaus.net/~pfau/ftplib/ -- cgit v1.1