2e3ed20300
PR: ports/118489 Submitted by: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> (maintainer)
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
# New ports collection makefile for: ipa_ip6fw
|
|
# Date created: 27 December 2005
|
|
# Whom: Andrey Simonenko
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ipa_ip6fw
|
|
PORTVERSION= 1.0.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://ipa-system.sourceforge.net/modules/ipa_ip6fw/
|
|
|
|
MAINTAINER= simon@comsys.ntu-kpi.kiev.ua
|
|
COMMENT= IPA accounting module for FreeBSD IPv6 Firewall
|
|
|
|
NO_PACKAGE= Needs to be built uniquely for each host
|
|
|
|
USE_BZIP2= yes
|
|
|
|
OPTIONS= PTHREAD "Build pthread safe module" off \
|
|
DEBUG_INFO "Produce debugging info" off \
|
|
MAN_KOI8_R "Install Russian manual pages" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 700017
|
|
IGNORE= not supported on your system, as it does not have IPv6 ipfw firewall
|
|
.endif
|
|
|
|
.if defined(WITH_PTHREAD)
|
|
MAKE_ENV+= WITH_PTHREAD=yes
|
|
CFLAGS+= ${PTHREAD_CFLAGS}
|
|
.endif
|
|
|
|
.if !defined(WITH_DEBUG_INFO)
|
|
MAKE_ENV+= DEBUG_FLAGS=""
|
|
.endif
|
|
|
|
BUILD_DEPENDS+= ${PREFIX}/include/ipa_mod.h:${PORTSDIR}/sysutils/ipa
|
|
|
|
PLIST_FILES= lib/ipa_ip6fw.so
|
|
|
|
MANCOMPRESSED= yes
|
|
MAN8= ipa_ip6fw.8
|
|
MANLANG= ""
|
|
.if defined(WITH_MAN_KOI8_R)
|
|
MANLANG+= ru.KOI8-R
|
|
.endif
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${MAKE} install
|
|
.if defined(WITH_MAN_KOI8_R)
|
|
cd ${WRKSRC}/man && ${MAKE} LANG_DIR_SRC=ru.KOI8-R clean all install
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|