aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/conkyforecast
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/conkyforecast')
-rw-r--r--deskutils/conkyforecast/Makefile10
-rw-r--r--deskutils/conkyforecast/files/pkg-message.in2
2 files changed, 4 insertions, 8 deletions
diff --git a/deskutils/conkyforecast/Makefile b/deskutils/conkyforecast/Makefile
index e7281602ade0..dbb62100261f 100644
--- a/deskutils/conkyforecast/Makefile
+++ b/deskutils/conkyforecast/Makefile
@@ -3,6 +3,7 @@
PORTNAME= conkyforecast
PORTVERSION= 2.20
+PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= https://launchpadlibrarian.net/70673352/ \
LOCAL/vg
@@ -13,17 +14,12 @@ COMMENT= Weather forecast script for conky
LICENSE= GPLv3
-BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS= conky:${PORTSDIR}/sysutils/conky \
- pidof:${PORTSDIR}/sysutils/pidof \
- fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+ pidof:${PORTSDIR}/sysutils/pidof
-USES= gettext python
+USES= gettext python fonts
USE_PYTHON= distutils
SUB_FILES= pkg-message
-SUB_LIST+= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
-PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
-FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
WRKSRC= ${WRKDIR}/src
diff --git a/deskutils/conkyforecast/files/pkg-message.in b/deskutils/conkyforecast/files/pkg-message.in
index d0b42db317fe..bf2f51aa1820 100644
--- a/deskutils/conkyforecast/files/pkg-message.in
+++ b/deskutils/conkyforecast/files/pkg-message.in
@@ -5,7 +5,7 @@ line to the "Modules" section of your X Windows configuration file:
Add the following line to the "Files" section of X Windows configuration file:
- FontPath "%%PREFIX%%/%%FONTSDIR%%/"
+ FontPath "%%FONTSDIR%%/"
For a working script you must define, in a user specific config file, a partner
id and registration code for the weather.com xoap service. For this purpose