Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= base |
8 |
PORTNAME= base |
9 |
PORTVERSION= 1.0.2 |
9 |
PORTVERSION= 1.1 |
10 |
CATEGORIES= security |
10 |
CATEGORIES= security |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= secureideas |
12 |
MASTER_SITE_SUBDIR= secureideas |
Lines 15-39
Link Here
|
15 |
COMMENT= Basic Analysis and Security Engine - analyzing Snort alerts |
15 |
COMMENT= Basic Analysis and Security Engine - analyzing Snort alerts |
16 |
|
16 |
|
17 |
RUN_DEPENDS= ${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort \ |
17 |
RUN_DEPENDS= ${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort \ |
18 |
${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb \ |
18 |
${ADODB_DIR}/adodb.inc.php:${PORTSDIR}/databases/adodb |
19 |
${JPGRAPH_DIR}/jpgraph.php:${PORTSDIR}/graphics/jpgraph |
|
|
20 |
|
19 |
|
21 |
USE_PHP= yes |
20 |
USE_PHP= yes |
22 |
USE_REINPLACE= yes |
21 |
USE_REINPLACE= yes |
23 |
|
22 |
|
24 |
ADODB_DIR= ${LOCALBASE}/share/adodb |
23 |
ADODB_DIR= ${LOCALBASE}/share/adodb |
25 |
JPGRAPH_DIR= ${LOCALBASE}/share/jpgraph |
|
|
26 |
|
24 |
|
27 |
SUB_FILES= pkg-message |
25 |
SUB_FILES= pkg-message |
28 |
DOCS= docs/CHANGELOG docs/CREDITS docs/README docs/TODO docs/UPGRADE |
26 |
DOCS= docs/CHANGELOG docs/CREDITS docs/README docs/TODO docs/UPGRADE |
29 |
|
27 |
|
30 |
do-build: |
28 |
do-build: |
31 |
@${REINPLACE_CMD} -e 's,DBlib_path = "",DBlib_path = "${ADODB_DIR}",' \ |
29 |
@${REINPLACE_CMD} -e 's,DBlib_path = "",DBlib_path = "${ADODB_DIR}",' \ |
32 |
-e 's,ChartLib_path = "",ChartLib_path = "${JPGRAPH_DIR}",' \ |
|
|
33 |
${WRKSRC}/base_conf.php.dist |
30 |
${WRKSRC}/base_conf.php.dist |
34 |
|
31 |
|
35 |
do-install: |
32 |
do-install: |
36 |
@${MKDIR} ${PREFIX}/www/base/includes/templates/default |
33 |
@${MKDIR} ${PREFIX}/www/base/includes/templates/default |
|
|
34 |
@${RM} ${WRKSRC}/base_conf.php |
37 |
${INSTALL_DATA} ${WRKSRC}/*.php ${WRKSRC}/*.dist ${PREFIX}/www/base |
35 |
${INSTALL_DATA} ${WRKSRC}/*.php ${WRKSRC}/*.dist ${PREFIX}/www/base |
38 |
.for dir in admin help includes languages setup |
36 |
.for dir in admin help includes languages setup |
39 |
@${MKDIR} ${PREFIX}/www/base/${dir} |
37 |
@${MKDIR} ${PREFIX}/www/base/${dir} |