summaryrefslogtreecommitdiffstats
path: root/ftp/ftp-proxy/Makefile
blob: f9d691561ea25040c1fa6d87b8d1a44c4e6adb12 (plain)
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.4p1
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.4:${PORTSDIR}/devel/libevent

MAN8=		ftp-proxy.8
MANCOMPRESSED=	yes

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

CFLAGS+=	-I${LOCALBASE}/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>
OpenPOWER on IntegriCloud