diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-02-11 07:55:29 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-02-11 07:55:29 +0000 |
commit | c52e18b93095e8fa2121f80626cb5b1e4a53abd4 (patch) | |
tree | 0d1d5cc07d1f10e60c18f8faa26b18c808bcc8b0 /ftp/ftplib/Makefile | |
parent | Upgrade to 8.1.1. (diff) |
add ftplib 3.1-1
A set of routines that implement the FTP protocol
Notes
Notes:
svn path=/head/; revision=100641
Diffstat (limited to 'ftp/ftplib/Makefile')
-rw-r--r-- | ftp/ftplib/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/ftp/ftplib/Makefile b/ftp/ftplib/Makefile new file mode 100644 index 000000000000..f8ade2097fb0 --- /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 <bsd.port.mk> |