Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 17:28:05 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337755 - head/net/linknx
Message-ID:  <201312271728.rBRHS5UD035853@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Fri Dec 27 17:28:05 2013
New Revision: 337755
URL: http://svnweb.freebsd.org/changeset/ports/337755

Log:
  - Update to 0.0.1.30
  - Add LUA and MySQL support
  - Convert to new options framework
  - Support staging
  - Add LICENSE
  - New LIB_DEPENDS format
  
  maintainer timeout.
  
  PR:		ports/184589
  Submitted by:	mat

Deleted:
  head/net/linknx/pkg-plist
Modified:
  head/net/linknx/Makefile
  head/net/linknx/distinfo

Modified: head/net/linknx/Makefile
==============================================================================
--- head/net/linknx/Makefile	Fri Dec 27 17:25:49 2013	(r337754)
+++ head/net/linknx/Makefile	Fri Dec 27 17:28:05 2013	(r337755)
@@ -2,44 +2,50 @@
 # $FreeBSD$
 
 PORTNAME=	linknx
-PORTVERSION=	0.0.1.25
-PORTREVISION=	4
+PORTVERSION=	0.0.1.30
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	bkoenig@alpha-tierchen.de
 COMMENT=	Rule-based event handling in a KNX installation
 
-LIB_DEPENDS=	pthsem.20:${PORTSDIR}/devel/pthsem
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	libpthsem.so:${PORTSDIR}/devel/pthsem
 BUILD_DEPENDS=	${LOCALBASE}/lib/libargp.a:${PORTSDIR}/devel/argp-standalone
 
+USES=	gmake
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USE_AUTOTOOLS=	autoconf
 CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib"
 
-OPTIONS_DEFINE=	LIBESMTP LIBCURL
+OPTIONS_DEFINE=	LIBESMTP LIBCURL LIBLUA MYSQL
 OPTIONS_DEFAULT=	LIBESMTP
+OPTIONS_SUB=
 LIBESMTP_DESC=	Install libesmtp for SMTP support
 LIBCURL_DESC=	Install libcurl for Clickatell SMS support
+LIBLUA_DESC=	Install lilua for scripting
+MYSQL_DESC=	Install libmysql for logging & persist
+
+LIBESMTP_CONFIGURE_ENABLE=	smtp
+LIBESMTP_LIB_DEPENDS=	libesmtp.so:${PORTSDIR}/mail/libesmtp
+LIBCURL_CONFIGURE_WITH=	libcurl
+LIBCURL_LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl
+LIBLUA_CONFIGURE_WITH=	lua
+LIBLUA_USE=	lua=yes
+LIBLUA_CFLAGS=	-I${LUA_INCDIR}
+LIBLUA_LDFLAGS=	-L${LUA_LIBDIR}
+MYSQL_CONFIGURE_WITH=	mysql=${LOCALBASE}/bin/mysql_config
+MYSQL_USE=	mysql=yes
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+PORTDOCS=	*
 
-.if ${PORT_OPTIONS:MLIBESMTP}
-CONFIGURE_ARGS+=	--enable-smtp
-LIB_DEPENDS+=	esmtp.7:${PORTSDIR}/mail/libesmtp
-.else
-CONFIGURE_ARGS+=	--disable-smtp
-.endif
-
-.if ${PORT_OPTIONS:MLIBCURL}
-LIB_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
-CONFIGURE_ARGS+=	--with-libcurl=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=	--without-libcurl
-.endif
+PLIST_FILES=	bin/linknx
 
 USE_RC_SUBR=	${PORTNAME}
 
-.include <bsd.port.post.mk>
+post-patch:
+	${REINPLACE_CMD} "s/LUAPC=lua/LUAPC=lua-${LUA_VER}/" ${WRKSRC}/configure.ac
+
+.include <bsd.port.mk>

Modified: head/net/linknx/distinfo
==============================================================================
--- head/net/linknx/distinfo	Fri Dec 27 17:25:49 2013	(r337754)
+++ head/net/linknx/distinfo	Fri Dec 27 17:28:05 2013	(r337755)
@@ -1,2 +1,2 @@
-SHA256 (linknx-0.0.1.25.tar.gz) = 2ad2db638d0f1542f34c0dce80ce8c5519c70cea80286d70ad7b91d923c5ff28
-SIZE (linknx-0.0.1.25.tar.gz) = 290886
+SHA256 (linknx-0.0.1.30.tar.gz) = 46e60620ad29d69bf3a1a3e9529322443c0d585e7e676ca7d441042b5fcad25e
+SIZE (linknx-0.0.1.30.tar.gz) = 327809



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312271728.rBRHS5UD035853>