Date: Sun, 19 May 2013 22:14:06 GMT From: Kevin Zheng <kevinz5000@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/178777: [patch] Fix pkg-plist for games/boswars Message-ID: <201305192214.r4JME6AE077806@oldred.FreeBSD.org> Resent-Message-ID: <201305192220.r4JMK0Ju010441@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 178777 >Category: ports >Synopsis: [patch] Fix pkg-plist for games/boswars >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 19 22:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Kevin Zheng >Release: 9.1-RELEASE-p3 >Organization: >Environment: FreeBSD sigma.local 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:11:52 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: The pkg-plist on games/boswars incorrectly tried to remove the files in share/license, which are already handled by the ports infrastructure. While here: - Use PORTDOCS instead of pkg-plist - Delete share/applications if empty >How-To-Repeat: >Fix: Apply the attached patch. Patch attached with submission follows: diff -ruN /usr/ports/games/boswars/Makefile boswars/Makefile --- /usr/ports/games/boswars/Makefile 2013-03-02 08:26:20.000000000 -0600 +++ boswars/Makefile 2013-05-19 16:25:02.000000000 -0500 @@ -29,6 +29,8 @@ DESKTOP_ENTRIES= "Bos Wars" "${COMMENT}" "" \ "boswars" "Game;StrategyGame;" false +PORTDOCS= * + .include <bsd.port.options.mk> post-patch: diff -ruN /usr/ports/games/boswars/pkg-plist boswars/pkg-plist --- /usr/ports/games/boswars/pkg-plist 2012-07-14 08:54:48.000000000 -0500 +++ boswars/pkg-plist 2013-05-19 16:33:36.000000000 -0500 @@ -1,36 +1,4 @@ bin/boswars -%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG -%%PORTDOCS%%%%DOCSDIR%%/README.txt -%%PORTDOCS%%%%DOCSDIR%%/scripts/unittype.html -%%PORTDOCS%%%%DOCSDIR%%/scripts/config.html -%%PORTDOCS%%%%DOCSDIR%%/scripts/findlua.py -%%PORTDOCS%%%%DOCSDIR%%/scripts/game.html -%%PORTDOCS%%%%DOCSDIR%%/scripts/index.html -%%PORTDOCS%%%%DOCSDIR%%/scripts/limits.html -%%PORTDOCS%%%%DOCSDIR%%/scripts/magic.html -%%PORTDOCS%%%%DOCSDIR%%/scripts/makeindex.py -%%PORTDOCS%%%%DOCSDIR%%/scripts/mappresentation.html -%%PORTDOCS%%%%DOCSDIR%%/scripts/mapsetup.html -%%PORTDOCS%%%%DOCSDIR%%/scripts/savegame.html -%%PORTDOCS%%%%DOCSDIR%%/scripts/showindex.py -%%PORTDOCS%%%%DOCSDIR%%/scripts/sound.html -%%PORTDOCS%%%%DOCSDIR%%/scripts/triggers.html -%%PORTDOCS%%%%DOCSDIR%%/scripts/ui.html -%%PORTDOCS%%%%DOCSDIR%%/scripts/ai.html -%%PORTDOCS%%%%DOCSDIR%%/tolua-copyright.txt -%%PORTDOCS%%%%DOCSDIR%%/stratagus-changelog.html -%%PORTDOCS%%%%DOCSDIR%%/media.html -%%PORTDOCS%%%%DOCSDIR%%/lua5-copyright.txt -%%PORTDOCS%%%%DOCSDIR%%/install.html -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/guichan-copyright.txt -%%PORTDOCS%%%%DOCSDIR%%/gpl3.txt -%%PORTDOCS%%%%DOCSDIR%%/gpl.html -%%PORTDOCS%%%%DOCSDIR%%/gcclibs-copyright.txt -%%PORTDOCS%%%%DOCSDIR%%/faq.html -%%PORTDOCS%%%%DOCSDIR%%/development.html -%%PORTDOCS%%%%DOCSDIR%%/xiph-copyright.txt -%%PORTDOCS%%%%DOCSDIR%%/README-SDL.txt %%DATADIR%%/campaigns/swindler/campaign.lua %%DATADIR%%/campaigns/swindler/level01.smp %%DATADIR%%/campaigns/swindler/level01.sms @@ -328,7 +296,6 @@ %%DATADIR%%/patches/plain2.lua %%DATADIR%%/patches/plain2.png %%DATADIR%%/patches/plain4.lua -%%DATADIR%%/patches/te0.lua %%DATADIR%%/patches/plain4.png %%DATADIR%%/patches/plain8.lua %%DATADIR%%/patches/plain8.png @@ -338,6 +305,7 @@ %%DATADIR%%/patches/rockyMountainR.png %%DATADIR%%/patches/smallWetPlain.lua %%DATADIR%%/patches/smallWetPlain.png +%%DATADIR%%/patches/te0.lua %%DATADIR%%/patches/te0.png %%DATADIR%%/patches/te1.lua %%DATADIR%%/patches/te1.png @@ -705,8 +673,7 @@ %%DATADIR%%/units/weakhotspot/hotspot.png %%DATADIR%%/units/weakhotspot/hotspot_i.png %%DATADIR%%/units/weakhotspot/unit-weakhotspot.lua -@dirrm share/licenses/boswars-2.6.1 -@dirrm share/licenses +@dirrmtry share/applications @dirrm %%DATADIR%%/units/weakhotspot @dirrm %%DATADIR%%/units/vehiclefactory @dirrm %%DATADIR%%/units/vault @@ -793,5 +760,3 @@ @dirrm %%DATADIR%%/campaigns/swindler @dirrm %%DATADIR%%/campaigns @dirrm %%DATADIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%%/scripts -%%PORTDOCS%%@dirrm %%DOCSDIR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305192214.r4JME6AE077806>