diff options
author | flz <flz@FreeBSD.org> | 2005-03-14 22:22:28 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2005-03-14 22:22:28 +0800 |
commit | 70d85e84c06e668e064b0d3413a619ae73dbd7ca (patch) | |
tree | 24c25b66129f800bbf64c7fad8570c573d8efe88 /www | |
parent | 01d82134d2c1b106857c192a256b8f225efb87e8 (diff) | |
download | freebsd-ports-gnome-70d85e84c06e668e064b0d3413a619ae73dbd7ca.tar.gz freebsd-ports-gnome-70d85e84c06e668e064b0d3413a619ae73dbd7ca.tar.zst freebsd-ports-gnome-70d85e84c06e668e064b0d3413a619ae73dbd7ca.zip |
- Add two knobs to use two extra patches from http://www.mbuni.org/.
PR: ports/78667
Submitted by: Andrew Wingorodov <andr@sms-tv.ru>
Diffstat (limited to 'www')
-rw-r--r-- | www/kannel/Makefile | 15 | ||||
-rw-r--r-- | www/kannel/distinfo | 4 | ||||
-rw-r--r-- | www/kannel/pkg-plist | 4 |
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 |