aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gkrellscore/Makefile
blob: 392b611c623d62538003291c858524a232e7c65d (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
# New ports collection makefile for:    gkrellscore
# Date Created:             Fri Aug 17 15:57:42 EDT 2001
# Whom:                 Patrick Li <pat@databits.net>
#
# $FreeBSD$
#

PORTNAME=   gkrellscore
PORTVERSION=    0.0.2
CATEGORIES= misc
MASTER_SITES=   http://ssl.usu.edu/paul/gkrellscore/
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= pat@FreeBSD.org

BUILD_DEPENDS=  ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
RUN_DEPENDS=    gkrellm:${PORTSDIR}/sysutils/gkrellm \
        wget:${PORTSDIR}/ftp/wget

WRKSRC=     ${WRKDIR}/${DISTNAME:S/_/-/}
USE_X_PREFIX=   yes
USE_GTK=    yes
USE_IMLIB=  yes
USE_GMAKE=  yes

pre-patch:
    @${PERL} -pi.orig -e 's|/usr/bin/perl|${PERL}|; \
            s|(mkdir \$$dir)|$$1,0755|' \
        ${WRKSRC}/gkrellscore.excite

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/gkrellscore.so \
        ${PREFIX}/libexec/gkrellm/plugins
    @${INSTALL_SCRIPT} ${WRKSRC}/gkrellscore.excite \
        ${PREFIX}/bin

.include <bsd.port.mk>