svn commit: r388823 - in head/games/xpat2: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Jun 8 01:24:09 UTC 2015
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 @@
- at group games
- at mode 2555
-bin/xpat2
- at mode
- at 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
-
- at dirrm %%DATADIR%%/russian
- at dirrm %%DATADIR%%/italian
- at dirrm %%DATADIR%%/german
- at dirrm %%DATADIR%%/french
- at dirrm %%DATADIR%%/fallback
- at dirrm %%DATADIR%%/default
- at dirrm %%DATADIR%%/audio
- at dirrm %%DATADIR%%/PySol-small
- at dirrm %%DATADIR%%/PySol-medium
- at dirrm %%DATADIR%%/PySol-large
- at dirrm %%DATADIR%%
- at dirrm lib/X11/russian/app-defaults
- at dirrm lib/X11/russian
- at dirrm lib/X11/italian/app-defaults
- at dirrm lib/X11/italian
- at dirrm lib/X11/it_IT/app-defaults
- at dirrm lib/X11/it_IT
- at dirrm lib/X11/german/app-defaults
- at dirrm lib/X11/german
- at dirrm lib/X11/french/app-defaults
- at dirrm lib/X11/french
- at dirrm lib/X11/fr_FR/app-defaults
- at dirrm lib/X11/fr_FR
- at dirrm lib/X11/de_DE/app-defaults
- at dirrm lib/X11/de_DE
- at unexec if [ ! -s /var/games/xpat.log ]; then rm -f /var/games/xpat.log; fi
- at exec if [ -d /var/games ]; then touch /var/games/xpat.log; fi
- at exec if [ -e /var/games/xpat.log ]; then chgrp games /var/games/xpat.log; fi
- at exec if [ -e /var/games/xpat.log ]; then chmod 664 /var/games/xpat.log; fi
+ at sample(,games,664) /var/games/xpat.log.sample
More information about the svn-ports-head
mailing list