diff options
Diffstat (limited to 'deskutils/gnome-shell-extension-openweather/Makefile')
-rw-r--r-- | deskutils/gnome-shell-extension-openweather/Makefile | 49 |
1 files changed, 32 insertions, 17 deletions
diff --git a/deskutils/gnome-shell-extension-openweather/Makefile b/deskutils/gnome-shell-extension-openweather/Makefile index e02e66b34fea..e6049b7560a2 100644 --- a/deskutils/gnome-shell-extension-openweather/Makefile +++ b/deskutils/gnome-shell-extension-openweather/Makefile @@ -1,29 +1,44 @@ PORTNAME= gnome-shell-extension-openweather -PORTVERSION= 119 +DISTVERSION= 139 +DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= deskutils gnome -DIST_SUBDIR= gnome +MASTER_SITES= https://github.com/penguin-teal/gnome-openweather/releases/download/${DISTVERSIONFULL}/ +DISTNAME= ${PORTNAME}refined-${DISTVERSIONFULL} MAINTAINER= gnome@FreeBSD.org -COMMENT= OpenWeather extension for the GNOME3 shell -WWW= https://gitlab.com/skrewball/openweather +COMMENT= OpenWeather extension for the GNOME Shell +WWW= https://github.com/penguin-teal/gnome-openweather -LICENSE= GPLv3+ -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE= GPLv3 -BUILD_DEPENDS= gsettings-desktop-schemas>=3.12.0:devel/gsettings-desktop-schemas -RUN_DEPENDS= gnome-shell>=0:x11/gnome-shell \ - gsettings-desktop-schemas>=3.12.0:devel/gsettings-desktop-schemas +RUN_DEPENDS= gnome-shell>=47.0:x11/gnome-shell \ + gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas -USES= gettext gmake gnome -USE_GITLAB= yes -GL_ACCOUNT= skrewball -GL_PROJECT= openweather -GL_TAGNAME= dc4a165ffa7d11f19efd7f70401012b4d2c4b94f +USES= gnome USE_GNOME= glib20 -GLIB_SCHEMAS= org.gnome.shell.extensions.openweather.gschema.xml -MAKE_ARGS+= SHARE_PREFIX='$${DESTDIR}$${PREFIX}/share' +NO_WRKSUBDIR= yes +NO_BUILD= yes +NO_ARCH= yes -PKGMESSAGE= ../gnome-shell-extra-extensions/pkg-message.slaves +UUID_EXTENSION= openweather-extension@penguin-teal.github.io + +SUB_FILES= pkg-message +SUB_LIST= UUID=${UUID_EXTENSION} + +GLIB_SCHEMAS= org.gnome.shell.extensions.openweatherrefined.gschema.xml + +pre-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas + ${MKDIR} ${STAGEDIR}${PREFIX}/share/locale + ${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/${UUID_EXTENSION} + +do-install: + ${INSTALL_DATA} ${WRKSRC}/schemas/*.gschema.xml \ + ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/ + ${RM} -Rf ${WRKSRC}/schemas/ + cd ${WRKSRC} && ${COPYTREE_SHARE} . \ + ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/${UUID_EXTENSION} .include <bsd.port.mk> |