summaryrefslogtreecommitdiff
path: root/graphics/giflib
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-09-03 15:25:01 +0000
committerobache <obache@pkgsrc.org>2011-09-03 15:25:01 +0000
commitdbfffbdf0f577822b29d4fe26d921fd7221b7840 (patch)
tree94253d32ed0cb8ce179ae01ff91afbb41c7f9c54 /graphics/giflib
parent1dfd849e92c9007cb5fc45bbf432e38f2b914220 (diff)
downloadpkgsrc-dbfffbdf0f577822b29d4fe26d921fd7221b7840.tar.gz
Install utils and docs.
Based on PR pkg/45321 by Uwe Klaus. While here, set LICENSE=mit. Bump PKGREVISION.
Diffstat (limited to 'graphics/giflib')
-rw-r--r--graphics/giflib/Makefile19
-rw-r--r--graphics/giflib/PLIST71
-rw-r--r--graphics/giflib/distinfo3
-rw-r--r--graphics/giflib/patches/patch-aa13
4 files changed, 88 insertions, 18 deletions
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile
index ef21feb49d4..17b82f9c234 100644
--- a/graphics/giflib/Makefile
+++ b/graphics/giflib/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.41 2011/01/18 11:57:53 drochner Exp $
+# $NetBSD: Makefile,v 1.42 2011/09/03 15:25:01 obache Exp $
#
DISTNAME= giflib-4.1.6
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=giflib/}
EXTRACT_SUFX= .tar.bz2
@@ -9,7 +10,7 @@ EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://giflib.sourceforge.net/
COMMENT= GIF image format library
-#LICENSE= # TODO: (see mk/license.mk)
+LICENSE= mit
CONFLICTS+= libungif-[0-9]*
PKG_DESTDIR_SUPPORT= user-destdir
@@ -17,5 +18,19 @@ PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
+USE_TOOLS+= perl:run
+DOCDIR= ${PREFIX}/share/doc/giflib
+HTMLDIR= ${PREFIX}/share/doc/html/giflib
+
+REPLACE_PERL+= util/gifburst
+
+post-patch:
+ ${RM} ${WRKSRC}/doc/gif2x11.html
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} COPYING ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
+ cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt *.png ${DESTDIR}${HTMLDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/giflib/PLIST b/graphics/giflib/PLIST
index dbcf3a7ecd7..30211d158cf 100644
--- a/graphics/giflib/PLIST
+++ b/graphics/giflib/PLIST
@@ -1,3 +1,72 @@
-@comment $NetBSD: PLIST,v 1.4 2011/01/18 11:57:53 drochner Exp $
+@comment $NetBSD: PLIST,v 1.5 2011/09/03 15:25:01 obache 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
include/gif_lib.h
lib/libgif.la
+share/doc/giflib/COPYING
+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
diff --git a/graphics/giflib/distinfo b/graphics/giflib/distinfo
index 56f272ee9d1..d17414220c7 100644
--- a/graphics/giflib/distinfo
+++ b/graphics/giflib/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.6 2011/01/18 11:57:53 drochner Exp $
+$NetBSD: distinfo,v 1.7 2011/09/03 15:25:01 obache Exp $
SHA1 (giflib-4.1.6.tar.bz2) = 22680f604ec92065f04caf00b1c180ba74fb8562
RMD160 (giflib-4.1.6.tar.bz2) = bdb99f7048a79b9e771b069f90ac151537011d19
Size (giflib-4.1.6.tar.bz2) = 506050 bytes
-SHA1 (patch-aa) = e1d98d2b0da5773ab820db1d21d022d2df08cbbc
diff --git a/graphics/giflib/patches/patch-aa b/graphics/giflib/patches/patch-aa
deleted file mode 100644
index 2cb056e52b1..00000000000
--- a/graphics/giflib/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.10 2011/01/18 11:57:54 drochner Exp $
-
---- Makefile.in.orig 2007-11-10 22:53:34.000000000 +0000
-+++ Makefile.in
-@@ -188,7 +188,7 @@ sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--SUBDIRS = lib util doc pic
-+SUBDIRS = lib
- WINDOWS = $(top_srcdir)/windows/GifWin.cpp \
- $(top_srcdir)/windows/GifWin.h \
- $(top_srcdir)/windows/StdAfx.h \