aboutsummaryrefslogtreecommitdiff
path: root/www/kannel
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-03-14 14:22:28 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-03-14 14:22:28 +0000
commit2645e4df26de7a524d133169deeed3a027ffdc4b (patch)
tree89c10c680507898910e9aa2f76a1bc8dfaa36006 /www/kannel
parent3fe3468035906097522e192c9febd39e83245beb (diff)
downloadports-2645e4df26de7a524d133169deeed3a027ffdc4b.tar.gz
ports-2645e4df26de7a524d133169deeed3a027ffdc4b.zip
Notes
Diffstat (limited to 'www/kannel')
-rw-r--r--www/kannel/Makefile15
-rw-r--r--www/kannel/distinfo4
-rw-r--r--www/kannel/pkg-plist4
3 files changed, 19 insertions, 4 deletions
diff --git a/www/kannel/Makefile b/www/kannel/Makefile
index 69d922a44fc2..a0b157562528 100644
--- a/www/kannel/Makefile
+++ b/www/kannel/Makefile
@@ -11,6 +11,9 @@ MASTER_SITES= http://www.kannel.org/download/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTVERSION}
DISTNAME= gateway-${PORTVERSION}
+PATCH_SITES= http://www.mbuni.org/
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= ports@FreeBSD.org
COMMENT= WAP / SMS Gateway
@@ -25,6 +28,14 @@ CONFIGURE_ARGS= --with-cflags="${CPPFLAGS}" --with-libs="${LDFLAGS}" \
--enable-pcre=yes --enable-docs=no --with-malloc=native \
--enable-start-stop-daemon=no
+.if defined(WITH_MBUNI_FULL)
+PATCHFILES+= mbuni-kannel-patch-full
+.endif
+
+.if defined(WITH_MBUNI_MINIMAL)
+PATCHFILES+= mbuni-kannel-patch-minimal
+.endif
+
MAN1= mtbatch.1 seewbmp.1 wmlsc.1 wmlsdasm.1
MAN8= kannel.8 run_kannel_box.8
@@ -43,8 +54,8 @@ post-patch:
s|-lkse||g' ${WRKSRC}/configure
post-install:
-.for file in gw/wapkannel.conf gw/smskannel.conf
- ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/etc
+.for file in wapkannel.conf smskannel.conf
+ ${INSTALL_DATA} ${WRKSRC}/gw/${file} ${PREFIX}/etc/${file}.sample
.endfor
.for file in mtbatch seewbmp wmlsc wmlsdasm
@${STRIP_CMD} ${PREFIX}/bin/${file}
diff --git a/www/kannel/distinfo b/www/kannel/distinfo
index a8c96328c554..2464d4fc66f8 100644
--- a/www/kannel/distinfo
+++ b/www/kannel/distinfo
@@ -1,2 +1,6 @@
MD5 (gateway-1.4.0.tar.gz) = b6fbb1599b377c44c35a5338746c42d3
SIZE (gateway-1.4.0.tar.gz) = 2465341
+MD5 (mbuni-kannel-patch-full) = 1960dca61a6e8b31b1f190344da06ab9
+SIZE (mbuni-kannel-patch-full) = 26456
+MD5 (mbuni-kannel-patch-minimal) = 49dfc4ba9166c6301b5bd06e57746d10
+SIZE (mbuni-kannel-patch-minimal) = 2742
diff --git a/www/kannel/pkg-plist b/www/kannel/pkg-plist
index d48f8a788921..d8b3aa1ca1d0 100644
--- a/www/kannel/pkg-plist
+++ b/www/kannel/pkg-plist
@@ -3,8 +3,8 @@ bin/mtbatch
bin/seewbmp
bin/wmlsc
bin/wmlsdasm
-etc/smskannel.conf
-etc/wapkannel.conf
+etc/smskannel.conf.sample
+etc/wapkannel.conf.sample
include/kannel/gw-config.h
include/kannel/gwlib/accesslog.h
include/kannel/gwlib/cfg.h