freebsd-ports/deskutils/conkyforecast/Makefile
Baptiste Daroussin a5da770e67 Make fonts repecting XDG
Xorg is now looking in ${LOCALBASE}/share/fonts by default
Xorg now accepts symlinks in etc/X11/fontpath.d (as decribed in Xserver(1))
Large cleanup on lots of font ports
All fonts are now properly dynamically generating fonts.dir and fonts.scale
instead of sometime overwriting existing ones)
All fonts are generating fontconfig's cache
Improve consistency in fonts ports
2015-03-21 23:05:19 +00:00

48 lines
1.3 KiB
Makefile

# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
# $FreeBSD$
PORTNAME= conkyforecast
PORTVERSION= 2.20
PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= https://launchpadlibrarian.net/70673352/ \
LOCAL/vg
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= vg@FreeBSD.org
COMMENT= Weather forecast script for conky
LICENSE= GPLv3
RUN_DEPENDS= conky:${PORTSDIR}/sysutils/conky \
pidof:${PORTSDIR}/sysutils/pidof
USES= gettext python fonts
USE_PYTHON= distutils
SUB_FILES= pkg-message
WRKSRC= ${WRKDIR}/src
post-patch:
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/usr/share/${PORTNAME},${DATADIR},g' \
setup.py \
test/conkyForecast.test.conkyrc \
test/conkyForecast.test.sh \
example/conkyForecast.fontbased.sh \
example/conkyForecast.fontbasedtemplate.conkyrc \
example/conkyForecast.fontbasedtemplate.sh \
example/conkyForecast.imagebasedtemplate.conkyrc \
example/conkyForecast.imagebasedtemplate.sh \
conkyForecast.py \
conkyForecast \
conkyForecast-SunsetSunriseCountdown
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/usr/bin/python,/usr/bin/env,g' \
conkyForecast \
conkyForecast-SunsetSunriseCountdown
@cd ${WRKSRC} && ${RM} -fr test/*.bak example/*.bak
post-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
@${INSTALL_DATA} ${WRKSRC}/fonts/* ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>