summaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-11-09 16:21:40 +0000
committervs <vs@FreeBSD.org>2005-11-09 16:21:40 +0000
commit1e81d6a06f6990ff811daacc234145aa02f5b7a3 (patch)
tree7c45cda6e098c8ac2455d6a48502dcada7b1acf8 /ftp
parentc33c7c5cc729acc1f0a806e7fbf10daf75e804e3 (diff)
downloadFreeBSD-ports-1e81d6a06f6990ff811daacc234145aa02f5b7a3.zip
FreeBSD-ports-1e81d6a06f6990ff811daacc234145aa02f5b7a3.tar.gz
Cleanup a bit
Diffstat (limited to 'ftp')
-rw-r--r--ftp/ftplib/Makefile27
1 files changed, 12 insertions, 15 deletions
diff --git a/ftp/ftplib/Makefile b/ftp/ftplib/Makefile
index 5458b51..eaed2b4 100644
--- a/ftp/ftplib/Makefile
+++ b/ftp/ftplib/Makefile
@@ -10,7 +10,6 @@ PORTNAME= ftplib
PORTVERSION= 3.1.1
CATEGORIES= ftp
MASTER_SITES= http://www.nbpfaus.net/~pfau/ftplib/
-MASTER_SITE_SUBDIR= libs
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-src
PATCH_SITES= http://www.nbpfaus.net/~pfau/ftplib/
PATCHFILES= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}.patch
@@ -19,26 +18,24 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A set of routines that implement the FTP protocol
USE_REINPLACE= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}/linux
PATCH_DIST_STRIP= -p3
USE_GMAKE= yes
+MAKE_ARGS+= DEBUG="${CFLAGS}" LDFLAGS="${LDFLAGS} -L."
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})
+PLIST_FILES= lib/libftp.so lib/libftp.so.3 \
+ include/ftplib.h bin/qftp bin/ftpdir bin/ftpget \
+ bin/ftplist bin/ftprm bin/ftpsend
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 \
+ @(cd ${WRKSRC} ; \
+ ${INSTALL_PROGRAM} qftp ${PREFIX}/bin ; \
+ ${INSTALL_DATA} libftp.so.3 ${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 \
+ ${LN} -s qftp ${PREFIX}/bin/$$i ; done \
)
.include <bsd.port.mk>
OpenPOWER on IntegriCloud