blob: 9c27854bd6ab47d9109a5fd2829a50bdefbefcca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $NetBSD: Makefile,v 1.21 2006/04/18 22:39:32 adrianp Exp $
.include "../../net/snort/Makefile.common"
PKGNAME= ${DISTNAME:S/-/-pgsql-/}
COMMENT= Network Intrusion Detection System (with PostgreSQL support)
CONFLICTS+= snort-[0-9]*
CONFLICTS+= snort-mysql-[0-9]*
PKGDIR= ${.CURDIR}/../../net/snort
FILESDIR= ${PKGDIR}/files
PATCHDIR= ${PKGDIR}/patches
DISTINFO_FILE= ${PKGDIR}/distinfo
CONFIGURE_ARGS+= --with-postgresql=${PGSQL_PREFIX:Q}
PKG_OPTIONS_VAR= PKG_OPTIONS.snort-pgsql
PKG_SUPPORTED_OPTIONS= debug
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
.endif
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|