Date: 25 Jun 2003 18:17:31 -0000 From: Martin Klaffenboeck <martin@kleinerdrache.org> To: FreeBSD-gnats-submit@freebsd.org Cc: gnome@freebsd.org Subject: gdeskcal update, patch locale settings Message-ID: <20030625181731.27889.qmail@httpd1.terions.de>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Martin Klaffenboeck >Organization: >Confidential: no >Synopsis: gdeskcal update, patch locale settings >Severity: non-critical >Priority: medium >Category: ports >Class: maintainer-update >Release: FreeBSD 4.8-STABLE i386 >Environment: System: FreeBSD martin.kleinerdrache.org 4.8-STABLE FreeBSD 4.8-STABLE #3: Sun Jun 22 21:36:41 CEST 2003 martin@martin.kleinerdrache.org:/usr/obj/usr/src/sys/MYKERNEL i386 >Description: Hello, Some of you may have noticed, that gdeskcal installes the language files, but it does not use it. So now I have patched gdeskcal to use the locale files. I think this want to have a PORTREVISION, so I set that variable. Here is my patch. >How-To-Repeat: >Fix: --- gdeskcal.diff begins here --- diff -Nur gdeskcal.orig/Makefile gdeskcal/Makefile --- gdeskcal.orig/Makefile Tue Jun 10 09:13:09 2003 +++ gdeskcal/Makefile Wed Jun 25 20:14:32 2003 @@ -7,6 +7,7 @@ PORTNAME= gdeskcal PORTVERSION= 0.52 +PORTREVISION= 1 CATEGORIES= deskutils python gnome MASTER_SITES= http://www.pycage.de/download/ DISTNAME= gDeskCal-${PORTVERSION:S/./_/} @@ -21,9 +22,14 @@ USE_PYTHON= yes USE_X_PREFIX= yes USE_GNOME= gnomehier +USE_REINPLACE= yes NO_BUILD= yes DATA_DIRS= code data skins + +post-patch: + @${REINPLACE_CMD} -e 's|"locale"|"${PREFIX}/share/locale"|g' \ + ${WRKSRC}/code/values.py do-install: ${MKDIR} ${PREFIX}/share/gnome/gdeskcal --- gdeskcal.diff ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030625181731.27889.qmail>