freebsd-ports/net/userfw/Makefile
William Grzybowski 9fb3cddb69 net/userfw: support stage [1]
- Fix for FreeBSD >= 10 [1]
- USES tar:xz [1]
- USES kmod
- Remove check for FreeBSD < 8
- Pass maintainership to submitter

PR:		192235
Submitted by:	gelraen.ua gmail com [1]
2014-07-29 14:07:41 +00:00

34 lines
732 B
Makefile

# Created by: Maxim Ignatenko
# $FreeBSD$
PORTNAME= userfw
PORTVERSION= 0.1.3
CATEGORIES= net kld
MASTER_SITES= http://userfw.net/files/release/ \
http://imax.in.ua/files/ \
http://projects.ukrweb.net/files/
MAINTAINER= gelraen.ua@gmail.com
COMMENT= Modular packet filter
LICENSE= BSD2CLAUSE
SSP_UNSAFE= kernel module does not support ssp
USES= cmake:outsource kmod tar:xz
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if !exists(${SRC_BASE}/sys/sys/module.h)
IGNORE= requires kernel source files
.endif
.if ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc
.endif
CMAKE_ARGS+= -DDOMAIN_STUB:BOOL=OFF
CMAKE_ARGS+= -DOPCODE_VERIFICATION:BOOL=OFF
CMAKE_ARGS+= -DKMODDIR="${KMODDIR}"
.include <bsd.port.post.mk>