aboutsummaryrefslogtreecommitdiffstats
path: root/www/kannel-sqlbox/Makefile
blob: 2b383ff4dfbd45e1c0765adcc710f422bb2dc53f (plain) (blame)
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
42
43
44
45
# $FreeBSD$

PORTNAME=   kannel-sqlbox
PORTVERSION=    1.0.1
PORTREVISION=   1
CATEGORIES= www

MAINTAINER= dbaio@FreeBSD.org
# 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
LIB_DEPENDS=    libpcreposix.so:devel/pcre

USE_GITHUB= yes
GH_ACCOUNT= dbaio

USES=   gmake iconv ssl
USE_GCC=    yes
GNU_CONFIGURE=  yes
USE_GNOME=  libxml2

OPTIONS_MULTI=  DATABASE
OPTIONS_MULTI_DATABASE= MYSQL PGSQL SQLITE3
OPTIONS_DEFAULT=    MYSQL

MYSQL_USES= mysql

PGSQL_USES= pgsql

SQLITE3_USES=   sqlite:3

USE_RC_SUBR=    kannel_sqlbox
SUB_FILES=  pkg-message

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