aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2012-11-08 00:17:10 +0800
committerpawel <pawel@FreeBSD.org>2012-11-08 00:17:10 +0800
commit4c30bd6e6786a77c1c81b76160a695482d07a81a (patch)
treed1808f59efb49b4017a781b15e9a1704bd27fae1 /games
parent65999cf5b9a2cf1da4731e625f924b18b0604240 (diff)
downloadfreebsd-ports-gnome-4c30bd6e6786a77c1c81b76160a695482d07a81a.tar.gz
freebsd-ports-gnome-4c30bd6e6786a77c1c81b76160a695482d07a81a.tar.zst
freebsd-ports-gnome-4c30bd6e6786a77c1c81b76160a695482d07a81a.zip
- Update MASTER_SITES and WWW: line
- Add LICENSE While here: - Make sure that gretools script actually starts the program - Port needs pkg-config during build PR: ports/172002 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Feature safe: yes
Diffstat (limited to 'games')
-rw-r--r--games/gretools/Makefile18
-rw-r--r--games/gretools/pkg-descr2
2 files changed, 10 insertions, 10 deletions
diff --git a/games/gretools/Makefile b/games/gretools/Makefile
index 0d5efa0ce6e3..440f1c4e7d16 100644
--- a/games/gretools/Makefile
+++ b/games/gretools/Makefile
@@ -1,29 +1,29 @@
-# New ports collection makefile for: gretools
-# Date created: 2004 January 15
-# Whom: Adam Weinberger <adamw@FreeBSD.org>
-#
+# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= gretools
PORTVERSION= 1.2.4
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= games gnome
-MASTER_SITES= http://www.cs.utexas.edu/~arvindn/gretools/%SUBDIR%/
+MASTER_SITES= http://randomwalker.info/gretools/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
COMMENT= GNOME vocabulary builder
+LICENSE= GPLv2
+
USE_GNOME= gnomehack gnomeprefix pygnome2
USE_PYTHON= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+USE_PKGCONFIG= build
INSTALLS_OMF= yes
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/bin/python|/usr/bin/env python|g ; \
- s|@prefix@/share/|@datadir@/|g' ${WRKSRC}/gretools.in
+ @${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
diff --git a/games/gretools/pkg-descr b/games/gretools/pkg-descr
index 7ca5ada91ea7..5684d4a3bfa8 100644
--- a/games/gretools/pkg-descr
+++ b/games/gretools/pkg-descr
@@ -1,4 +1,4 @@
Gretools is a vocabulary building tool for GNOME. Its wordlist is comprised
of about 4000 words, and it has a synonym quiz and a word-guessing game.
-WWW: http://www.cs.utexas.edu/~arvindn/gretools/
+WWW: http://randomwalker.info/gretools/