aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-25 20:43:37 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-25 20:43:37 +0000
commit62ce000d166d3e37d44105eff6a50e0c0d8d654c (patch)
tree078aff83487bc03dc61977365eacddec8f2fba46 /ftp
parent375eb2ad74fa0016105518bd850716293cff7a39 (diff)
downloadports-62ce000d166d3e37d44105eff6a50e0c0d8d654c.tar.gz
ports-62ce000d166d3e37d44105eff6a50e0c0d8d654c.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/ftplib/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/ftp/ftplib/Makefile b/ftp/ftplib/Makefile
index 424a84cb7f07..76091f183073 100644
--- a/ftp/ftplib/Makefile
+++ b/ftp/ftplib/Makefile
@@ -11,14 +11,13 @@ COMMENT= Set of routines that implement the FTP protocol
WRKSRC= ${WRKDIR}/${DISTNAME}/src
-USE_GMAKE= yes
+USES= gmake
USE_LDCONFIG= yes
PLIST_FILES= bin/ftpdir bin/ftpget bin/ftplist bin/ftprm bin/ftpsend \
bin/qftp include/ftplib.h \
lib/libftp.a lib/libftp.so lib/libftp.so.4
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
'/^SOVERSION/s|=.*|= $$(SONAME)| ; \
@@ -29,12 +28,12 @@ post-patch:
/libftp.so/s|ln -sf|${TRUE}|' ${WRKSRC}/Makefile
do-install:
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} qftp ${PREFIX}/bin)
+ ${INSTALL_PROGRAM} ${WRKSRC}/qftp ${STAGEDIR}${PREFIX}/bin
.for i in ftpdir ftpget ftplist ftprm ftpsend
- (cd ${PREFIX}/bin && ${LN} -sf qftp ${i})
+ ${LN} -sf qftp ${STAGEDIR}${PREFIX}/bin/${i}
.endfor
- (cd ${WRKSRC} && ${INSTALL_DATA} ftplib.h ${PREFIX}/include)
- (cd ${WRKSRC} && ${INSTALL_DATA} libftp.a libftp.so.4 ${PREFIX}/lib)
- (cd ${PREFIX}/lib && ${LN} -sf libftp.so.4 libftp.so)
+ ${INSTALL_DATA} ${WRKSRC}/ftplib.h ${STAGEDIR}${PREFIX}/include
+ ${INSTALL_LIB} ${WRKSRC}/libftp.a ${WRKSRC}/libftp.so.4 ${STAGEDIR}${PREFIX}/lib
+ ${LN} -sf libftp.so.4 ${STAGEDIR}${PREFIX}/lib/libftp.so
.include <bsd.port.mk>