aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gkrellweather/Makefile
blob: 5d30f3893b6c416cfbc2dca9aae8db7f17a03324 (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
# 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
CATEGORIES= misc
MASTER_SITES=   http://www.cse.unsw.edu.au/~flam/repository/c/gkrellm/

MAINTAINER= pat@databits.net

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

USE_X_PREFIX=   yes
USE_GTK=    yes
USE_IMLIB=  yes
MAKE_ENV=   PTHREAD_LIBS="${PTHREAD_LIBS}" \
        PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
ALL_TARGET= ${PORTNAME}.so

PKGMESSAGE= ${DESCR}

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

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

.include <bsd.port.mk>