aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/everygui/Makefile
blob: 0f91f00e2e049e03f03f12021f72aa7dcd82a1f6 (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
# Created by: 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

USES=       python
USE_PYTHON= distutils autoplist
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>