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

PORTNAME=   ftp-proxy
PORTVERSION=    4.2p2
PORTREVISION=   1
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>