gdeskcal update, patch locale settings

Martin Klaffenboeck martin at kleinerdrache.org
Wed Jun 25 11:17:36 PDT 2003


>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 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 ---




More information about the freebsd-gnome mailing list