diff options
author | martymac <martymac@FreeBSD.org> | 2011-02-14 22:20:35 +0800 |
---|---|---|
committer | martymac <martymac@FreeBSD.org> | 2011-02-14 22:20:35 +0800 |
commit | d1c323c7ba9734ee98877d23ba4fefa63d67a214 (patch) | |
tree | 45da9c0cb20b711aa602f3ce034da9741bd746da /ftp | |
parent | 96ff480446f76f1ce27852ecd702895ba639e9fa (diff) | |
download | freebsd-ports-gnome-d1c323c7ba9734ee98877d23ba4fefa63d67a214.tar.gz freebsd-ports-gnome-d1c323c7ba9734ee98877d23ba4fefa63d67a214.tar.zst freebsd-ports-gnome-d1c323c7ba9734ee98877d23ba4fefa63d67a214.zip |
- Update to 4.1.3
- Remove outdated DEPENDS (related to now EOL'd FreeBSD versions)
- Reworked PORTDOCS and config file installation
Approved by: ehaupt (mentor)
Feature safe: yes
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/lftp/Makefile | 19 | ||||
-rw-r--r-- | ftp/lftp/distinfo | 4 |
2 files changed, 10 insertions, 13 deletions
diff --git a/ftp/lftp/Makefile b/ftp/lftp/Makefile index 2577a3c29d97..18f6cdd6b315 100644 --- a/ftp/lftp/Makefile +++ b/ftp/lftp/Makefile @@ -6,7 +6,7 @@ # PORTNAME= lftp -PORTVERSION= 4.1.2 +PORTVERSION= 4.1.3 CATEGORIES= ftp ipv6 MASTER_SITES= http://ftp.yars.free.net/pub/source/lftp/ \ http://ftp.yars.free.net/pub/source/lftp/old/ \ @@ -42,11 +42,6 @@ OPTIONS= OPENSSL "With OpenSSL support" on \ .include <bsd.port.pre.mk> -.if ${OSVERSION} < 602109 || (${OSVERSION} > 700000 && ${OSVERSION} < 700029) -BUILD_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.6:${PORTSDIR}/devel/readline -RUN_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.6:${PORTSDIR}/devel/readline -.endif - .if !defined(WITHOUT_OPENSSL) .include "${PORTSDIR}/Mk/bsd.openssl.mk" CONFIGURE_ARGS+= --with-openssl @@ -82,13 +77,15 @@ pre-configure: post-install: @${INSTALL_DATA} ${WRKSRC}/lftp.conf ${PREFIX}/etc/lftp.conf.sample - @if [ ! -f ${PREFIX}/etc/lftp.conf ]; then \ - ${CP} -p ${PREFIX}/etc/lftp.conf.sample ${PREFIX}/etc/lftp.conf ; \ - fi +.if !exists(${PREFIX}/etc/lftp.conf) + ${CP} -p ${PREFIX}/etc/lftp.conf.sample ${PREFIX}/etc/lftp.conf +.endif .if !defined(NOPORTDOCS) - @${INSTALL} -d ${DOCSDIR} - @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + ${MKDIR} ${DOCSDIR} +.for doc in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} +.endfor .endif .include <bsd.port.post.mk> diff --git a/ftp/lftp/distinfo b/ftp/lftp/distinfo index dcb9dab60c36..fe6e9d976ac8 100644 --- a/ftp/lftp/distinfo +++ b/ftp/lftp/distinfo @@ -1,2 +1,2 @@ -SHA256 (lftp-4.1.2.tar.gz) = 5574423207532182f412b0d4c2a385fa507ae9bb0524be66278c41ad0d2d74a1 -SIZE (lftp-4.1.2.tar.gz) = 2245678 +SHA256 (lftp-4.1.3.tar.gz) = a286f8d314d3f0e1026ad1c10791bd190abbb8425739c526c44b1bed1e61fba4 +SIZE (lftp-4.1.3.tar.gz) = 2244819 |