From owner-svn-ports-head@FreeBSD.ORG Thu Jan 30 08:58:13 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D4ED1A21; Thu, 30 Jan 2014 08:58:13 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C163C1355; Thu, 30 Jan 2014 08:58:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0U8wDKg045727; Thu, 30 Jan 2014 08:58:13 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0U8wDHt045724; Thu, 30 Jan 2014 08:58:13 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201401300858.s0U8wDHt045724@svn.freebsd.org> From: Alexey Dokuchaev Date: Thu, 30 Jan 2014 08:58:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341817 - head/www/kannel X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 08:58:14 -0000 Author: danfe Date: Thu Jan 30 08:58:12 2014 New Revision: 341817 URL: http://svnweb.freebsd.org/changeset/ports/341817 QAT: https://qat.redports.org/buildarchive/r341817/ Log: - Stagify, modernize LIB_DEPENDS, use options helpers, touch COMMENT - Drop the check for unsupported alpha architecture, sort the knobs - Reformat and fix grammar in port description while I'm here Modified: head/www/kannel/Makefile head/www/kannel/pkg-descr head/www/kannel/pkg-plist Modified: head/www/kannel/Makefile ============================================================================== --- head/www/kannel/Makefile Thu Jan 30 08:57:49 2014 (r341816) +++ head/www/kannel/Makefile Thu Jan 30 08:58:12 2014 (r341817) @@ -10,66 +10,45 @@ MASTER_SITE_SUBDIR= ${PORTVERSION} DISTNAME= gateway-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= WAP / SMS Gateway +COMMENT= WAP/SMS gateway -LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre +LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre -USE_RC_SUBR= kannel +USES= gmake +USE_BZIP2= yes USE_GNOME= libxml2 USE_OPENSSL= yes -USE_GMAKE= yes -USE_BZIP2= yes +USE_RC_SUBR= ${PORTNAME} GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-cflags="${CPPFLAGS}" --with-libs="${LDFLAGS}" \ --enable-pcre=yes --enable-docs=no --with-malloc=native \ --enable-start-stop-daemon=no --without-sdb --without-oracle \ --without-sqlite2 -MAN1= mtbatch.1 seewbmp.1 wmlsc.1 wmlsdasm.1 -MAN8= kannel.8 run_kannel_box.8 +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -pthread OPTIONS_DEFINE= MYSQL PGSQL SQLITE3 -NO_STAGE= yes -.include +SQLITE3_USE= SQLITE=3 +SQLITE3_CONFIGURE_WITH= sqlite3 -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -pthread +MYSQL_USE= MYSQL=yes +MYSQL_CONFIGURE_WITH= mysql -.if ${PORT_OPTIONS:MMYSQL} -USE_MYSQL= yes -CONFIGURE_ARGS+=--with-mysql -.else -CONFIGURE_ARGS+=--without-mysql -.endif - -.if ${PORT_OPTIONS:MPGSQL} -USE_PGSQL= yes -CONFIGURE_ARGS+=--with-pgsql -.else -CONFIGURE_ARGS+=--without-pgsql -.endif - -.if ${PORT_OPTIONS:MSQLITE3} -USE_SQLITE= 3 -CONFIGURE_ARGS+=--with-sqlite3 -.else -CONFIGURE_ARGS+=--without-sqlite3 -.endif - -.if ${ARCH} == "alpha" -BROKEN= Does not compile on alpha -.endif +PGSQL_USE= PGSQL=yes +PGSQL_CONFIGURE_WITH= pgsql post-install: .for filename in wapkannel.conf smskannel.conf - ${INSTALL_DATA} ${WRKSRC}/gw/${filename} ${PREFIX}/etc/${filename}.sample + ${INSTALL_DATA} ${WRKSRC}/gw/${filename} \ + ${STAGEDIR}${PREFIX}/etc/${filename}.sample .endfor .for filename in mtbatch seewbmp wmlsc wmlsdasm - @${STRIP_CMD} ${PREFIX}/bin/${filename} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${filename} .endfor .for filename in bearerbox run_kannel_box smsbox wapbox - @${STRIP_CMD} ${PREFIX}/sbin/${filename} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${filename} .endfor .include Modified: head/www/kannel/pkg-descr ============================================================================== --- head/www/kannel/pkg-descr Thu Jan 30 08:57:49 2014 (r341816) +++ head/www/kannel/pkg-descr Thu Jan 30 08:58:12 2014 (r341817) @@ -1,4 +1,4 @@ -Kannel is an open source project to make a WAP gateway. Kannel also -works as a SMS gateway. +Kannel is an open source project to make a WAP gateway; it also can work as +an SMS gateway. WWW: http://www.kannel.org/ Modified: head/www/kannel/pkg-plist ============================================================================== --- head/www/kannel/pkg-plist Thu Jan 30 08:57:49 2014 (r341816) +++ head/www/kannel/pkg-plist Thu Jan 30 08:58:12 2014 (r341817) @@ -139,6 +139,12 @@ include/kannel/wap/wtp_tid.h lib/kannel/libgw.a lib/kannel/libgwlib.a lib/kannel/libwap.a +man/man1/mtbatch.1.gz +man/man1/seewbmp.1.gz +man/man1/wmlsc.1.gz +man/man1/wmlsdasm.1.gz +man/man8/kannel.8.gz +man/man8/run_kannel_box.8.gz sbin/bearerbox sbin/run_kannel_box sbin/smsbox