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

PORTNAME=   ftp-proxy
PORTVERSION=    4.1p2
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.3b:${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} < 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>