freebsd-ports/ftp/ncftp3/Makefile

61 lines
1.5 KiB
Makefile
Raw Normal View History

# Created by: ache
1999-08-25 07:57:29 +02:00
# $FreeBSD$
1994-11-04 10:35:57 +01:00
PORTNAME= ncftp
2012-04-18 01:12:18 +02:00
PORTVERSION= 3.2.5
PORTREVISION?= 0
2001-02-06 09:45:22 +01:00
CATEGORIES= ftp ipv6
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
MAINTAINER= obrien@FreeBSD.org
COMMENT= FTP client with advanced user interface
LICENSE_FILE= ${WRKSRC}/doc/LICENSE.txt
USES= tar:bzip2
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
OPTIONS_DEFINE= LIBS DOCS
OPTIONS_DEFAULT=LIBS
LIBS_DESC= Install optional libraries
OPTIONS_SUB= yes
PORTDOCS= *
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
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLIBS}
pre-build:
.for dir in Strn libncftp sio
${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} -C ${WRKSRC}/${dir} so
.endfor
.endif
1995-05-07 22:57:56 +02:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/bin
${LN} -sf ncftpbatch ${STAGEDIR}${PREFIX}/bin/ncftpspooler
${INSTALL_MAN} ${WRKSRC}/doc/man/* ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/Strn/Strn.3 ${STAGEDIR}${MANPREFIX}/man/man3
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-${RM} -r ${STAGEDIR}${DOCSDIR}/man
.if ${PORT_OPTIONS:MLIBS}
${INSTALL_LIB} ${WRKSRC}/Strn/${LIBSTRN} ${STAGEDIR}${PREFIX}/lib
.for lib in libncftp/${LIBNCFTP} sio/${LIBSIO} Strn/${LIBSTRN}
${INSTALL_LIB} ${WRKSRC}/${lib} ${STAGEDIR}${PREFIX}/lib
${LN} -sf ${lib:T} ${STAGEDIR}${PREFIX}/lib/${lib:T:R}
.endfor
.endif
1998-09-27 05:02:15 +02:00
.include <bsd.port.mk>