aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/everygui/Makefile
blob: a6ffec9bbee97d2020bad8de0692b59c266e1bbd (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
# New ports collection makefile for:    everygui
# Date Created:             09 Jan 2006
# Whom:                 Remington Lang <MrL0Lz@gmail.com>
#
# $FreeBSD$

PORTNAME=   everygui
PORTVERSION=    0.99.b
PORTREVISION=   7
CATEGORIES= deskutils gnome
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Dynamic GUI for an OS command

USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_GNOME=  libglade2 pygnome2

WRKSRC=     ${WRKDIR}/${PORTNAME}

post-patch:
    @${FIND} ${WRKSRC} -name "*.py" | ${XARGS} ${REINPLACE_CMD} -e\
        's,/usr/share,${PREFIX}/share,g' -e\
        's,/usr/src,${PREFIX}/src,g'
    @${REINPLACE_CMD} -e 's,/usr/src/everygui,${PREFIX}/src/everygui,g' \
        ${WRKSRC}/everygui
    @${REINPLACE_CMD} -e 's,/usr/src,${PREFIX}/src,g' \
        ${WRKSRC}/egdesign
    @${FIND} ${WRKSRC} -name "*.bak" -delete

.include <bsd.port.mk>