1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= GIF image format library and tools
8 HOMEPAGE= https://sourceforge.net/projects/giflib/
12 SITES[main]= SF/giflib
13 DISTFILE[1]= giflib-5.1.8.tar.gz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILD_DEPENDS= tar:single:standard
23 DISTNAME= giflib-5.1.8
26 LICENSE_FILE= MIT:{{WRKSRC}}/COPYING
29 FPC_EQUIVALENT= graphics/giflib
31 MAKE_ARGS= PREFIX={{PREFIX}}
36 [FILE:170:descriptions/desc.single]
37 giflib is a library for reading and writing gif images.
38 It is API and ABI compatible with libungif which was in wide use
39 while the LZW compression algorithm was patented
43 d105a905df34a7822172d13657cdae3d4b0c8e8c7067ccf05e39a40044f8ca53 419065 giflib-5.1.8.tar.gz
46 [FILE:391:manifests/plist.single]
63 libgif.so.%%SOVERSION%%
80 [FILE:1239:patches/patch-Makefile]
81 --- Makefile.orig 2019-03-17 16:33:02 UTC
83 @@ -85,19 +85,19 @@ check: all
84 install: all install-bin install-include install-lib install-man
85 install-bin: $(INSTALLABLE)
86 $(INSTALL) -d "$(DESTDIR)$(BINDIR)"
87 - $(INSTALL) $^ "$(DESTDIR)$(BINDIR)"
88 + $(BSD_INSTALL_PROGRAM) ${.ALLSRC} "$(DESTDIR)$(BINDIR)"
90 $(INSTALL) -d "$(DESTDIR)$(INCDIR)"
91 - $(INSTALL) -m 644 gif_lib.h "$(DESTDIR)$(INCDIR)"
92 + $(BSD_INSTALL_DATA) gif_lib.h "$(DESTDIR)$(INCDIR)"
94 $(INSTALL) -d "$(DESTDIR)$(LIBDIR)"
95 - $(INSTALL) -m 644 libgif.a "$(DESTDIR)$(LIBDIR)/libgif.a"
96 - $(INSTALL) -m 755 libgif.so "$(DESTDIR)$(LIBDIR)/libgif.so.$(LIBVER)"
97 + $(BSD_INSTALL_DATA) libgif.a "$(DESTDIR)$(LIBDIR)/libgif.a"
98 + $(BSD_INSTALL_LIB) libgif.so "$(DESTDIR)$(LIBDIR)/libgif.so.$(LIBVER)"
99 ln -sf libgif.so.$(LIBVER) "$(DESTDIR)$(LIBDIR)/libgif.so.$(LIBMAJOR)"
100 ln -sf libgif.so.$(LIBMAJOR) "$(DESTDIR)$(LIBDIR)/libgif.so"
102 $(INSTALL) -d "$(DESTDIR)$(MANDIR)/man1"
103 - $(INSTALL) -m 644 doc/*.1 "$(DESTDIR)$(MANDIR)/man1"
104 + $(BSD_INSTALL_MAN) doc/*.1 "$(DESTDIR)$(MANDIR)/man1"
105 uninstall: uninstall-man uninstall-include uninstall-lib uninstall-bin
107 cd "$(DESTDIR)$(BINDIR)" && rm -f $(INSTALLABLE)
110 [FILE:1016:patches/patch-tests_makefile]
111 --- tests/makefile.orig 2019-02-10 22:36:27 UTC
113 @@ -27,7 +27,7 @@ rebuild: render-rebuild \
117 -GIFS := $(shell ls ../pic/*.gif)
118 +GIFS := `ls ../pic/*.gif`
120 # Test decompression and rendering by unpacking images,
121 # converting them to RGB, and comparing that result to a check file.
122 @@ -103,10 +103,10 @@ giffilter-regress:
125 @echo "Rebuilding giffix test."
126 - @head --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d >giffixed.ico
127 + @ghead --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d >giffixed.ico
129 @echo "giffix: Testing giffix behavior"
130 - @head --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d | diff -u giffixed.ico -
131 + @ghead --bytes=-20 <$(PICS)/treescap.gif | $(UTILS)/giffix 2>/dev/null | $(UTILS)/gifbuild -d | diff -u giffixed.ico -
134 @echo "gifinto: Checking behavior on short files."