aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ftpproxy/Makefile
blob: fc39f905f6735851c443f8b952d5d572219be0d6 (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
# 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_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>