1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- Fix install of libftp.a

- Pet portlint

PR:		ports/118165
Submitted by:	Stepan Zastupov  <redchrom@gmail.com>
Approved by:	portmgr (linimon, mentor)
This commit is contained in:
Beech Rintoul 2007-12-03 03:56:58 +00:00
parent ae0931ac45
commit 4fe8855cf5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202882

View File

@ -11,19 +11,21 @@ PORTVERSION= 3.1.1
CATEGORIES= ftp
MASTER_SITES= http://www.nbpfaus.net/~pfau/ftplib/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-src
PATCH_SITES= http://www.nbpfaus.net/~pfau/ftplib/
PATCHFILES= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}.patch
PATCH_DIST_STRIP= -p3
MAINTAINER= ports@FreeBSD.org
COMMENT= A set of routines that implement the FTP protocol
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}/linux
PATCH_DIST_STRIP= -p3
USE_GMAKE= yes
MAKE_ARGS+= DEBUG="${CFLAGS}" LDFLAGS="${LDFLAGS} -L."
USE_LDCONFIG= yes
PLIST_FILES= lib/libftp.so lib/libftp.so.3 \
PLIST_FILES= lib/libftp.so lib/libftp.so.3 lib/libftp.a \
include/ftplib.h bin/qftp bin/ftpdir bin/ftpget \
bin/ftplist bin/ftprm bin/ftpsend
@ -31,6 +33,7 @@ do-install:
@(cd ${WRKSRC} ; \
${INSTALL_PROGRAM} qftp ${PREFIX}/bin ; \
${INSTALL_DATA} libftp.so.3 ${PREFIX}/lib ; \
${INSTALL_DATA} libftp.a ${PREFIX}/lib ; \
${LN} -fs ${PREFIX}/lib/libftp.so.3 ${PREFIX}/lib/libftp.so ; \
${INSTALL_DATA} ftplib.h ${PREFIX}/include ; \
for i in ftpdir ftpget ftplist ftprm ftpsend; do \