From ec8acbf4c62ea36ea981792d2f204d16c7c57b9c Mon Sep 17 00:00:00 2001 From: Ganael LAPLANCHE Date: Mon, 14 Feb 2011 14:20:35 +0000 Subject: - 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 --- ftp/lftp/Makefile | 19 ++++++++----------- ftp/lftp/distinfo | 4 ++-- 2 files changed, 10 insertions(+), 13 deletions(-) (limited to 'ftp/lftp') 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 -.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 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 -- cgit v1.2.3