7eeb51b534
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
55 lines
1.5 KiB
Makefile
55 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.107 2014/05/29 23:37:04 wiz Exp $
|
|
|
|
DISTNAME= lftp-4.4.6
|
|
PKGREVISION= 3
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://ftp.yar.ru/pub/source/lftp/ \
|
|
ftp://ftp.tuwien.ac.at/infosys/browsers/ftp/lftp/ \
|
|
ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/ \
|
|
ftp://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/ \
|
|
http://lftp.cybermirror.org/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pettai@NetBSD.org
|
|
HOMEPAGE= http://lftp.yar.ru/
|
|
COMMENT= Powerful command line file transfer client
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= autoconf bison
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --with-modules
|
|
|
|
REPLACE_SH= src/xdg-move
|
|
SHLIBTOOL_OVERRIDE= # empty
|
|
|
|
.include "options.mk"
|
|
|
|
LDFLAGS.Darwin+= -flat_namespace
|
|
.if ${OPSYS} == "Darwin"
|
|
INSTALL_UNSTRIPPED= yes
|
|
.endif
|
|
|
|
EGDIR= ${PREFIX}/share/examples/lftp
|
|
CONF_FILES= ${EGDIR}/lftp.conf.default ${PKG_SYSCONFDIR}/lftp.conf
|
|
|
|
INSTALLATION_DIRS= bin lib/lftp ${PKGMANDIR}/man1
|
|
INSTALLATION_DIRS+= share/examples/lftp share/lftp
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && autoconf
|
|
|
|
post-install: post-install-perl
|
|
${INSTALL_DATA} ${WRKSRC}/lftp.conf ${DESTDIR}${EGDIR}/lftp.conf.default
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
# uses _rl_mark_modified_lines
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|