diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2013-12-27 17:28:05 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2013-12-27 17:28:05 +0000 |
commit | 42384911ae843a24d01bd46918ee0a0fc73a5df1 (patch) | |
tree | d7f326e9dae1a52687a8a42e19a7a16f73045641 /net/linknx | |
parent | d4b485991a990e0853e2c06be09f88e749f0fa54 (diff) | |
download | ports-42384911ae843a24d01bd46918ee0a0fc73a5df1.tar.gz ports-42384911ae843a24d01bd46918ee0a0fc73a5df1.zip |
Notes
Diffstat (limited to 'net/linknx')
-rw-r--r-- | net/linknx/Makefile | 46 | ||||
-rw-r--r-- | net/linknx/distinfo | 4 | ||||
-rw-r--r-- | net/linknx/pkg-plist | 4 |
3 files changed, 28 insertions, 26 deletions
diff --git a/net/linknx/Makefile b/net/linknx/Makefile index c0b58156beb5..9f7b9e0b4fcf 100644 --- a/net/linknx/Makefile +++ b/net/linknx/Makefile @@ -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 -NO_STAGE= yes -.include <bsd.port.pre.mk> +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 -.if ${PORT_OPTIONS:MLIBESMTP} -CONFIGURE_ARGS+= --enable-smtp -LIB_DEPENDS+= esmtp.7:${PORTSDIR}/mail/libesmtp -.else -CONFIGURE_ARGS+= --disable-smtp -.endif +PORTDOCS= * -.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> diff --git a/net/linknx/distinfo b/net/linknx/distinfo index 8357470416f8..673501ad137a 100644 --- a/net/linknx/distinfo +++ b/net/linknx/distinfo @@ -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 diff --git a/net/linknx/pkg-plist b/net/linknx/pkg-plist deleted file mode 100644 index b0d55daf3ff4..000000000000 --- a/net/linknx/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/linknx -%%DOCSDIR%%/linknx.xml -%%DOCSDIR%%/linknx_doc.tgz -@dirrm %%DOCSDIR%% |