summaryrefslogtreecommitdiffstats
path: root/www/kannel-sqlbox/Makefile
blob: 4c59d32b837f01c7d6cf99773a80e4246978fdb6 (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
30
31
32
33
34
35
36
37
38
39
40
41
# $FreeBSD$

PORTNAME=	kannel-sqlbox
PORTVERSION=	1.0
CATEGORIES=	www

MAINTAINER=	dbaio@bsd.com.br
# Co-maintainer: Alberto Mijares <amijaresp@gmail.com> (PR/173889)
COMMENT=	Add-on module for www/kannel (svn rev.55)

LICENSE=	The_Kannel_Software_License
LICENSE_NAME=	The Kannel Software License, Version 1.0
LICENSE_FILE=	${WRKSRC}/KannelLICENSE
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

BUILD_DEPENDS=	${LOCALBASE}/include/kannel/gw-config.h:www/kannel
RUN_DEPENDS=	${LOCALBASE}/sbin/bearerbox:www/kannel

USE_GITHUB=	yes
GH_ACCOUNT=	dbaio

USES=	gmake
USE_GCC=	yes
GNU_CONFIGURE=	yes

OPTIONS_MULTI=	DATABASE
OPTIONS_MULTI_DATABASE=	MYSQL PGSQL SQLITE3
OPTIONS_DEFAULT=	MYSQL

MYSQL_USE=	mysql=yes

PGSQL_USE=	pgsql=yes

SQLITE3_USES=	sqlite:3

USE_RC_SUBR=	kannel_sqlbox

post-install:
	${INSTALL_DATA} ${WRKSRC}/example/sqlbox.conf.example \
	${STAGEDIR}${PREFIX}/etc/sqlbox.conf.sample
.include <bsd.port.mk>
OpenPOWER on IntegriCloud