# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# .
# ./telldus-core-devel
# ./telldus-core-devel/Makefile
# ./telldus-core-devel/files
# ./telldus-core-devel/files/patch-driver_libtelldus-core_SettingsConfuse.cpp.patch
# ./telldus-core-devel/files/patch-driver_libtelldus-core_CMakeLists.txt.patch
# ./telldus-core-devel/pkg-plist
# ./telldus-core-devel/pkg-descr
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./telldus-core-devel
mkdir -p ./telldus-core-devel > /dev/null 2>&1
echo x - ./telldus-core-devel/Makefile
sed 's/^X//' >./telldus-core-devel/Makefile << '9b6a8544d2b7bbde2f3a0a6ae1ac3b1d'
X# New ports collection makefile for: telldus-core-devel
X# Date created: 22 march 2010
X# $FreeBSD$
X#
X
XPORTNAME= telldus-core-devel
XPORTVERSION= 2.0.900rev490
XCATEGORIES= comms
XMASTER_SITES= http://download.telldus.se/TellStick/Software/telldus-core/
XMAINTAINER= nobody
XCOMMENT= Utilities for a Telldus TellStick.
X
XWRKSRC= ${WRKDIR}/${PORTNAME}
X
XUSE_CMAKE=yes
XLIB_DEPENDS= ftdi.18:${PORTSDIR}/devel/libftdi
XLIB_DEPENDS+= confuse.0:${PORTSDIR}/devel/libconfuse
X
XSTATEDIR?=/var/db
X
XCMAKE_ARGS+= -DBUILD_LIBTELLDUS-CORE=1
XCMAKE_ARGS+= -DBUILD_TDTOOL=1
XCMAKE_ARGS+= -DBUILD_RFCMD_WITH_LIBFTDI=0
XCMAKE_ARGS+= -DBUILD_LIBTELLDUS-CORE_AS_SERVICE=FALSE
XCMAKE_ARGS+= -DSYSCONF_INSTALL_DIR="${LOCALBASE}/etc"
XCMAKE_ARGS+= -DSTATE_INSTALL_DIR="${STATEDIR}"
X
X
X.include <bsd.port.mk>
9b6a8544d2b7bbde2f3a0a6ae1ac3b1d
echo c - ./telldus-core-devel/files
mkdir -p ./telldus-core-devel/files > /dev/null 2>&1
echo x - ./telldus-core-devel/files/patch-driver_libtelldus-core_SettingsConfuse.cpp.patch
sed 's/^X//' >./telldus-core-devel/files/patch-driver_libtelldus-core_SettingsConfuse.cpp.patch << 'a3cc0017abb3a1c385a52ff83ae73078'
X--- driver/libtelldus-core/SettingsConfuse.cpp.orig 2010-04-07 05:58:00.000000000 +0200
X+++ driver/libtelldus-core/SettingsConfuse.cpp 2010-04-07 05:58:49.000000000 +0200
X@@ -26,10 +26,11 @@
X bool readConfig(cfg_t **cfg);
X bool readVarConfig(cfg_t **cfg);
X
X-const char* CONFIG_FILE = "/etc/tellstick.conf";
X #ifdef __FreeBSD__
X-const char* VAR_CONFIG_FILE = "/var/spool/telldus-core.conf";
X+const char* CONFIG_FILE = "/usr/local/etc/tellstick.conf";
X+const char* VAR_CONFIG_FILE = "/var/db/telldus-core.conf";
X #else
X+const char* CONFIG_FILE = "/etc/tellstick.conf";
X const char* VAR_CONFIG_FILE = "/var/state/telldus-core.conf";
X #endif
X
a3cc0017abb3a1c385a52ff83ae73078
echo x - ./telldus-core-devel/files/patch-driver_libtelldus-core_CMakeLists.txt.patch
sed 's/^X//' >./telldus-core-devel/files/patch-driver_libtelldus-core_CMakeLists.txt.patch << 'c47c7b9287bab09c099b070415e74288'
X--- driver/libtelldus-core/CMakeLists.txt.orig 2010-03-22 17:36:32.000000000 +0100
X+++ driver/libtelldus-core/CMakeLists.txt 2010-03-23 07:15:08.000000000 +0100
X@@ -211,18 +211,19 @@
X ENDIF (UNIX)
X
X IF (UNIX AND NOT APPLE)
X- SET(SYSCONF_INSTALL_DIR "/etc" CACHE PATH "The sysconfig install dir (default prefix/etc)" )
X- SET(STATE_INSTALL_DIR "/var/state" CACHE PATH "The directory to store state information of the devices" )
X- SET(UDEV_RULES_DIR "/etc/udev/rules.d" CACHE PATH "The directory where udev store its rules" )
X+ SET(SYSCONF_INSTALL_DIR "/usr/local/etc" CACHE PATH "The sysconfig install dir (default prefix/etc)" )
X+ SET(STATE_INSTALL_DIR "/var/db" CACHE PATH "The directory to store state information of the devices" )
X+# SET(UDEV_RULES_DIR "/etc/udev/rules.d" CACHE PATH "The directory where udev store its rules" )
X
X- INSTALL(FILES tellstick.conf
X+ CONFIGURE_FILE(tellstick.conf tellstick.conf.sample COPYONLY)
X+ INSTALL(FILES tellstick.conf.sample
X DESTINATION ${SYSCONF_INSTALL_DIR}
X )
X INSTALL(FILES telldus-core.conf
X DESTINATION ${STATE_INSTALL_DIR}
X PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ GROUP_WRITE WORLD_READ WORLD_WRITE
X )
X- INSTALL(FILES 99-tellstick.rules
X- DESTINATION ${UDEV_RULES_DIR}
X- )
X+# INSTALL(FILES 99-tellstick.rules
X+# DESTINATION ${UDEV_RULES_DIR}
X+# )
X ENDIF (UNIX AND NOT APPLE)
c47c7b9287bab09c099b070415e74288
echo x - ./telldus-core-devel/pkg-plist
sed 's/^X//' >./telldus-core-devel/pkg-plist << '27c9d6033f5188ee01c946b6e173956c'
Xlib/libtelldus-core.so.2.0.900
Xlib/libtelldus-core.so.2
Xlib/libtelldus-core.so
Xinclude/telldus-core.h
Xinclude/telldus-core-service.h
Xetc/tellstick.conf.sample
Xbin/tdtool
Xbin/rfcmd
X%STATEDIR%telldus-core.conf
27c9d6033f5188ee01c946b6e173956c
echo x - ./telldus-core-devel/pkg-descr
sed 's/^X//' >./telldus-core-devel/pkg-descr << '8a8b1c44f9912f46c89d19162e7e8e35'
XTellStick is a USB-connected transmitter allowing users to control remote receivers from the computer. It is the link
Xbetween the computer and the electronics of the home or the office. By supporting most 433.92 MHz wireless
Xreceivers, TellStick offers a flexible solution. Focusing on simplicity ...
8a8b1c44f9912f46c89d19162e7e8e35
exit