aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ncftp3/Makefile
blob: cc7cbc82b46f86bb9fa3d4ef677bef0419f3967b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# ex:ts=8
# New ports collection makefile for:    ncftp2
# Version required:     2.4.2
# Date created:         4 Nov 1994
# Whom:                 ache
#
# $Id: Makefile,v 1.38 1997/01/09 11:58:47 ache Exp $
#

DISTNAME=   ncftp-3.0beta6-src
PKGNAME=    ncftp-3.0b6
CATEGORIES= net
MASTER_SITES=   ftp://ftp.probe.net/pub/ncftp/3.0BETA/

MAINTAINER= ache@FreeBSD.ORG

WRKSRC=     ${WRKDIR}/${DISTNAME:S/-src//}
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  ac_cv_func_getmaxyx=yes ac_cv_lib_readline=yes
MAN1=       ncftp3.1 ncftpbatch.1 ncftpget.1 ncftpls.1 ncftpput.1
MAN3=       Strn.3

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 $(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>