aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ftp-proxy/Makefile
blob: a03d5d513d2cfd4a39f80d1163d684a796a9fe03 (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
# New ports collection makefile for:    ftp-proxy
# Date created:        4. March 2007
# Whom:                Christian Ludwig
#
# $FreeBSD$
#

PORTNAME=   ftp-proxy
PORTVERSION=    4.3p1
CATEGORIES= ftp
MASTER_SITES=   http://www.chrissicool.net/projects/ftp-proxy/distfiles/

MAINTAINER= chrissicool@chrissicool.net
COMMENT=    A port of OpenBSD's ftp-proxy

LIB_DEPENDS=    event-1.3e:${PORTSDIR}/devel/libevent

MAN8=       ftp-proxy.8
MANCOMPRESSED=  yes

PLIST_FILES=    sbin/ftp-proxy
USE_RC_SUBR=    ftp-proxy

CFLAGS+=    -I${PREFIX}/include

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 700048
IGNORE=     is a part of base for 7.0 and above
.endif

.if ${OSVERSION} < 502106
IGNORE=     only for 5.3 and above
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ftp-proxy ${PREFIX}/sbin
    ${INSTALL_MAN} ${WRKSRC}/ftp-proxy.8.gz ${PREFIX}/man/man8

.include <bsd.port.post.mk>