1997-12-14 17:45:44 +01:00
|
|
|
# ex:ts=8
|
2000-02-13 04:25:05 +01:00
|
|
|
# Ports collection makefile for: ncftp3
|
|
|
|
# Date created: 4 Nov 1994
|
|
|
|
# Whom: ache
|
1994-11-04 10:35:57 +01:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1994-11-04 10:35:57 +01:00
|
|
|
#
|
|
|
|
|
2001-11-21 20:38:42 +01:00
|
|
|
PORTNAME= ncftp
|
2009-12-17 18:33:18 +01:00
|
|
|
PORTVERSION= 3.2.3
|
|
|
|
PORTREVISION?= 0
|
2001-02-06 09:45:22 +01:00
|
|
|
CATEGORIES= ftp ipv6
|
2009-12-17 18:33:18 +01:00
|
|
|
MASTER_SITES= ftp://ftp.ncftp.com/ncftp/ \
|
|
|
|
ftp://ftp.mirrorservice.org/sites/ftp.ncftp.com/ncftp/
|
2000-04-12 07:31:29 +02:00
|
|
|
DISTNAME= ncftp-${PORTVERSION}-src
|
1995-04-12 06:56:21 +02:00
|
|
|
|
2008-03-18 19:29:18 +01:00
|
|
|
.if !defined(WITHOUT_NCFTP_IPV6) && !defined(WITHOUT_IPV6)
|
2002-06-13 19:15:45 +02:00
|
|
|
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
|
2009-12-17 18:33:18 +01:00
|
|
|
PATCHFILES= ncftp-323-v6-20091109.diff.gz
|
2002-06-13 19:15:45 +02:00
|
|
|
PATCH_DIST_STRIP= -p1
|
2008-03-18 19:29:18 +01:00
|
|
|
.endif
|
2001-02-06 09:45:22 +01:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= ftp replacement with advanced user interface
|
1995-04-12 06:56:21 +02:00
|
|
|
|
2003-04-19 02:13:06 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-04-19 13:42:54 +02:00
|
|
|
.if defined(INSTALL_AS_NCFTP3)
|
2001-11-21 20:38:42 +01:00
|
|
|
LATEST_LINK= ncftp3
|
2004-04-19 13:42:54 +02:00
|
|
|
.else
|
|
|
|
LATEST_LINK= ncftp
|
2002-08-04 07:38:32 +02:00
|
|
|
.endif
|
1997-12-14 17:45:44 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
|
2007-12-19 02:59:59 +01:00
|
|
|
USE_LDCONFIG= yes
|
1997-12-14 17:45:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
1998-11-11 21:58:50 +01:00
|
|
|
CONFIGURE_ARGS= --with-ncurses
|
2009-12-17 18:33:18 +01:00
|
|
|
CONFIGURE_ENV= TAR=/usr/bin/tar
|
2002-08-04 07:38:32 +02:00
|
|
|
PLIST_SUB= NCFTP=${LATEST_LINK}
|
|
|
|
MAN1= ${LATEST_LINK}.1 ncftpbatch.1 ncftpget.1 ncftpls.1 ncftpput.1 \
|
2002-07-05 20:34:28 +02:00
|
|
|
ncftpspooler.1
|
1997-12-14 17:45:44 +01:00
|
|
|
MAN3= Strn.3
|
1994-11-04 10:35:57 +01:00
|
|
|
|
2008-08-26 18:21:45 +02:00
|
|
|
LIBNCFTP= libncftp.so.3
|
2002-07-05 20:34:28 +02:00
|
|
|
LIBSIO= libsio.so.5
|
2000-04-22 11:56:44 +02:00
|
|
|
LIBSTRN= libStrn.so.1
|
1998-11-14 10:43:39 +01:00
|
|
|
|
2002-08-04 07:38:32 +02:00
|
|
|
pre-fetch:
|
|
|
|
@${ECHO} ""
|
2004-04-19 13:42:54 +02:00
|
|
|
@${ECHO} "Use INSTALL_AS_NCFTP3=yes to install ncftp v3 as ${PREFIX}/bin/ncftp3"
|
2002-08-04 07:38:32 +02:00
|
|
|
@${ECHO} ""
|
|
|
|
|
1997-12-14 17:45:44 +01:00
|
|
|
pre-build:
|
|
|
|
cd ${WRKSRC}/Strn ; make so
|
|
|
|
cd ${WRKSRC}/libncftp ; make so
|
2002-07-05 20:34:28 +02:00
|
|
|
cd ${WRKSRC}/sio; make so
|
1995-05-07 22:57:56 +02:00
|
|
|
|
1997-12-14 17:45:44 +01:00
|
|
|
do-install:
|
2002-08-04 07:38:32 +02:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bin/ncftp ${PREFIX}/bin/${LATEST_LINK}
|
2000-04-22 11:56:44 +02:00
|
|
|
@cd ${WRKSRC}/bin ; ${INSTALL_PROGRAM} \
|
2009-12-17 18:33:18 +01:00
|
|
|
ncftpbatch ncftpbookmarks ncftpget ncftpls ncftpput \
|
2000-04-22 11:56:44 +02:00
|
|
|
${PREFIX}/bin
|
2002-07-06 04:24:58 +02:00
|
|
|
@cd ${PREFIX}/bin && ${LN} -f ncftpbatch ncftpspooler
|
|
|
|
@cd ${WRKSRC} && ${INSTALL_DATA} \
|
|
|
|
Strn/${LIBSTRN} libncftp/${LIBNCFTP} sio/${LIBSIO} \
|
2002-07-05 20:34:28 +02:00
|
|
|
${PREFIX}/lib
|
|
|
|
@cd ${PREFIX}/lib \
|
2002-07-06 04:24:58 +02:00
|
|
|
&& ${LN} -sf ${LIBSTRN} libStrn.so \
|
2002-07-05 20:34:28 +02:00
|
|
|
&& ${LN} -sf ${LIBNCFTP} libncftp.so \
|
|
|
|
&& ${LN} -sf ${LIBSIO} libsio.so
|
2002-08-04 07:38:32 +02:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/doc/man/ncftp.1 \
|
|
|
|
${PREFIX}/man/man1/${LATEST_LINK}.1
|
2000-04-22 11:56:44 +02:00
|
|
|
@cd ${WRKSRC}/doc/man ; ${INSTALL_MAN} \
|
2002-07-05 20:34:28 +02:00
|
|
|
ncftpbatch.1 ncftpget.1 ncftpls.1 ncftpput.1 ncftpspooler.1 \
|
2000-04-22 11:56:44 +02:00
|
|
|
${PREFIX}/man/man1
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/Strn/Strn.3 ${PREFIX}/man/man3
|
1998-09-27 05:02:15 +02:00
|
|
|
|
2003-04-19 02:13:06 +02:00
|
|
|
.include <bsd.port.post.mk>
|