ports/53734: gdeskcal update, patch locale settings
Martin Klaffenboeck
martin at kleinerdrache.org
Wed Jun 25 18:20:17 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list