1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Use the gettext port. Remove an include which is already in the base

system.

Approved by:	maintainer
This commit is contained in:
Jeremy Lea 2000-10-01 09:33:41 +00:00
parent 90f9887c7f
commit ed5a5fec59
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33279

View File

@ -14,22 +14,26 @@ MASTER_SITE_SUBDIR= system/network/file-transfer
MAINTAINER= cj@vallcom.net
GNU_CONFIGURE= yes
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
USE_BZIP2= yes
USE_OPENSSL= yes
CONFIGURE_ENV= CXXFLAGS="${CFLAGS}"
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
MAN1= lftp.1
post-extract:
@ ${CP} ${FILESDIR}/nameser.h ${WRKSRC}/src
pre-patch:
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
post-install:
@ ${INSTALL_DATA} ${WRKSRC}/lftp.conf ${PREFIX}/etc/lftp.conf.sample
${INSTALL_DATA} ${WRKSRC}/lftp.conf ${PREFIX}/etc/lftp.conf.sample
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${PREFIX}/share/doc/lftp
@${MKDIR} ${PREFIX}/share/doc/lftp
.for file in COPYING FAQ NEWS README THANKS TODO
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/lftp
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/lftp
.endfor
.endif