1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/games/gretools/Makefile
Danilo Egea Gondolfo f936dcf1d9 - Use shebangfix
- Convert USE_GMAKE to USES
- Add stage support
2013-11-16 02:32:56 +00:00

32 lines
803 B
Makefile

# 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= gmake pathfix pkgconfig shebangfix
SHEBANG_FILES= ${WRKSRC}/gretools.py
USE_GNOME= gnomeprefix pygnome2
USE_PYTHON= 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>