openbsd-ports/games/wesnoth/patches/patch-Makefile_am
jasper 3ebfa6e605 - update wesnoth to 1.8 series
- switch to new depends

looks ok to sthen,
tested by many on ports@
2010-10-12 20:33:17 +00:00

22 lines
1.4 KiB
Plaintext

$OpenBSD: patch-Makefile_am,v 1.2 2010/10/12 20:33:18 jasper Exp $
--- Makefile.am.orig Thu Apr 8 11:19:10 2010
+++ Makefile.am Thu Apr 8 11:20:26 2010
@@ -5,7 +5,7 @@ pkgdatadir=$(datadir)/@DATADIR@
bin_SCRIPTS =
# Ignore junk -- object files, editor backup files, wmllint backup files.
-findfilterflags=! \( -name .svn -prune -o -name ".\#*" -o -name "*~" -o -name "*bak" -o -name 'Makefile' -o -name '*Makefile' -o -type d -o -regex "data/test/*" \)
+findfilterflags=! \( -name .svn -prune -o -name ".\#*" -o -name "*~" -o -name "*bak" -o -name 'Makefile' -o -name '*Makefile' -o -type d -o -path "data/test/*" \)
# List all datafiles, ignoring junk
finddata=(cd $(top_srcdir) && find data fonts icons images sounds l10n-track $(findfilterflags) -print )
@@ -86,7 +86,7 @@ if INSTALLDATA
done
if TINYGUI
@echo "Shrink installed images by a factor of two."
- (cd $(top_srcdir) && find data/core/images data/campaigns images \( $(findfilterflags) -a -name '*.png' -and -not -name 'bar-energy-tinygui.png' -print \) ) | while read p; do \
+ (cd $(top_srcdir) && find data/core/images data/campaigns images \( $(findfilterflags) -a -name '*.png' -and ! -name 'bar-energy-tinygui.png' -print \) ) | while read p; do \
$(w_preparefileinstall) \
eval `identify $$d$$p | cut -f 3 -d ' ' | sed s/^/imagewidth=/ | sed s/x/\;imageheight=/` ;\
case $${imagewidth}x$$imageheight in \