summaryrefslogtreecommitdiff
path: root/security/acid/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/acid/Makefile')
-rw-r--r--security/acid/Makefile35
1 files changed, 16 insertions, 19 deletions
diff --git a/security/acid/Makefile b/security/acid/Makefile
index ba391c204f7b..4f304daf9d22 100644
--- a/security/acid/Makefile
+++ b/security/acid/Makefile
@@ -6,33 +6,30 @@
#
PORTNAME= acid
-PORTVERSION= 0.9.6b1
+PORTVERSION= 0.9.6b20
CATEGORIES= security
MASTER_SITES= http://www.andrew.cmu.edu/~rdanyliw/snort/
-DISTFILES= acid-0.9.6b1.tar.gz
-WRKSRC= ${WRKDIR}/${PORTNAME}
-MAINTAINER= foxfair@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
-RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \
- ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 \
+RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 \
${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql323-server \
${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort
-post-configure:
- ${MKDIR} ${LOCALBASE}/share/doc/apache/acid
- ${CP} ${FILESDIR}/Makefile.acid ${WRKSRC}/Makefile
+WRKSRC= ${WRKDIR}/${PORTNAME}
+NO_BUILD= yes
+
+do-install:
+ @${MKDIR} ${PREFIX}/www/acid
+.for ext in html php sql css inc
+ @${INSTALL_DATA} ${WRKSRC}/*.${ext} ${PREFIX}/www/acid
+.endfor
+.ifndef(NOPORTDOCS)
+ @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/www/acid
+ @${INSTALL_DATA} ${WRKSRC}/README.mssql ${PREFIX}/www/acid
+.endif
post-install:
- @${ECHO} "*****************************************************************************"
- @${ECHO} "Please modify the file '${LOCALBASE}/share/doc/apache/acid/acid_conf.php', "
- @${ECHO} "and customize the following variables to fit your system: "
- @${ECHO} " "
- @${ECHO} "'alert_dbname' : MySQL database name where the alerts are stored "
- @${ECHO} "'alert_host' : host where the database is stored "
- @${ECHO} "'alert_port' : port where the database is stored "
- @${ECHO} "'alert_user' : username into the database "
- @${ECHO} "'alert_password' : password for the username "
- @${ECHO} "*****************************************************************************"
+ @${SED} 's|%%PREFIX%%|${PREFIX}|' ${PKGMESSAGE}
.include <bsd.port.mk>