From 5a2f4ac8e241ed2a469861657991fae1b801773d Mon Sep 17 00:00:00 2001
From: Satoshi Asami <asami@FreeBSD.org>
Date: Wed, 4 Jun 1997 01:14:25 +0000
Subject: Modify hack to remove "doc" subdir name from share/doc/urt/doc.

---
 graphics/urt/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'graphics/urt')

diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile
index 910b836d63a9..d428effded3a 100644
--- a/graphics/urt/Makefile
+++ b/graphics/urt/Makefile
@@ -3,7 +3,7 @@
 # Date created:		Jan 5 1997
 # Whom:			cfs@ing.puc.cl (original)
 #
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1997/06/03 23:41:07 asami Exp $
 #
 
 DISTNAME=	urt
@@ -24,8 +24,10 @@ post-install:
 		${MKDIR} ${PREFIX}/share/doc/urt
 		cd ${PREFIX}/share/doc/urt; \
 		  tar xf $(DISTDIR)/urt-doc.tar; \
-		  mv doc/* .; \
-		  rmdir doc; \
+		  cd doc; \
+		  find -d . | cpio -dump ..; \
+		  cd ..; \
+		  rm -rf doc; \
 		  tar xf $(DISTDIR)/urt-img.tar; \
 		  chown -R root:wheel . ; \
 		  find . -type d -exec chmod 775 '{}' \; ; \
-- 
cgit v1.2.3