aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2007-12-03 11:56:58 +0800
committerbeech <beech@FreeBSD.org>2007-12-03 11:56:58 +0800
commitb76dcdcd752d89b093e78d09c79111dd7a76069d (patch)
treeabf61b3cf154228748bf5c92b269c5f39c6dce8c
parent024ec21b2db3ec437995c836475934542428363d (diff)
downloadfreebsd-ports-gnome-b76dcdcd752d89b093e78d09c79111dd7a76069d.tar.gz
freebsd-ports-gnome-b76dcdcd752d89b093e78d09c79111dd7a76069d.tar.zst
freebsd-ports-gnome-b76dcdcd752d89b093e78d09c79111dd7a76069d.zip
- Fix install of libftp.a
- Pet portlint PR: ports/118165 Submitted by: Stepan Zastupov <redchrom@gmail.com> Approved by: portmgr (linimon, mentor)
-rw-r--r--ftp/ftplib/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/ftp/ftplib/Makefile b/ftp/ftplib/Makefile
index 22bab8f2b1bc..02458c03a341 100644
--- a/ftp/ftplib/Makefile
+++ b/ftp/ftplib/Makefile
@@ -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 \