|
Lines 6-39
Link Here
|
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= ipa_ipfw |
8 |
PORTNAME= ipa_ipfw |
| 9 |
PORTVERSION= 1.0.1 |
9 |
PORTVERSION= 1.0.2 |
| 10 |
CATEGORIES= net |
10 |
CATEGORIES= net |
| 11 |
MASTER_SITES= http://ipa-system.sourceforge.net/modules/ipa_ipfw/ |
11 |
MASTER_SITES= SF/ipa-system/modules/ipa_ipfw |
| 12 |
|
12 |
|
| 13 |
MAINTAINER= simon@comsys.ntu-kpi.kiev.ua |
13 |
MAINTAINER= simon@comsys.ntu-kpi.kiev.ua |
| 14 |
COMMENT= IPA accounting module for FreeBSD IP Firewall |
14 |
COMMENT= IPA accounting module for FreeBSD IP Firewall |
| 15 |
|
15 |
|
|
|
16 |
LICENSE= BSD |
| 17 |
|
| 16 |
NO_PACKAGE= Needs to be built uniquely for each host |
18 |
NO_PACKAGE= Needs to be built uniquely for each host |
| 17 |
|
19 |
|
| 18 |
USE_BZIP2= yes |
20 |
USE_BZIP2= yes |
|
|
21 |
USE_LDCONFIG= yes |
| 19 |
|
22 |
|
| 20 |
OPTIONS= PTHREAD "Build pthread safe module" off \ |
23 |
OPTIONS= DEBUG_INFO "Produce debugging info" off \ |
| 21 |
DEBUG_INFO "Produce debugging info" off \ |
|
|
| 22 |
IPFW2 "Enable IPFW2 support (on FreeBSD < 5.x)" off \ |
| 23 |
MAN_KOI8_R "Install Russian manual pages" off |
24 |
MAN_KOI8_R "Install Russian manual pages" off |
| 24 |
|
25 |
|
| 25 |
.include <bsd.port.pre.mk> |
26 |
.include <bsd.port.pre.mk> |
| 26 |
|
27 |
|
| 27 |
.if defined(WITH_PTHREAD) |
|
|
| 28 |
MAKE_ENV+= WITH_PTHREAD=yes |
| 29 |
CFLAGS+= ${PTHREAD_CFLAGS} |
| 30 |
.endif |
| 31 |
|
| 32 |
.if !defined(WITH_DEBUG_INFO) |
28 |
.if !defined(WITH_DEBUG_INFO) |
| 33 |
MAKE_ENV+= DEBUG_FLAGS="" |
29 |
MAKE_ENV+= DEBUG_FLAGS="" |
| 34 |
.endif |
30 |
.endif |
| 35 |
|
31 |
|
| 36 |
BUILD_DEPENDS+= ${PREFIX}/include/ipa_mod.h:${PORTSDIR}/sysutils/ipa |
32 |
BUILD_DEPENDS+= ${LOCALBASE}/include/ipa_mod.h:${PORTSDIR}/sysutils/ipa |
| 37 |
|
33 |
|
| 38 |
PLIST_FILES= lib/ipa_ipfw.so |
34 |
PLIST_FILES= lib/ipa_ipfw.so |
| 39 |
|
35 |
|