freebsd-ports/net/linknx/Makefile
Sunpoet Po-Chuan Hsieh c2d1a14c7c - Update to 7.31.0
- Bump PORTREVISION for ftp/curl shlib change
- Add TEST_DEPENDS
- Convert to new options framework
- Adjust options:
  - Add COOKIES
  - Add CYASSL, NSS, POLARSSL, THREADED_RESOLVER, TLS_SRP [1]
  - Add GSSAPI and SPNEGO [2]
  - Remove KERBEROS4
  - Rename LIBIDN to IDN
  - Remove TRACKMEMORY [1]
- Sort option handler
- Add SLAVEDIRS: ftp/curl-hiphop
- Cosmetic change
- Cleanup Makefile header
- While I'm here, fix typo (PORTREVSION) in x11-wm/ede/Makefile

Changes:	http://curl.haxx.se/changes.html
PR:		ports/172325 (-exp run), ports/177369 (based on) [1]
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp> [1], hrs (via email) [2]
Exp run by:	miwi
2013-07-11 16:26:26 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Björn König <bkoenig@alpha-tierchen.de>
# $FreeBSD$
PORTNAME= linknx
PORTVERSION= 0.0.1.25
PORTREVISION= 4
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
BUILD_DEPENDS= ${LOCALBASE}/lib/libargp.a:${PORTSDIR}/devel/argp-standalone
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS+=CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-I${LOCALBASE}/include -L/${LOCALBASE}/lib"
OPTIONS_DEFINE= LIBESMTP LIBCURL
OPTIONS_DEFAULT= LIBESMTP
LIBESMTP_DESC= Install libesmtp for SMTP support
LIBCURL_DESC= Install libcurl for Clickatell SMS support
.include <bsd.port.pre.mk>
.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
USE_RC_SUBR= ${PORTNAME}
.include <bsd.port.post.mk>