- 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
This commit is contained in:
Ganael LAPLANCHE 2011-02-14 14:20:35 +00:00
parent c44d611a05
commit ec8acbf4c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269151
2 changed files with 10 additions and 13 deletions

View File

@ -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>

View File

@ -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