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

PORTNAME=   ftpproxy
PORTVERSION=    1.2.3
PORTREVISION=   1
CATEGORIES= ftp
MASTER_SITES=   http://www.ftpproxy.org/download/ \
        http://www.ftpproxy.org/download/older_releases/
EXTRACT_SUFX=   .tgz

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

USE_REINPLACE=  yes
USE_GMAKE=  yes

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

pre-build:
    @${REINPLACE_CMD} -e 's|^CFLAGS.*|CFLAGS=${CFLAGS} \
         -DVERSION=\\"${PORTVERSION}\\"|' ${WRKSRC}/src/Makefile

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

.include <bsd.port.mk>