aboutsummaryrefslogtreecommitdiffstats
path: root/games/gretools/Makefile
blob: 64d21a3ee66b9bb81b62c23b70b98e16d4410dcf (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
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$

PORTNAME=   gretools
PORTVERSION=    1.2.4
PORTREVISION=   12
CATEGORIES= games gnome
MASTER_SITES=   http://randomwalker.info/gretools/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTVERSION:R}

MAINTAINER= ports@FreeBSD.org
COMMENT=    GNOME vocabulary builder

LICENSE=    GPLv2

USES=       pathfix pkgconfig
USE_GNOME=  gnomeprefix pygnome2
USE_PYTHON= yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
INSTALLS_OMF=   yes

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/bin/python -t|/usr/bin/env python|g ; \
         s|@prefix@|${LOCALBASE}|g ; s|@share@|share|g' \
         ${WRKSRC}/gretools.in
    @${REINPLACE_CMD} -e 's|gtk\.TRUE|True|g ; \
         s|gtk\.FALSE|False|g ; \
         s|gtk\.idle_add|gobject\.idle_add|g' ${WRKSRC}/gretools.py

.include <bsd.port.mk>