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.2.1.tar.gz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILD_DEPENDS= tar:primary:standard
25 DISTNAME= giflib-5.2.1
28 LICENSE_FILE= MIT:{{WRKSRC}}/COPYING
32 CPE_VENDOR= giflib_project
33 FPC_EQUIVALENT= graphics/giflib
35 MAKE_ARGS= PREFIX={{PREFIX}}
40 [FILE:170:descriptions/desc.single]
41 giflib is a library for reading and writing gif images.
42 It is API and ABI compatible with libungif which was in wide use
43 while the LZW compression algorithm was patented
47 31da5562f44c5f15d63340a09a4fd62b48c45620cd302f77a6d9acf0077879bd 444187 giflib-5.2.1.tar.gz
50 [FILE:351:manifests/plist.single]
63 libgif.so.%%SOVERSION%%
80 [FILE:1231:patches/patch-Makefile]
81 --- Makefile.orig 2019-06-24 16:08:57 UTC
83 @@ -92,19 +92,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) $^ "$(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-03-28 17:05:25 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 @@ -104,10 +104,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."