summaryrefslogtreecommitdiff
path: root/graphics/giflib-util
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2011-09-06 18:45:45 +0000
committerdrochner <drochner@pkgsrc.org>2011-09-06 18:45:45 +0000
commit0610e986e89939ef5b344926f1928e97bbb64c18 (patch)
treee15110015f382c51afbf9657c5936fc6b981b48d /graphics/giflib-util
parentde24d61d937b6974a51fdc41013916ce08201c97 (diff)
downloadpkgsrc-0610e986e89939ef5b344926f1928e97bbb64c18.tar.gz
split giflib into 2 pkgs: one for the lib, one for cmd line utils
Diffstat (limited to 'graphics/giflib-util')
-rw-r--r--graphics/giflib-util/DESCR3
-rw-r--r--graphics/giflib-util/Makefile43
-rw-r--r--graphics/giflib-util/PLIST69
3 files changed, 115 insertions, 0 deletions
diff --git a/graphics/giflib-util/DESCR b/graphics/giflib-util/DESCR
new file mode 100644
index 00000000000..7ffca8570f7
--- /dev/null
+++ b/graphics/giflib-util/DESCR
@@ -0,0 +1,3 @@
+giflib is a library for reading and writing gif images. It is API and ABI
+compatible with libungif which was in wide use while the LZW compression
+algorithm was patented.
diff --git a/graphics/giflib-util/Makefile b/graphics/giflib-util/Makefile
new file mode 100644
index 00000000000..a9185c5961a
--- /dev/null
+++ b/graphics/giflib-util/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1 2011/09/06 18:45:46 drochner Exp $
+#
+
+DISTNAME= giflib-4.1.6
+PKGNAME= giflib-util-4.1.6
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=giflib/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://giflib.sourceforge.net/
+COMMENT= GIF image format library
+LICENSE= mit
+
+PATCHDIR= ${.CURDIR}/../../graphics/giflib/patches
+DISTINFO_FILE= ${.CURDIR}/../../graphics/giflib/distinfo
+
+CONFLICTS+= libungif-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= perl:run
+REPLACE_PERL+= util/gifburst
+
+INSTALL_DIRS+= util doc
+HTMLDIR= ${PREFIX}/share/doc/html/giflib
+
+post-patch:
+ ${RM} ${WRKSRC}/doc/gif2x11.html
+
+do-build:
+ (cd ${WRKSRC}/lib && ${SETENV} ${BUILD_ENV} ${MAKE} libgetarg.a)
+ (cd ${WRKSRC}/util && ${SETENV} ${BUILD_ENV} ${MAKE})
+ (cd ${WRKSRC}/doc && ${SETENV} ${BUILD_ENV} ${MAKE})
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
+ cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt *.png ${DESTDIR}${HTMLDIR}
+
+.include "../../mk/giflib.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/giflib-util/PLIST b/graphics/giflib-util/PLIST
new file mode 100644
index 00000000000..4a34350aef6
--- /dev/null
+++ b/graphics/giflib-util/PLIST
@@ -0,0 +1,69 @@
+@comment $NetBSD: PLIST,v 1.1 2011/09/06 18:45:46 drochner Exp $
+bin/gif2epsn
+bin/gif2ps
+bin/gif2rgb
+bin/gifasm
+bin/gifbg
+bin/gifburst
+bin/gifclip
+bin/gifclrmp
+bin/gifcolor
+bin/gifcomb
+bin/gifcompose
+bin/giffiltr
+bin/giffix
+bin/gifflip
+bin/gifhisto
+bin/gifinfo
+bin/gifinter
+bin/gifinto
+bin/gifovly
+bin/gifpos
+bin/gifrotat
+bin/gifrsize
+bin/gifspnge
+bin/giftext
+bin/gifwedge
+bin/icon2gif
+bin/raw2gif
+bin/rgb2gif
+bin/text2gif
+share/doc/html/giflib/GifFileType.png
+share/doc/html/giflib/gif2bgi.html
+share/doc/html/giflib/gif2epsn.html
+share/doc/html/giflib/gif2herc.html
+share/doc/html/giflib/gif2iris.html
+share/doc/html/giflib/gif2ps.html
+share/doc/html/giflib/gif2rgb.html
+share/doc/html/giflib/gif2rle.html
+share/doc/html/giflib/gif89.txt
+share/doc/html/giflib/gif_lib.html
+share/doc/html/giflib/gifasm.html
+share/doc/html/giflib/gifbg.html
+share/doc/html/giflib/gifburst.html
+share/doc/html/giflib/gifclip.html
+share/doc/html/giflib/gifclrmp.html
+share/doc/html/giflib/gifcolor.html
+share/doc/html/giflib/gifcomb.html
+share/doc/html/giflib/gifcompose.html
+share/doc/html/giflib/giffiltr.html
+share/doc/html/giflib/giffix.html
+share/doc/html/giflib/gifflip.html
+share/doc/html/giflib/gifhisto.html
+share/doc/html/giflib/gifinter.html
+share/doc/html/giflib/gifinto.html
+share/doc/html/giflib/gifovly.html
+share/doc/html/giflib/gifpos.html
+share/doc/html/giflib/gifrotat.html
+share/doc/html/giflib/gifrsize.html
+share/doc/html/giflib/gifspnge.html
+share/doc/html/giflib/giftext.html
+share/doc/html/giflib/gifwedge.html
+share/doc/html/giflib/icon2gif.html
+share/doc/html/giflib/index.html
+share/doc/html/giflib/liberror.html
+share/doc/html/giflib/lzgif.txt
+share/doc/html/giflib/raw2gif.html
+share/doc/html/giflib/rgb2gif.html
+share/doc/html/giflib/rle2gif.html
+share/doc/html/giflib/text2gif.html