freebsd-ports/comms/telldus-core/Makefile
Gerald Pfeifer 04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00

49 lines
1.2 KiB
Makefile

# Created by: Johan Strom <johna@stromnet.se>
# $FreeBSD$
PORTNAME= telldus-core
PORTVERSION= 2.1.2
PORTREVISION= 2
CATEGORIES= comms
MASTER_SITES= http://download.telldus.se/TellStick/Software/telldus-core/
MAINTAINER= johan@stromnet.se
COMMENT= Tellstick Telldus daemon + library
LICENSE= LGPL21
BUILD_DEPENDS= help2man:misc/help2man
LIB_DEPENDS= libftdi.so:devel/libftdi \
libconfuse.so:devel/libconfuse \
libargp.so:devel/argp-standalone
BROKEN_powerpc64= Does not build
BROKEN_sparc64= Does not build
USES= cmake compiler:c++11-lang iconv:wchar_t
CMAKE_ARGS+=-DGENERATE_MAN=TRUE
# Note: these are internal defines and shall NOT contain ${STAGEDIR}
CMAKE_ARGS+=-DSYSCONF_INSTALL_DIR="${PREFIX}/etc"
CMAKE_ARGS+=-DSTATE_INSTALL_DIR="/var/telldus"
MAKE_JOBS_UNSAFE= yes
USE_RC_SUBR= telldusd
USER= nobody
GROUP= dialer
.include <bsd.port.pre.mk>
post-patch:
# remove tr1 if using libc++
.if ${COMPILER_FEATURES:Mlibc++}
@${REINPLACE_CMD} -e 's|tr1::||' ${WRKSRC}/common/Event.h
.endif
post-install:
cd ${STAGEDIR}${PREFIX}/etc && \
${MV} tellstick.conf tellstick.conf.sample
${RM} ${STAGEDIR}/var/telldus/telldus-core.conf
.include <bsd.port.post.mk>