mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
3147bb6c6b
It has been a while both does not depend anymore on esound, before this change esound dependency was wrongly added to plenty of packages which actually does not depend on it. While here: - audio/glame: remove esound support - games/monkeybubble: add an explicit dependency on esound - sysutils/gnome-schedule: add en explicit dependency on pkg-config - comms/kb: add missing dependency on pkgconfig - x11-toolkits/libgnomeui: * update to 2.4.5 * use USES=localbase
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gretools
|
|
PORTVERSION= 1.2.4
|
|
PORTREVISION= 15
|
|
CATEGORIES= games gnome
|
|
MASTER_SITES= http://randomwalker.info/gretools/${PORTVERSION:R}/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= GNOME vocabulary builder
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= gmake pathfix pkgconfig python:2.7 shebangfix
|
|
SHEBANG_FILES= gretools.in gretools.py
|
|
USE_GNOME= gnomeprefix pygnome2
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_OMF= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} '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
|
|
|
|
post-install:
|
|
${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gretools/gretools.pyc
|
|
${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gretools/gretools.pyo
|
|
${PYTHON_CMD} -m compileall \
|
|
-d ${PYTHONPREFIX_SITELIBDIR}/gretools \
|
|
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gretools
|
|
${PYTHON_CMD} -O -m compileall \
|
|
-d ${PYTHONPREFIX_SITELIBDIR}/gretools \
|
|
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gretools
|
|
|
|
.include <bsd.port.mk>
|