1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/misc/gkrellweather2/Makefile
Pawel Pekala 76c0ae5696 - Update to version 2.0.8
- Add LICENSE
- Support staging
- Update homepage

PR:		ports/181066
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-11-02 12:58:52 +00:00

35 lines
989 B
Makefile

# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
PORTNAME= gkrellweather
PORTVERSION= 2.0.8
CATEGORIES= misc geography
MASTER_SITES= https://sites.google.com/site/makovick/projects/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Weather plugin for GKrellM
LICENSE= GPLv2 # (or later)
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
FETCH_ARGS= -Fpr
USES= gettext gmake pkgconfig
MAKE_ENV= enable_nls=1
ALL_TARGET= gkrellweather.so
do-install:
(cd ${WRKSRC} && ${INSTALL_SCRIPT} GrabWeather \
${STAGEDIR}${PREFIX}/bin)
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
(cd ${WRKSRC} && ${INSTALL_DATA} gkrellweather.so \
${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins)
@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/ru
(cd ${WRKSRC}/po && ${INSTALL_DATA} ru.mo \
${STAGEDIR}${PREFIX}/share/locale/ru/LC_MESSAGES/gkrellweather.mo)
.include <bsd.port.mk>