Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2016 16:22:42 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411461 - in head/graphics: . libnsgif libnsgif/files
Message-ID:  <201603201622.u2KGMgYx081558@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Sun Mar 20 16:22:42 2016
New Revision: 411461
URL: https://svnweb.freebsd.org/changeset/ports/411461

Log:
  Libnsgif is a decoding library for the GIF image file format, written in C.
  It was developed as part of the NetSurf project.
  
  WWW: http://www.netsurf-browser.org/projects/libnsgif/

Added:
  head/graphics/libnsgif/
  head/graphics/libnsgif/Makefile   (contents, props changed)
  head/graphics/libnsgif/distinfo   (contents, props changed)
  head/graphics/libnsgif/files/
  head/graphics/libnsgif/files/patch-Makefile   (contents, props changed)
  head/graphics/libnsgif/files/patch-libnsgif.pc.in   (contents, props changed)
  head/graphics/libnsgif/pkg-descr   (contents, props changed)
  head/graphics/libnsgif/pkg-plist   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sun Mar 20 16:18:27 2016	(r411460)
+++ head/graphics/Makefile	Sun Mar 20 16:22:42 2016	(r411461)
@@ -515,6 +515,7 @@
     SUBDIR += libmng
     SUBDIR += libmorph
     SUBDIR += libnsbmp
+    SUBDIR += libnsgif
     SUBDIR += libopenraw
     SUBDIR += libosmesa
     SUBDIR += libpano13

Added: head/graphics/libnsgif/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libnsgif/Makefile	Sun Mar 20 16:22:42 2016	(r411461)
@@ -0,0 +1,29 @@
+# Created by: Olivier Duchateau
+# $FreeBSD$
+
+PORTNAME=	libnsgif
+PORTVERSION=	0.1.3
+CATEGORIES=	graphics
+MASTER_SITES=	http://download.netsurf-browser.org/libs/releases/
+DISTNAME=	${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER=	olivierd@FreeBSD.org
+COMMENT=	NetSurf GIF Decoder
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	netsurf-buildsystem>=1.5:${PORTSDIR}/devel/netsurf-buildsystem
+
+USES=	gmake
+USE_LDCONFIG=	yes
+
+WRKSRC=	${WRKDIR}/${DISTNAME:S/-src//}
+
+MAKE_ENV+=	COMPONENT_TYPE="lib-shared"
+
+PLIST_SUB+=	VERSION=${PORTVERSION}
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnsgif.so*
+
+.include <bsd.port.mk>

Added: head/graphics/libnsgif/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libnsgif/distinfo	Sun Mar 20 16:22:42 2016	(r411461)
@@ -0,0 +1,2 @@
+SHA256 (libnsgif-0.1.3-src.tar.gz) = d3d2c9c008047eab41fc0a4ce7c280456c55c479d191e1968f843b005f219fa8
+SIZE (libnsgif-0.1.3-src.tar.gz) = 202160

Added: head/graphics/libnsgif/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libnsgif/files/patch-Makefile	Sun Mar 20 16:22:42 2016	(r411461)
@@ -0,0 +1,10 @@
+--- Makefile.orig	2016-01-03 11:46:21 UTC
++++ Makefile
+@@ -45,5 +45,5 @@ include $(NSBUILD)/Makefile.top
+ # Extra installation rules
+ I := /$(INCLUDEDIR)
+ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libnsgif.h
+-INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR)/pkgconfig:lib$(COMPONENT).pc.in
+-INSTALL_ITEMS := $(INSTALL_ITEMS) /$(LIBDIR):$(OUTPUT)
++INSTALL_ITEMS := $(INSTALL_ITEMS) /libdata/pkgconfig:lib$(COMPONENT).pc.in
++INSTALL_ITEMS := $(INSTALL_ITEMS) /lib:$(OUTPUT)

Added: head/graphics/libnsgif/files/patch-libnsgif.pc.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libnsgif/files/patch-libnsgif.pc.in	Sun Mar 20 16:22:42 2016	(r411461)
@@ -0,0 +1,10 @@
+--- libnsgif.pc.in.orig	2016-01-03 11:46:21 UTC
++++ libnsgif.pc.in
+@@ -1,6 +1,6 @@
+ prefix=PREFIX
+ exec_prefix=${prefix}
+-libdir=${exec_prefix}/LIBDIR
++libdir=${exec_prefix}/lib
+ includedir=${prefix}/INCLUDEDIR
+ 
+ Name: libnsgif

Added: head/graphics/libnsgif/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libnsgif/pkg-descr	Sun Mar 20 16:22:42 2016	(r411461)
@@ -0,0 +1,4 @@
+Libnsgif is a decoding library for the GIF image file format, written in C.
+It was developed as part of the NetSurf project.
+
+WWW: http://www.netsurf-browser.org/projects/libnsgif/

Added: head/graphics/libnsgif/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libnsgif/pkg-plist	Sun Mar 20 16:22:42 2016	(r411461)
@@ -0,0 +1,5 @@
+include/libnsgif.h
+lib/libnsgif.so
+lib/libnsgif.so.0
+lib/libnsgif.so.%%VERSION%%
+libdata/pkgconfig/libnsgif.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603201622.u2KGMgYx081558>