Date: Sun, 8 Jul 2001 00:03:25 -0400 (EDT) From: Pete Fritchman <petef@databits.net> To: FreeBSD-gnats-submit@freebsd.org Cc: dwcjr@freebsd.org Subject: ports/28804: Fix locale install/plist stuff for www/amyc Message-ID: <200107080403.f6843Pe05157@electron.databits.net>
next in thread | raw e-mail | index | archive | help
>Number: 28804 >Category: ports >Synopsis: Fix locale install/plist stuff for www/amyc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Jul 07 21:10:06 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Pete Fritchman >Release: FreeBSD 4.3-STABLE i386 >Organization: Databits Network Services, Inc. >Environment: System: FreeBSD electron.databits.net 4.3-STABLE FreeBSD 4.3-STABLE #7: Mon Jun 11 10:15:45 EDT 2001 root@electron.databits.net:/usr/obj/usr/src/sys/ELECTRON i386 >Description: - remove share/locale if empty, fix pkg-plist (forgot %Ds) - install locale stuff to ${PREFIX}/share/locale/... instead of ${PREFIX}/lib/locale >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/amyc/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 2001/07/03 08:44:27 1.1 +++ Makefile 2001/07/08 03:50:02 @@ -30,4 +30,8 @@ PLIST_SUB= WITH_GTK="@comment " .endif +post-patch: + @${PERL} -pi -e 's!\(datadir\)/locale!(prefix)/share/locale!' \ + ${WRKSRC}/po/Makefile.in.in + .include <bsd.port.post.mk> Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/www/amyc/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 2001/07/03 08:44:27 1.1 +++ pkg-plist 2001/07/08 03:59:48 @@ -1,5 +1,6 @@ bin/amyc %%WITH_GTK%%bin/amycg share/locale/fr/LC_MESSAGES/amyc.mo -@unexec rmdir share/locale/fr/LC_MESSAGES 2>/dev/null || true -@unexec rmdir share/locale/fr 2>/dev/null || true +@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/fr 2>/dev/null || true +@unexec rmdir %D/share/locale 2>/dev/null || true >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107080403.f6843Pe05157>