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: ports/53734: gdeskcal update, patch locale settings Message-ID: <20030625181731.27889.qmail@httpd1.terions.de> Resent-Message-ID: <200306251820.h5PIKFAU017532@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 53734 >Category: ports >Synopsis: gdeskcal update, patch locale settings >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jun 25 11:20:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Martin Klaffenboeck >Release: FreeBSD 4.8-STABLE i386 >Organization: >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 --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030625181731.27889.qmail>