openbsd-ports/math/gnumeric/patches/patch-templates_autoformat_Makefile_in

22 lines
841 B
Plaintext
Raw Normal View History

2005-05-27 13:50:26 -04:00
$OpenBSD: patch-templates_autoformat_Makefile_in,v 1.2 2005/05/27 17:50:26 marcm Exp $
--- templates/autoformat/Makefile.in.orig Sat Jan 15 18:01:28 2005
+++ templates/autoformat/Makefile.in Sun Feb 20 19:31:48 2005
@@ -472,13 +472,15 @@ install-data-local:
2004-12-10 15:39:22 -05:00
< $(srcdir)/$$cat.category.in \
> $$dir/.category ; \
for f in $(srcdir)/autoformat.$$cat.*.xml.in ; do \
2005-05-27 13:50:26 -04:00
- echo " $${f#$(srcdir)/autoformat.$$cat.}" ; \
+ f1=`echo $${f} | sed -e 's/$(srcdir)/autoformat.$$cat.//'`; \
2004-12-10 15:39:22 -05:00
+ f2=`echo $${f} | sed -e 's/.xml.in/.xml/'`; \
+ echo " $${f1}" ; \
sed \
-e 's/ _author *=/ author=/' \
-e 's/ _name *=/ name=/' \
-e 's/ _description *=/ description=/' \
< $$f \
2005-05-27 13:50:26 -04:00
- > $$dir/`basename $${f%.in}` ; \
2004-12-10 15:39:22 -05:00
+ > $$dir/`basename $${f2}` ; \
done \
done