mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
46 lines
1.4 KiB
Makefile
46 lines
1.4 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: ncftp2
|
|
# Version required: 3.0
|
|
# Date created: 4 Nov 1994
|
|
# Whom: ache
|
|
#
|
|
# $Id: Makefile,v 1.54 1998/08/13 23:26:43 ache Exp $
|
|
#
|
|
|
|
DISTNAME= ncftp-3.0beta14-src
|
|
PKGNAME= ncftp-3.0b14
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.ncftp.com/ncftp/3.0BETA/
|
|
|
|
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
|
|
NO_LATEST_LINK= yes
|
|
|
|
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
|
|
|
|
do-install:
|
|
@$(INSTALL_PROGRAM) $(WRKSRC)/bin/ncftp $(PREFIX)/bin/ncftp3
|
|
@cd ${WRKSRC}/bin ; $(INSTALL_PROGRAM) \
|
|
ncftpbatch ncftpget ncftpls ncftpput ncftpbookmarks \
|
|
$(PREFIX)/bin
|
|
@$(INSTALL_DATA) $(WRKSRC)/Strn/libStrn.so.1 $(PREFIX)/lib
|
|
@$(INSTALL_DATA) $(WRKSRC)/libncftp/libncftp.so.2 $(PREFIX)/lib
|
|
@${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
|
|
.include <bsd.port.mk>
|