pkgsrc/net/ncftp2/Makefile
jlam dbfde59b14 The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra
definitions to add them from the package Makefiles.  As advised by the
bsd.buildlink.mk file, also ensure that the buildlink.mk files are
included prior to defining any package-specific CFLAGS/LDFLAGS to ensure
that the buildlink directories are at the head of the compiler search
paths.
2001-06-11 02:05:07 +00:00

39 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.27 2001/06/11 02:05:13 jlam Exp $
# FreeBSD Id: Makefile,v 1.39 1998/01/31 17:49:48 jseger Exp
#
DISTNAME= ncftp-2.4.3
CATEGORIES= net
MASTER_SITES= ftp://ftp.ncftp.com/ncftp/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.ncftp.com/ncftp/
COMMENT= FTP replacement with advanced user interface
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-extra-dirs
CONFIGURE_ARGS+= --disable-ncurses
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
CONFIGURE_ENV+= ac_cv_lib_intl_strftime=no
.include "../../mk/bsd.prefs.mk"
# Include SOCKS firewall support
.if defined(USE_SOCKS) && (${USE_SOCKS} == 4 || ${USE_SOCKS} == 5)
BUILD_DEFS+= USE_SOCKS
.if ${USE_SOCKS} == 4
CONFIGURE_ARGS+= --enable-socks
DEPENDS+= socks4-2.2:../../net/socks4
.else
CONFIGURE_ARGS+= --enable-socks5
DEPENDS+= socks5-1.0.2:../../net/socks5
.endif
.endif
.include "../../devel/readline/buildlink.mk"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ncftp ${PREFIX}/bin/ncftp2
${INSTALL_MAN} ${WRKSRC}/ncftp.1 ${PREFIX}/man/man1/ncftp2.1
.include "../../mk/bsd.pkg.mk"