diff options
author | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2011-02-14 14:20:35 +0000 |
---|---|---|
committer | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2011-02-14 14:20:35 +0000 |
commit | ec8acbf4c62ea36ea981792d2f204d16c7c57b9c (patch) | |
tree | 2c2299b8dd89055acef7dad005fa223d8f2e355b /ftp/lftp | |
parent | c44d611a058db2f69ae8ea5f547d351751df5881 (diff) | |
download | ports-ec8acbf4c62ea36ea981792d2f204d16c7c57b9c.tar.gz ports-ec8acbf4c62ea36ea981792d2f204d16c7c57b9c.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
Notes
Notes:
svn path=/head/; revision=269151
Diffstat (limited to 'ftp/lftp')
-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 |