Index: head/comms/telldus-core/Makefile =================================================================== --- head/comms/telldus-core/Makefile (revision 504005) +++ head/comms/telldus-core/Makefile (revision 504006) @@ -1,55 +1,56 @@ # Created by: Johan Strom # $FreeBSD$ PORTNAME= telldus-core PORTVERSION= 2.1.2 PORTREVISION= 6 CATEGORIES= comms MASTER_SITES= http://download.telldus.se/TellStick/Software/telldus-core/ MAINTAINER= johan@stromnet.se COMMENT= Tellstick Telldus daemon + library LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= help2man:misc/help2man LIB_DEPENDS= libftdi.so:devel/libftdi \ libconfuse.so:devel/libconfuse \ libargp.so:devel/argp-standalone USES= cmake compiler:c++11-lang iconv:wchar_t USE_LDCONFIG= yes -CMAKE_ARGS+=-DGENERATE_MAN=TRUE +CMAKE_ARGS+= -DGENERATE_MAN=TRUE # Note: these are internal defines and shall NOT contain ${STAGEDIR} -CMAKE_ARGS+=-DSYSCONF_INSTALL_DIR="${PREFIX}/etc" +CMAKE_ARGS+= -DSYSCONF_INSTALL_DIR="${PREFIX}/etc" # Using global /var, otherwise testport complains "Warning: port uses /usr/local/var instead of /var" -CMAKE_ARGS+=-DSTATE_INSTALL_DIR="/var/telldus" +CMAKE_ARGS+= -DSTATE_INSTALL_DIR="/var/telldus" CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing MAKE_JOBS_UNSAFE= yes USE_RC_SUBR= telldusd USER= nobody GROUP= dialer SUB_FILES= pkg-message .include 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 # This file is actually empty but allows us to simply use @sample to # make sure it stays between upgrades if modified cd ${STAGEDIR}/var/telldus && \ ${MV} telldus-core.conf telldus-core.conf.sample .include Index: head/comms/telldus-core/pkg-descr =================================================================== --- head/comms/telldus-core/pkg-descr (revision 504005) +++ head/comms/telldus-core/pkg-descr (revision 504006) @@ -1,9 +1,9 @@ Allows access to Telldus Tellstick USB dongles for communicating with 433MHz devices in your home. Provides "telldusd", the daemon which keeps track of your tellstick devices. Through a UNIX socket, the sensors and devices can be used/ controlled from the command line tool "tdtool", or via the libtelldus-core C client library. -WWW: http://www.telldus.com/products/tellstick +WWW: http://developer.telldus.com/wiki/TellStickInstallationSource