1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/deskutils/gnome-tweaks/Makefile
Dmitry Marakasov d11c247fcd - Fix LICENSE
- Update WWW

Approved by:	portmgr blanket
2019-06-11 09:01:52 +00:00

45 lines
1.4 KiB
Makefile

# Created by: Jeremy Messenger <mezz@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnome-tweaks
PORTVERSION= 3.28.1
PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= Allows to tweak some hidden settings in GNOME3
LICENSE= GPLv3+ CC0-1.0
LICENSE_COMB= multi
LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSES/GPL-3.0
LICENSE_FILE_CC0-1.0= ${WRKSRC}/LICENSES/CC0-1.0
BUILD_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \
gnome-shell>=3.28:x11/gnome-shell
PORTSCOUT= limitw:1,even
NO_ARCH= yes
USES= gettext gnome localbase meson pkgconfig \
python:3.4+ shebangfix tar:xz
USE_GNOME= gtk30 pygobject3 nautilus3
INSTALLS_ICONS= yes
SHEBANG_FILES= gnome-tweaks \
gnome-tweak-tool-lid-inhibitor \
meson-postinstall.py
# generates .py[co] files for installed modules
# if that's not done, ${PYTHON_SITELIBDIR}/gps will be polluted
# with these files when module is imported from root user
post-install:
@${FIND} ${STAGEDIR}${PREFIX} -name \*.pyc -delete
(cd ${STAGEDIR}${PREFIX} && \
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} && \
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
.include <bsd.port.mk>