Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2016 16:18:27 +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: r411460 - in head/graphics: . libnsbmp libnsbmp/files
Message-ID:  <201603201618.u2KGIRN1078409@repo.freebsd.org>

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

Log:
  Libnsbmp is a decoding library for BMP and ICO image file formats, written
  in C.
  It was developed as part of the NetSurf project.
  
  WWW: http://www.netsurf-browser.org/projects/libnsbmp/

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

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sun Mar 20 16:14:36 2016	(r411459)
+++ head/graphics/Makefile	Sun Mar 20 16:18:27 2016	(r411460)
@@ -514,6 +514,7 @@
     SUBDIR += liblug
     SUBDIR += libmng
     SUBDIR += libmorph
+    SUBDIR += libnsbmp
     SUBDIR += libopenraw
     SUBDIR += libosmesa
     SUBDIR += libpano13

Added: head/graphics/libnsbmp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libnsbmp/Makefile	Sun Mar 20 16:18:27 2016	(r411460)
@@ -0,0 +1,29 @@
+# Created by: Olivier Duchateau
+# $FreeBSD$
+
+PORTNAME=	libnsbmp
+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 BMP 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/libnsbmp.so*
+
+.include <bsd.port.mk>

Added: head/graphics/libnsbmp/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libnsbmp/distinfo	Sun Mar 20 16:18:27 2016	(r411460)
@@ -0,0 +1,2 @@
+SHA256 (libnsbmp-0.1.3-src.tar.gz) = deff0a0497fc011356f901b3f75ee612721133c91b256dda28e540c803ffbb3e
+SIZE (libnsbmp-0.1.3-src.tar.gz) = 204120

Added: head/graphics/libnsbmp/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libnsbmp/files/patch-Makefile	Sun Mar 20 16:18:27 2016	(r411460)
@@ -0,0 +1,10 @@
+--- Makefile.orig	2015-12-18 11:46:40 UTC
++++ Makefile
+@@ -45,5 +45,5 @@ include $(NSBUILD)/Makefile.top
+ # Extra installation rules
+ I := /$(INCLUDEDIR)/
+ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libnsbmp.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/libnsbmp/files/patch-libnsbmp.pc.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libnsbmp/files/patch-libnsbmp.pc.in	Sun Mar 20 16:18:27 2016	(r411460)
@@ -0,0 +1,10 @@
+--- libnsbmp.pc.in.orig	2015-12-18 11:46:40 UTC
++++ libnsbmp.pc.in
+@@ -1,6 +1,6 @@
+ prefix=PREFIX
+ exec_prefix=${prefix}
+-libdir=${exec_prefix}/LIBDIR
++libdir=${exec_prefix}/lib
+ includedir=${prefix}/INCLUDEDIR
+ 
+ Name: libnsbmp

Added: head/graphics/libnsbmp/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/libnsbmp/pkg-descr	Sun Mar 20 16:18:27 2016	(r411460)
@@ -0,0 +1,5 @@
+Libnsbmp is a decoding library for BMP and ICO image file formats, written
+in C.
+It was developed as part of the NetSurf project.
+
+WWW: http://www.netsurf-browser.org/projects/libnsbmp/

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



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