freebsd-ports/astro/wcslib/files/patch-GNUmakefile
Danilo Egea Gondolfo 1156b63312 - Update to 5.17
2017-11-05 14:20:11 +00:00

32 lines
1.1 KiB
Text

--- GNUmakefile.orig 2017-10-17 22:17:55 UTC
+++ GNUmakefile
@@ -81,26 +81,14 @@ install :
$(MAKE) -k -C $$DIR $@ ; \
done
$(INSTALL) -m 444 wcsconfig.h wcsconfig_f77.h $(INCDIR)
- - if [ ! -d "$(DOCDIR)" ] ; then \
- $(INSTALL) -d -m 775 $(DOCDIR) ; \
- fi
- $(INSTALL) -m 444 CHANGES COPYING* README $(DOCDIR)
- if [ -h $(DOCLINK) ] ; then \
$(RM) $(DOCLINK) ; \
$(LN_S) $(notdir $(DOCDIR)) $(DOCLINK) ; \
fi
- - if [ ! -d "$(PDFDIR)" ] ; then \
- $(INSTALL) -d -m 775 $(PDFDIR) ; \
+ if [ ! -d "%%PKGDIR%%/pkgconfig" ] ; then \
+ $(INSTALL) -d -m 775 "%%PKGDIR%%/pkgconfig" ; \
fi
- $(INSTALL) -m 444 wcslib.pdf $(PDFDIR)
- - if [ ! -d "$(HTMLDIR)/html" ] ; then \
- $(INSTALL) -d -m 775 $(HTMLDIR)/html ; \
- fi
- $(INSTALL) -m 444 html/* $(HTMLDIR)/html
- if [ ! -d "$(LIBDIR)/pkgconfig" ] ; then \
- $(INSTALL) -d -m 775 $(LIBDIR)/pkgconfig ; \
- fi
- $(INSTALL) -m 444 wcslib.pc $(LIBDIR)/pkgconfig/wcslib.pc
+ $(INSTALL) -m 444 wcslib.pc %%PKGDIR%%/pkgconfig/wcslib.pc
clean cleaner :
for DIR in $(SUBDIRS) doxygen ; do \