1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/ftp/pftpx/Makefile
Andrey Slusar ee747397fb Move pftpx from missed dir pfptx.
Approved by:	sem(mentor)
2005-12-26 07:53:00 +00:00

46 lines
1.0 KiB
Makefile

# New ports collection makefile for: pftpx
# Date created: 27 June 2005
# Whom: Scott Ullrich (geekgod@geekgod.com)
#
# $FreeBSD$
PORTNAME= pftpx
PORTVERSION= 0.8
CATEGORIES= ftp
MASTER_SITES= http://www.sentia.org/downloads/
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= geekgod@geekgod.com
COMMENT= Much enhanced ftp proxy for pf that supports most ftp protocols
LIB_DEPENDS= event-1.1a:${PORTSDIR}/devel/libevent
MAN8= pftpx.8
PLIST_FILES= sbin/pftpx
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= only for 5.0 and above
.endif
.if ${OSVERSION} < 502116
MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=34
.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
CFLAGS+= -DHAVE_ALTQ=1
.endif
.elif ${OSVERSION} < 600025
MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=35
CFLAGS+= -DHAVE_ALTQ=1 -DHAVE_RULE_ANCHOR=1
.else
MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=37
CFLAGS+= -DHAVE_ALTQ=1
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pftpx ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/pftpx.8 ${PREFIX}/man/man8
.include <bsd.port.post.mk>