aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ftpproxy/Makefile
blob: eac6c564b613cd5b99f37b1088eb3835efd48cfa (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
# Created by: 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/

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

USES=       gmake tar:tgz
MAKE_JOBS_UNSAFE=   yes
MAKE_ARGS=  CC="${CC}"

PLIST_FILES=    sbin/ftp.proxy \
        man/man1/ftp.proxy.1.gz

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

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

.include <bsd.port.mk>