aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gkrellweather/Makefile
blob: b4b1fddfc1487e5bb6eb11a2fe1531634922b89c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:    gkrellweather
# Date Created:             Thu Jun 28 01:54:57 EDT 2001
# Whom:                 Patrick Li <pat@databits.net>
# With help from:   Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gkrellweather
PORTVERSION=    0.2.7
PORTREVISION=   2
CATEGORIES= misc
MASTER_SITES=   http://www.cse.unsw.edu.au/~flam/repository/c/gkrellm/

MAINTAINER= pat@FreeBSD.org
COMMENT=    GKrellWeather is a weather plugin for GKrellM

BUILD_DEPENDS=  ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
RUN_DEPENDS=    gkrellm:${PORTSDIR}/sysutils/gkrellm \
        ${X11BASE}/bin/GrabWeather:${PORTSDIR}/misc/wmweather

BROKEN=     Unfetchable

NO_LATEST_LINK= yes

USE_X_PREFIX=   yes
USE_GNOME=  imlib
MAKE_ENV=   PTHREAD_LIBS="${PTHREAD_LIBS}" \
        PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
ALL_TARGET= ${PORTNAME}.so

PKGMESSAGE= ${DESCR}
PLIST_FILES=    libexec/gkrellm/plugins/gkrellweather.so

do-install:
    @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.so \
        ${PREFIX}/libexec/gkrellm/plugins

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>