openbsd-ports/x11/gnome/tweak-tool/Makefile
2012-04-01 09:28:41 +00:00

45 lines
992 B
Makefile

# $OpenBSD: Makefile,v 1.17 2012/04/01 09:28:41 ajacoutot Exp $
COMMENT= tweak hidden GTK/GNOME settings
GNOME_PROJECT= gnome-tweak-tool
GNOME_VERSION= 3.3.4
REVISION= 1
CATEGORIES= sysutils
HOMEPAGE= https://live.gnome.org/GnomeTweakTool
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= x11/gnome \
lang/python
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= devel/gsettings-desktop-schemas \
devel/gconf2 \
devel/gettext \
devel/py-gobject3
MODPY_ADJ_FILES=gnome-tweak-tool
MODGNOME_DESKTOP_FILE= Yes
# XXX see post-install
# https://bugzilla.gnome.org/show_bug.cgi?id=647132
#RUN_DEPENDS += x11/gnome/shell
# https://bugzilla.gnome.org/show_bug.cgi?id=673287
pre-configure:
perl -pi -e 's,PYGOBJECT_REQUIRED_VERSION\),PYGOBJECT_REQUIRED_VERSION,g' \
${WRKSRC}/configure
post-install:
rm ${WRKINST}${MODPY_LIBDIR}/site-packages/gtweak/tweaks/tweak_shell{,_extensions}.p*
.include <bsd.port.mk>