1997-12-14 16:45:44 +00:00
|
|
|
# ex:ts=8
|
2000-02-13 03:25:05 +00:00
|
|
|
# Ports collection makefile for: ncftp3
|
|
|
|
# Date created: 4 Nov 1994
|
|
|
|
# Whom: ache
|
1994-11-04 09:35:57 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1994-11-04 09:35:57 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 05:31:29 +00:00
|
|
|
PORTNAME= ncftp3
|
|
|
|
PORTVERSION= 3.0.1
|
1999-08-02 10:44:03 +00:00
|
|
|
CATEGORIES= ftp
|
2000-03-22 14:41:36 +00:00
|
|
|
MASTER_SITES= ftp://ftp.ncftp.com/ncftp/
|
2000-04-12 05:31:29 +00:00
|
|
|
DISTNAME= ncftp-${PORTVERSION}-src
|
1995-04-12 04:56:21 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1995-04-12 04:56:21 +00:00
|
|
|
|
1997-12-14 16:45:44 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
1997-12-14 16:45:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1998-11-11 20:58:50 +00:00
|
|
|
CONFIGURE_ARGS= --with-ncurses
|
1997-12-14 16:45:44 +00:00
|
|
|
MAN1= ncftp3.1 ncftpbatch.1 ncftpget.1 ncftpls.1 ncftpput.1
|
|
|
|
MAN3= Strn.3
|
1994-11-04 09:35:57 +00:00
|
|
|
|
2000-04-22 09:56:44 +00:00
|
|
|
LIBNCFTP= libncftp.so.2
|
|
|
|
LIBSTRN= libStrn.so.1
|
1998-11-14 09:43:39 +00:00
|
|
|
|
1998-05-09 18:42:01 +00:00
|
|
|
post-patch:
|
|
|
|
@${MV} ${WRKSRC}/ncftp/pref.h ${WRKSRC}/ncftp/pref.h.in
|
|
|
|
@${SED} -e 's:/etc/ncftp.firewall:${PREFIX}/etc/ncftp.firewall:' \
|
|
|
|
${WRKSRC}/ncftp/pref.h.in > ${WRKSRC}/ncftp/pref.h
|
|
|
|
|
1997-12-14 16:45:44 +00:00
|
|
|
pre-build:
|
|
|
|
cd ${WRKSRC}/Strn ; make so
|
|
|
|
cd ${WRKSRC}/libncftp ; make so
|
1995-05-07 20:57:56 +00:00
|
|
|
|
1997-12-14 16:45:44 +00:00
|
|
|
do-install:
|
2000-04-22 09:56:44 +00:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bin/ncftp ${PREFIX}/bin/ncftp3
|
|
|
|
@cd ${WRKSRC}/bin ; ${INSTALL_PROGRAM} \
|
1998-08-13 23:25:21 +00:00
|
|
|
ncftpbatch ncftpget ncftpls ncftpput ncftpbookmarks \
|
2000-04-22 09:56:44 +00:00
|
|
|
${PREFIX}/bin
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/Strn/libStrn.so.1 ${PREFIX}/lib/${LIBSTRN}
|
|
|
|
@cd ${PREFIX}/lib && ${LN} -sf ${LIBSTRN} libStrn.so
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/libncftp/libncftp.so.2 ${PREFIX}/lib/${LIBNCFTP}
|
|
|
|
@cd ${PREFIX}/lib && ${LN} -sf ${LIBNCFTP} libncftp.so
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/doc/man/ncftp.1 ${PREFIX}/man/man1/ncftp3.1
|
|
|
|
@cd ${WRKSRC}/doc/man ; ${INSTALL_MAN} \
|
1997-12-14 16:45:44 +00:00
|
|
|
ncftpbatch.1 ncftpget.1 ncftpls.1 ncftpput.1 \
|
2000-04-22 09:56:44 +00:00
|
|
|
${PREFIX}/man/man1
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/Strn/Strn.3 ${PREFIX}/man/man3
|
1998-09-27 03:02:15 +00:00
|
|
|
|
2000-04-22 09:56:44 +00:00
|
|
|
.include <bsd.port.mk>
|