pkgsrc/www/wml/patches/patch-ah

22 lines
688 B
Text

$NetBSD: patch-ah,v 1.1 2007/09/29 21:23:13 heinz Exp $
DESTDIR support
--- wml_misc/Makefile.in.orig 2002-10-17 22:55:19.000000000 +0200
+++ wml_misc/Makefile.in
@@ -33,12 +33,12 @@ mandir = $(prefix)/man
all:
install:
- $(MKDIR) $(libdir)/data/logos
+ $(MKDIR) $(DESTDIR)$(libdir)/data/logos
@set -e; \
files=`echo logo-*`; \
for file in $$files; do \
- echo "$(INSTALL_DATA) $$file $(libdir)/data/logos/$$file"; \
- $(INSTALL_DATA) $$file $(libdir)/data/logos/$$file; \
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(libdir)/data/logos/$$file"; \
+ $(INSTALL_DATA) $$file $(DESTDIR)$(libdir)/data/logos/$$file; \
done
clean: