freebsd-ports/graphics/ivtools/files/patch-config::rules.def
2004-07-15 09:39:53 +00:00

76 lines
1.8 KiB
Modula-2

--- config/rules.def.orig Thu Jul 15 17:05:32 2004
+++ config/rules.def Thu Jul 15 17:10:44 2004
@@ -1055,71 +1055,15 @@
*/
#ifndef InstallIncludes
-#if InstallRelative
-#define InstallIncludes(dir) @@\
-install:: @@\
- -@if [ -h $(TOP)/include ]; then exit 0; else \ @@\
- (cd $(TOP) && $(LN) src/include include); fi
-#else
-#define InstallIncludes(dir) @@\
-install:: @@\
- MakeDir($(INCDIR)/dir) @@\
- $(INSTALL) -c $(INSTINCFLAGS) *.h $(INCDIR)/dir @@\
- @@\
-uninstall:: @@\
- (cd $(INCDIR)/dir;$(RM) *.h)
-#endif
+#define InstallIncludes(dir) /**/
#endif
#ifndef InstallInclude
-#if InstallRelative
-#define InstallInclude(dir, file) @@\
-install:: @@\
- -@if [ -h $(TOP)/include ]; then exit 0; else \ @@\
- (cd $(TOP) && $(LN) src/include include); fi
-#else
-#define InstallInclude(dir, file) @@\
-install:: @@\
- MakeDir($(INCDIR)/dir) @@\
- $(INSTALL) -c $(INSTINCFLAGS) file $(INCDIR)/dir @@\
- @@\
-uninstall:: @@\
- $(RM) $(INCDIR)/dir/file
-#endif
+#define InstallInclude(dir, file) /**/
#endif
#ifndef InstallSymLink
-#if InstallRelative
#define InstallSymLink(dir, file) /**/
-#else
-#if !defined(SVR4)
-#if defined(DARWIN)
-#define InstallSymLink(dir, file) @@\
-install:: @@\
- MakeDir(dir) @@\
- cp -f file dir @@\
- @@\
-uninstall:: @@\
- $(RM) dir/file
-#else
-#define InstallSymLink(dir, file) @@\
-install:: @@\
- MakeDir(dir) @@\
- cp -fd file dir @@\
- @@\
-uninstall:: @@\
- $(RM) dir/file
-#endif
-#else
-#define InstallSymLink(dir, file) @@\
-install:: @@\
- MakeDir(dir) @@\
- tar cf - file | (cd dir; tar xfp -) @@\
- @@\
-uninstall:: @@\
- $(RM) dir/file
-#endif
-#endif
#endif
/*