Update to redshift-1.6.

Use MODPY_ADJ_FILES.

prodded by Remi Pointel on ports@
This commit is contained in:
ajacoutot 2010-11-03 07:12:40 +00:00
parent fec8a6bd81
commit eed07dd171
3 changed files with 21 additions and 18 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.2 2010/09/06 06:22:08 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.3 2010/11/03 07:12:40 ajacoutot Exp $
COMMENT= automatic color temperature adjustment
DISTNAME= redshift-1.5
V= 1.6
DISTNAME= redshift-${V}
EXTRACT_SUFX= .tar.bz2
CATEGORIES= misc
@ -17,9 +18,9 @@ PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xau Xdmcp Xext Xxf86vm c glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 m pthread pthread-stubs xcb xcb-randr ORBit-2
WANTLIB += dbus-1 gconf-2
WANTLIB += gconf-2 gio-2.0
MASTER_SITES= http://launchpad.net/redshift/trunk/1.5/+download/
MASTER_SITES= http://launchpad.net/redshift/trunk/${V:C/^([0-9]+\.[0-9]+).*/\1/}/+download/
RUN_DEPENDS= ::devel/desktop-file-utils \
::devel/py-xdg
@ -37,8 +38,6 @@ CONFIGURE_ARGS= --disable-silent-rules \
--enable-gnome-clock \
--enable-gui
pre-configure:
perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},' \
${WRKSRC}/src/gtk-redshift/gtk-redshift
MODPY_ADJ_FILES= src/gtk-redshift/gtk-redshift
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (redshift-1.5.tar.bz2) = tgI6fWT6nk/nahv8me86hQ==
RMD160 (redshift-1.5.tar.bz2) = WK8icTV/BQCERgIO6GOKdnDOwkg=
SHA1 (redshift-1.5.tar.bz2) = gJbl7EYCMTffJEQHvZA3Es42JqU=
SHA256 (redshift-1.5.tar.bz2) = bdH2hFBELG6+hZpOuAxFWKigAId2a9H9AGJIlteKtHE=
SIZE (redshift-1.5.tar.bz2) = 243312
MD5 (redshift-1.6.tar.bz2) = vXWzF7juSSpEg+kalPKwwQ==
RMD160 (redshift-1.6.tar.bz2) = 0qkhr78bTA+N+csZKzk4u09cQhE=
SHA1 (redshift-1.6.tar.bz2) = x5ytqx82xHi+ngFg5IMq6CVtVhU=
SHA256 (redshift-1.6.tar.bz2) = kQdFHe48ccbqFGy1QJOQgUv4W1bqSV+1dsKPbjH8hjw=
SIZE (redshift-1.6.tar.bz2) = 266881

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/09/06 06:21:19 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.2 2010/11/03 07:12:41 ajacoutot Exp $
bin/gtk-redshift
@bin bin/redshift
lib/python${MODPY_VERSION}/site-packages/gtk_redshift/
@ -14,19 +14,21 @@ lib/python${MODPY_VERSION}/site-packages/gtk_redshift/statusicon.pyo
lib/python${MODPY_VERSION}/site-packages/gtk_redshift/utils.py
lib/python${MODPY_VERSION}/site-packages/gtk_redshift/utils.pyc
lib/python${MODPY_VERSION}/site-packages/gtk_redshift/utils.pyo
@man man/man1/redshift.1
share/applications/gtk-redshift.desktop
share/icons/hicolor/scalable/apps/redshift-idle.svg
share/icons/hicolor/scalable/apps/redshift-status-off.svg
share/icons/hicolor/scalable/apps/redshift-status-on.svg
share/icons/hicolor/scalable/apps/redshift.svg
share/icons/ubuntu-mono-dark/
share/icons/ubuntu-mono-dark/scalable/
share/icons/ubuntu-mono-dark/scalable/apps/
share/icons/ubuntu-mono-dark/scalable/apps/redshift-idle.svg
share/icons/ubuntu-mono-dark/scalable/apps/redshift.svg
share/icons/ubuntu-mono-dark/scalable/apps/redshift-status-off.svg
share/icons/ubuntu-mono-dark/scalable/apps/redshift-status-on.svg
share/icons/ubuntu-mono-light/
share/icons/ubuntu-mono-light/scalable/
share/icons/ubuntu-mono-light/scalable/apps/
share/icons/ubuntu-mono-light/scalable/apps/redshift-idle.svg
share/icons/ubuntu-mono-light/scalable/apps/redshift.svg
share/icons/ubuntu-mono-light/scalable/apps/redshift-status-off.svg
share/icons/ubuntu-mono-light/scalable/apps/redshift-status-on.svg
share/locale/cs/LC_MESSAGES/redshift.mo
share/locale/da/LC_MESSAGES/redshift.mo
share/locale/de/LC_MESSAGES/redshift.mo
@ -36,6 +38,8 @@ share/locale/fi/LC_MESSAGES/redshift.mo
share/locale/fr/LC_MESSAGES/redshift.mo
share/locale/he/LC_MESSAGES/redshift.mo
share/locale/it/LC_MESSAGES/redshift.mo
share/locale/ka/LC_MESSAGES/redshift.mo
share/locale/lt/LC_MESSAGES/redshift.mo
share/locale/pt_BR/LC_MESSAGES/redshift.mo
share/locale/ru/LC_MESSAGES/redshift.mo
share/locale/zh_CN/LC_MESSAGES/redshift.mo