Date: Mon, 8 Jun 2015 01:24:08 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388823 - in head/games/xpat2: . files Message-ID: <201506080124.t581O8UH038491@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Jun 8 01:24:08 2015 New Revision: 388823 URL: https://svnweb.freebsd.org/changeset/ports/388823 Log: - Modernize plist Modified: head/games/xpat2/Makefile head/games/xpat2/files/patch-loadsave.c head/games/xpat2/pkg-plist Modified: head/games/xpat2/Makefile ============================================================================== --- head/games/xpat2/Makefile Mon Jun 8 01:24:00 2015 (r388822) +++ head/games/xpat2/Makefile Mon Jun 8 01:24:08 2015 (r388823) @@ -33,4 +33,8 @@ post-patch: @${REINPLACE_CMD} -e \ 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/xpat2.man +post-install: + @${MKDIR} ${STAGEDIR}/var/games + ${TOUCH} ${STAGEDIR}/var/games/xpat.log.sample + .include <bsd.port.mk> Modified: head/games/xpat2/files/patch-loadsave.c ============================================================================== --- head/games/xpat2/files/patch-loadsave.c Mon Jun 8 01:24:00 2015 (r388822) +++ head/games/xpat2/files/patch-loadsave.c Mon Jun 8 01:24:08 2015 (r388823) @@ -1,3 +1,4 @@ +XXX: this breaks writing to /var/log/xpat2.log --- loadsave.c.orig +++ loadsave.c @@ -42,13 +42,18 @@ Modified: head/games/xpat2/pkg-plist ============================================================================== --- head/games/xpat2/pkg-plist Mon Jun 8 01:24:00 2015 (r388822) +++ head/games/xpat2/pkg-plist Mon Jun 8 01:24:08 2015 (r388823) @@ -1,8 +1,4 @@ -@group games -@mode 2555 -bin/xpat2 -@mode -@group +@(,games,2555) bin/xpat2 man/man6/xpat2.6.gz lib/X11/app-defaults/XPat lib/X11/de_DE/app-defaults/XPat @@ -156,33 +152,4 @@ lib/X11/russian/app-defaults/XPat %%DATADIR%%/de_DE %%DATADIR%%/fr_FR %%DATADIR%%/it_IT - -@dirrm %%DATADIR%%/russian -@dirrm %%DATADIR%%/italian -@dirrm %%DATADIR%%/german -@dirrm %%DATADIR%%/french -@dirrm %%DATADIR%%/fallback -@dirrm %%DATADIR%%/default -@dirrm %%DATADIR%%/audio -@dirrm %%DATADIR%%/PySol-small -@dirrm %%DATADIR%%/PySol-medium -@dirrm %%DATADIR%%/PySol-large -@dirrm %%DATADIR%% -@dirrm lib/X11/russian/app-defaults -@dirrm lib/X11/russian -@dirrm lib/X11/italian/app-defaults -@dirrm lib/X11/italian -@dirrm lib/X11/it_IT/app-defaults -@dirrm lib/X11/it_IT -@dirrm lib/X11/german/app-defaults -@dirrm lib/X11/german -@dirrm lib/X11/french/app-defaults -@dirrm lib/X11/french -@dirrm lib/X11/fr_FR/app-defaults -@dirrm lib/X11/fr_FR -@dirrm lib/X11/de_DE/app-defaults -@dirrm lib/X11/de_DE -@unexec if [ ! -s /var/games/xpat.log ]; then rm -f /var/games/xpat.log; fi -@exec if [ -d /var/games ]; then touch /var/games/xpat.log; fi -@exec if [ -e /var/games/xpat.log ]; then chgrp games /var/games/xpat.log; fi -@exec if [ -e /var/games/xpat.log ]; then chmod 664 /var/games/xpat.log; fi +@sample(,games,664) /var/games/xpat.log.sample
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506080124.t581O8UH038491>