mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
f856a9ae6e
Approved by: thierry (mentor)
38 lines
871 B
Makefile
38 lines
871 B
Makefile
# New ports collection makefile for: snortsms
|
|
# Date created: Mon May 28 16:05:01 CST 2005
|
|
# Whom: J Randolph <snortsms@servangle.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= snortsms
|
|
PORTVERSION= 1.7.8
|
|
CATEGORIES= security www
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= jadawin@FreeBSD.org
|
|
COMMENT= A remote management and monitoring interface for Snort based IDS
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB \
|
|
${LOCALBASE}/bin/curl:${PORTSDIR}/ftp/curl
|
|
|
|
USE_PHP= mysql pcre pcntl session curl
|
|
NO_BUILD= yes
|
|
|
|
SUB_FILES= pkg-message
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
SUB_LIST= PORTNAME=${PORTNAME} \
|
|
WRKSRC=${WRKSRC} \
|
|
PORTSDIR=${PORTSDIR}
|
|
|
|
do-install:
|
|
${MKDIR} ${WWWDIR}
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR})
|
|
${CHMOD} 775 ${WWWDIR}/conf
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|