aboutsummaryrefslogblamecommitdiff
path: root/security/snortsms/Makefile
blob: 672438403c13cceb7249167718dd4bc9ee9cbf36 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                           
                     
                            
                                                                                            
 
                                   
                                                                                



                                                                              
                                             



                                     


                                      

           



                                                         




                             
# 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/${PORTNAME}/SnortSMS%20Suite%20%28Console_Agent%29/${PORTVERSION}-Release

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>