freebsd-ports/ftp/ncftp3/Makefile

57 lines
1.7 KiB
Makefile
Raw Normal View History

# ex:ts=8
1995-03-20 16:32:29 -05:00
# New ports collection makefile for: ncftp2
# Version required: 3.0
1994-11-04 04:35:57 -05:00
# Date created: 4 Nov 1994
# Whom: ache
#
1998-09-26 23:02:15 -04:00
# $Id: Makefile,v 1.57 1998/09/07 20:38:02 ache Exp $
1994-11-04 04:35:57 -05:00
#
1998-07-01 22:10:24 -04:00
DISTNAME= ncftp-3.0beta14-src
PKGNAME= ncftp-3.0b14
CATEGORIES= net
1998-01-31 12:49:54 -05:00
MASTER_SITES= ftp://ftp.ncftp.com/ncftp/3.0BETA/
1998-01-07 06:42:12 -05:00
MAINTAINER= obrien@FreeBSD.ORG
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
GNU_CONFIGURE= yes
MAN1= ncftp3.1 ncftpbatch.1 ncftpget.1 ncftpls.1 ncftpput.1
MAN3= Strn.3
1998-08-13 20:22:06 -04:00
NO_LATEST_LINK= yes
1994-11-04 04:35:57 -05:00
1998-05-09 14:42:01 -04: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
pre-build:
cd ${WRKSRC}/Strn ; make so
cd ${WRKSRC}/libncftp ; make so
1995-05-07 16:57:56 -04:00
do-install:
@$(INSTALL_PROGRAM) $(WRKSRC)/bin/ncftp $(PREFIX)/bin/ncftp3
@cd ${WRKSRC}/bin ; $(INSTALL_PROGRAM) \
ncftpbatch ncftpget ncftpls ncftpput ncftpbookmarks \
$(PREFIX)/bin
1998-09-26 23:02:15 -04:00
@$(INSTALL_DATA) $(WRKSRC)/Strn/libStrn.so.1 $(PREFIX)/lib/$(LIBSTRN)
@cd $(PREFIX)/lib && ${LN} -s $(LIBSTRN) libStrn.so
@$(INSTALL_DATA) $(WRKSRC)/libncftp/libncftp.so.2 $(PREFIX)/lib/$(LIBNCFTP)
@cd $(PREFIX)/lib && ${LN} -s $(LIBNCFTP) libncftp.so
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
@$(INSTALL_MAN) $(WRKSRC)/doc/man/ncftp.1 $(PREFIX)/man/man1/ncftp3.1
@cd ${WRKSRC}/doc/man ; $(INSTALL_MAN) \
ncftpbatch.1 ncftpget.1 ncftpls.1 ncftpput.1 \
$(PREFIX)/man/man1
@$(INSTALL_MAN) $(WRKSRC)/Strn/Strn.3 $(PREFIX)/man/man3
1998-09-26 23:02:15 -04:00
1994-11-04 04:35:57 -05:00
.include <bsd.port.mk>
1998-09-26 23:02:15 -04:00
.if ${PORTOBJFORMAT} == "elf"
LIBNCFTP= libncftp.so.2
LIBSTRN=libStrn.so.1
.else
LIBNCFTP= libncftp.so.2.0
LIBSTRN=libStrn.so.1.0
.endif