Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  5 May 2008 20:28:38 +0000 (UTC)
From:      Mel <mel@rachie.is-a-geek.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        MAINTAINER <philip@FreeBSD.org>
Subject:   ports/123434: [PATCH] Incorrect plist games/wesnoth
Message-ID:  <20080505202838.49756E60BB@portbuild-7.x.rachie.is-a-geek.net>
Resent-Message-ID: <200805052050.m45Ko47A019428@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         123434
>Category:       ports
>Synopsis:       [PATCH] Incorrect plist games/wesnoth
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 05 20:50:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Mel
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD portbuild-7.x.rachie.is-a-geek.net 7.0-STABLE FreeBSD 7.0-STABLE #6: Thu May 1 08:13:00 AKDT 2008 root@smoochies.rachie.is-a-geek.net:/usr/obj/usr/src/sys/GENERIC-ULE i386


	
>Description:
/etc/make.conf:

.if !empty(.CURDIR:M*games/wesnoth)
WITH_CAMPAIGN=yes
WITH_SERVER=yes
.endif

This does not install the wml* tools and editor desktop shortcut/icon. pkg-plist
thinks it does.
Unfortunately, I do not have the time to check without campain and without server,
but I did check WITH_TOOLS, to figure out what actually installed the wml*.

>How-To-Repeat:
make -DWITH_CAMPAIN -DWITH_SERVER package
>Fix:

--- pkg-plist.orig	2008-05-05 19:05:31.000000000 +0000
+++ pkg-plist	2008-05-05 19:14:24.000000000 +0000
@@ -2,9 +2,9 @@
 %%TOOLS:%%bin/cutter
 %%TOOLS:%%bin/exploder
 bin/wesnoth
-bin/wmlindent
-bin/wmllint
-bin/wmlscope
+%%TOOLS:%%bin/wmlindent
+%%TOOLS:%%bin/wmllint
+%%TOOLS:%%bin/wmlscope
 %%EDITOR:%%bin/wesnoth_editor
 %%SERVER:%%bin/wesnothd
 share/locale/af/LC_MESSAGES/wesnoth-aoi.mo
@@ -8359,9 +8359,9 @@
 @dirrmtry man/zh_CN/man6
 @dirrmtry man/zh_CN
 share/applications/wesnoth.desktop
-share/applications/wesnoth_editor.desktop
+%%EDITOR:%%share/applications/wesnoth_editor.desktop
 share/pixmaps/wesnoth-icon.png
-share/pixmaps/wesnoth_editor-icon.png
+%%EDITOR:%%share/pixmaps/wesnoth_editor-icon.png
 %%SERVER:%%@unexec rmdir /var/run/wesnothd 2>/dev/null || echo "If you are permanently removing this port, you should do a 'rm -rf /var/run/wesnothd' to remove it." | fmt
 @dirrmtry share/locale/ca_ES@valencia/LC_MESSAGES
 @dirrmtry share/locale/ca_ES@valencia


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080505202838.49756E60BB>