Lines 14-21
Link Here
|
14 |
MAINTAINER= max@love2party.net |
14 |
MAINTAINER= max@love2party.net |
15 |
COMMENT= Utility to render grafical statistics for pf |
15 |
COMMENT= Utility to render grafical statistics for pf |
16 |
|
16 |
|
17 |
BUILD_DEPENDS= ${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf |
|
|
18 |
RUN_DEPENDS= ${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf |
19 |
.if defined(WITH_GD1) |
17 |
.if defined(WITH_GD1) |
20 |
LIB_DEPENDS= gd1.2:${PORTSDIR}/graphics/gd1 |
18 |
LIB_DEPENDS= gd1.2:${PORTSDIR}/graphics/gd1 |
21 |
CFLAGS+= -I${LOCALBASE}/include/gd |
19 |
CFLAGS+= -I${LOCALBASE}/include/gd |
Lines 32-43
Link Here
|
32 |
MANCOMPRESSED= no |
30 |
MANCOMPRESSED= no |
33 |
PLIST_FILES= bin/pfstat |
31 |
PLIST_FILES= bin/pfstat |
34 |
|
32 |
|
35 |
CFLAGS+= -I${LOCALBASE}/include/pf |
|
|
36 |
|
37 |
.include <bsd.port.pre.mk> |
33 |
.include <bsd.port.pre.mk> |
38 |
|
34 |
|
39 |
.if ${OSVERSION} < 500000 |
35 |
.if ${OSVERSION} < 500000 |
40 |
IGNORE= "Only for 5.0 and above" |
36 |
IGNORE= "Only for 5.0 and above" |
|
|
37 |
.endif |
38 |
|
39 |
.if ${OSVERSION} < 502106 |
40 |
BUILD_DEPENDS= ${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf |
41 |
RUN_DEPENDS= ${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf |
42 |
|
43 |
CFLAGS+= -I${LOCALBASE}/include/pf |
41 |
.endif |
44 |
.endif |
42 |
|
45 |
|
43 |
post-patch: |
46 |
post-patch: |