aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ftpproxy/Makefile
blob: 058f1a8d0c0f496e55417a86ce118180380829cc (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
# New ports collection makefile for:    ftpproxy
# Date created:             15 May 2001
# Whom:                 Philippe Le Berre <philippe@le-berre.com>
#
# $FreeBSD$
#

PORTNAME=   ftpproxy
PORTVERSION=    1.1.5
CATEGORIES= ftp
MASTER_SITES=   http://www.ftpproxy.org/download/ \
        ftp://ftp.daemons.de/ \
        http://www.ftpproxy.org/download/older_releases/ \
        ftp://ftp.daemons.de/older_releases/
EXTRACT_SUFX=   .tgz

MAINTAINER= philippe@le-berre.com
COMMENT=    A ftp proxy

WRKSRC=     ${WRKDIR}/${DISTNAME}/src
USE_REINPLACE=  yes

MAN1=       ftp.proxy.1
MANCOMPRESSED=  no
PLIST_FILES=    sbin/ftp.proxy

pre-patch:
    @${RM} -Rf ${WRKSRC}/*.o ${WRKSRC}/src/ftp.proxy
    @${REINPLACE_CMD} -e 's|SOL_TCP|SOL_SOCKET|' ${WRKSRC}/ftp.c

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/ftp.proxy ${PREFIX}/sbin
    @${INSTALL_MAN} ${WRKSRC}/../doc/ftp.proxy.1 ${PREFIX}/man/man1

.include <bsd.port.mk>