Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= telldus-core |
4 |
PORTNAME= telldus-core |
5 |
PORTVERSION= 2.1.2 |
5 |
PORTVERSION= 2.1.2 |
6 |
PORTREVISION= 3 |
6 |
PORTREVISION= 4 |
7 |
CATEGORIES= comms |
7 |
CATEGORIES= comms |
8 |
MASTER_SITES= http://download.telldus.se/TellStick/Software/telldus-core/ |
8 |
MASTER_SITES= http://download.telldus.se/TellStick/Software/telldus-core/ |
9 |
|
9 |
|
Lines 20-30
Link Here
|
20 |
BROKEN_powerpc64= Does not build: error: strlen was not declared in this scope |
20 |
BROKEN_powerpc64= Does not build: error: strlen was not declared in this scope |
21 |
BROKEN_sparc64= Does not build: error: strlen was not declared in this scope |
21 |
BROKEN_sparc64= Does not build: error: strlen was not declared in this scope |
22 |
|
22 |
|
23 |
USES= cmake compiler:c++11-lang iconv:wchar_t |
23 |
USE_LDCONFIG= yes |
|
|
24 |
USES= cmake compiler:c++11-lang iconv:wchar_t |
24 |
|
25 |
|
25 |
CMAKE_ARGS+=-DGENERATE_MAN=TRUE |
26 |
CMAKE_ARGS+=-DGENERATE_MAN=TRUE |
26 |
# Note: these are internal defines and shall NOT contain ${STAGEDIR} |
27 |
# Note: these are internal defines and shall NOT contain ${STAGEDIR} |
27 |
CMAKE_ARGS+=-DSYSCONF_INSTALL_DIR="${PREFIX}/etc" |
28 |
CMAKE_ARGS+=-DSYSCONF_INSTALL_DIR="${PREFIX}/etc" |
|
|
29 |
# Using global /var, otherwise testport complains "Warning: port uses /usr/local/var instead of /var" |
28 |
CMAKE_ARGS+=-DSTATE_INSTALL_DIR="/var/telldus" |
30 |
CMAKE_ARGS+=-DSTATE_INSTALL_DIR="/var/telldus" |
29 |
|
31 |
|
30 |
MAKE_JOBS_UNSAFE= yes |
32 |
MAKE_JOBS_UNSAFE= yes |
Lines 33-38
Link Here
|
33 |
USER= nobody |
35 |
USER= nobody |
34 |
GROUP= dialer |
36 |
GROUP= dialer |
35 |
|
37 |
|
|
|
38 |
SUB_FILES= pkg-message |
39 |
|
36 |
.include <bsd.port.pre.mk> |
40 |
.include <bsd.port.pre.mk> |
37 |
|
41 |
|
38 |
post-patch: |
42 |
post-patch: |
Lines 44-49
Link Here
|
44 |
post-install: |
48 |
post-install: |
45 |
cd ${STAGEDIR}${PREFIX}/etc && \ |
49 |
cd ${STAGEDIR}${PREFIX}/etc && \ |
46 |
${MV} tellstick.conf tellstick.conf.sample |
50 |
${MV} tellstick.conf tellstick.conf.sample |
47 |
${RM} ${STAGEDIR}/var/telldus/telldus-core.conf |
51 |
# This file is actually empty but allows us to simply use @sample to |
|
|
52 |
# make sure it stays between upgrades if modified |
53 |
cd ${STAGEDIR}/var/telldus && \ |
54 |
${MV} telldus-core.conf telldus-core.conf.sample |
48 |
|
55 |
|
49 |
.include <bsd.port.post.mk> |
56 |
.include <bsd.port.post.mk> |