pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/redshift redshift: install translations and exampl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/880f1398330e
branches:  trunk
changeset: 453026:880f1398330e
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri May 21 15:22:38 2021 +0000

description:
redshift: install translations and examples. bump PKGREVISION.

from Benedek Gergely in a private email.

diffstat:

 x11/redshift/Makefile |  14 +++++++++++---
 x11/redshift/PLIST    |  39 ++++++++++++++++++++++++++++++++++++++-
 2 files changed, 49 insertions(+), 4 deletions(-)

diffs (80 lines):

diff -r 8a2b42b82cd8 -r 880f1398330e x11/redshift/Makefile
--- a/x11/redshift/Makefile     Fri May 21 15:05:18 2021 +0000
+++ b/x11/redshift/Makefile     Fri May 21 15:22:38 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2020/06/02 08:25:03 adam Exp $
+# $NetBSD: Makefile,v 1.6 2021/05/21 15:22:38 nia Exp $
 
 DISTNAME=      redshift-1.12
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jonls/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
@@ -14,12 +14,20 @@
 
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
-USE_TOOLS+=    intltool pkg-config
+USE_TOOLS+=    intltool pkg-config gmake
 USE_TOOLS+=    msgfmt msgmerge xgettext
 
 CONFIGURE_ARGS+=       --disable-gui
 
+EGDIR=                 share/examples/redshift
+INSTALLATION_DIRS=     ${EGDIR}
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/redshift.conf.sample \
+           ${DESTDIR}${PREFIX}/share/examples/redshift
+
 .include "options.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../x11/libXxf86vm/buildlink3.mk"
 .include "../../x11/libxcb/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 8a2b42b82cd8 -r 880f1398330e x11/redshift/PLIST
--- a/x11/redshift/PLIST        Fri May 21 15:05:18 2021 +0000
+++ b/x11/redshift/PLIST        Fri May 21 15:22:38 2021 +0000
@@ -1,3 +1,40 @@
-@comment $NetBSD: PLIST,v 1.1 2016/05/18 22:18:43 snj Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/05/21 15:22:38 nia Exp $
 bin/redshift
 man/man1/redshift.1
+share/examples/redshift/redshift.conf.sample
+share/locale/ar/LC_MESSAGES/redshift.mo
+share/locale/be/LC_MESSAGES/redshift.mo
+share/locale/bg/LC_MESSAGES/redshift.mo
+share/locale/ca/LC_MESSAGES/redshift.mo
+share/locale/cs/LC_MESSAGES/redshift.mo
+share/locale/da/LC_MESSAGES/redshift.mo
+share/locale/de/LC_MESSAGES/redshift.mo
+share/locale/el/LC_MESSAGES/redshift.mo
+share/locale/en_GB/LC_MESSAGES/redshift.mo
+share/locale/es/LC_MESSAGES/redshift.mo
+share/locale/et/LC_MESSAGES/redshift.mo
+share/locale/eu/LC_MESSAGES/redshift.mo
+share/locale/fi/LC_MESSAGES/redshift.mo
+share/locale/fr/LC_MESSAGES/redshift.mo
+share/locale/gl/LC_MESSAGES/redshift.mo
+share/locale/he/LC_MESSAGES/redshift.mo
+share/locale/hi/LC_MESSAGES/redshift.mo
+share/locale/hr/LC_MESSAGES/redshift.mo
+share/locale/hu/LC_MESSAGES/redshift.mo
+share/locale/it/LC_MESSAGES/redshift.mo
+share/locale/ja/LC_MESSAGES/redshift.mo
+share/locale/ka/LC_MESSAGES/redshift.mo
+share/locale/lt/LC_MESSAGES/redshift.mo
+share/locale/nb/LC_MESSAGES/redshift.mo
+share/locale/nl/LC_MESSAGES/redshift.mo
+share/locale/pl/LC_MESSAGES/redshift.mo
+share/locale/pt/LC_MESSAGES/redshift.mo
+share/locale/pt_BR/LC_MESSAGES/redshift.mo
+share/locale/ro/LC_MESSAGES/redshift.mo
+share/locale/ru/LC_MESSAGES/redshift.mo
+share/locale/sr/LC_MESSAGES/redshift.mo
+share/locale/sv/LC_MESSAGES/redshift.mo
+share/locale/tr/LC_MESSAGES/redshift.mo
+share/locale/uk/LC_MESSAGES/redshift.mo
+share/locale/zh_CN/LC_MESSAGES/redshift.mo
+share/locale/zh_TW/LC_MESSAGES/redshift.mo



Home | Main Index | Thread Index | Old Index