aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/bbftp/Makefile
blob: 7650d9ecb1dd4c0e0bbf1ed7abb7d9302aaaeb3c (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
40
41
42
# New ports collection makefile for:    bbftp
# Date created:             6 June 2006
# Whom:                 Petr Holub <hopet@ics.muni.cz>
#
# $FreeBSD$
#

PORTNAME=   bbftp
PORTVERSION=    3.0.2
CATEGORIES= ftp
MASTER_SITES=   http://doc.in2p3.fr/bbftp/dist/ \
        http://ftp.riken.go.jp/pub/net/bbftp/

MAINTAINER= hopet@ics.muni.cz
COMMENT=    Multiple stream file transfer protocol optimized for large files

USE_GMAKE=  yes
GNU_CONFIGURE=  yes

EXTRA_PATCHES=  ${FILESDIR}/bbftp.patch

USE_RC_SUBR=    bbftpd

MAN1=       bbftp.1 bbftpd.1

do-configure:
    ${CP} -f ${TEMPLATES}/config.guess ${WRKSRC}
    ${CP} -f ${TEMPLATES}/config.sub ${WRKSRC}
    cd ${WRKSRC}/bbftpc && ./configure --prefix=${PREFIX} ${CONFIGURE_ARGS}
    cd ${WRKSRC}/bbftpd && ./configure --prefix=${PREFIX} ${CONFIGURE_ARGS}

do-build:
    cd ${WRKSRC}/bbftpc && ${GMAKE}
    cd ${WRKSRC}/bbftpd && ${GMAKE}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bbftpc/bbftp ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/bbftpd/bbftpd ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/doc/bbftp.1 ${PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/doc/bbftpd.1 ${PREFIX}/man/man1

.include <bsd.port.mk>