diff options
author | olivierd <olivierd@FreeBSD.org> | 2016-03-21 00:18:27 +0800 |
---|---|---|
committer | olivierd <olivierd@FreeBSD.org> | 2016-03-21 00:18:27 +0800 |
commit | b82f11632d1b96907050c4ded47e0a2aebae92e1 (patch) | |
tree | 2fe861dbfcc8b662379541da332d4f6b47b67726 /graphics | |
parent | 3b971ffd286e53fa60fa43e967437707343e7ead (diff) | |
download | freebsd-ports-gnome-b82f11632d1b96907050c4ded47e0a2aebae92e1.tar.gz freebsd-ports-gnome-b82f11632d1b96907050c4ded47e0a2aebae92e1.tar.zst freebsd-ports-gnome-b82f11632d1b96907050c4ded47e0a2aebae92e1.zip |
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/
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/libnsbmp/Makefile | 29 | ||||
-rw-r--r-- | graphics/libnsbmp/distinfo | 2 | ||||
-rw-r--r-- | graphics/libnsbmp/files/patch-Makefile | 10 | ||||
-rw-r--r-- | graphics/libnsbmp/files/patch-libnsbmp.pc.in | 10 | ||||
-rw-r--r-- | graphics/libnsbmp/pkg-descr | 5 | ||||
-rw-r--r-- | graphics/libnsbmp/pkg-plist | 5 |
7 files changed, 62 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index f3850789fe0c..1e44a9b0ba2a 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -514,6 +514,7 @@ SUBDIR += liblug SUBDIR += libmng SUBDIR += libmorph + SUBDIR += libnsbmp SUBDIR += libopenraw SUBDIR += libosmesa SUBDIR += libpano13 diff --git a/graphics/libnsbmp/Makefile b/graphics/libnsbmp/Makefile new file mode 100644 index 000000000000..9fe69da20319 --- /dev/null +++ b/graphics/libnsbmp/Makefile @@ -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> diff --git a/graphics/libnsbmp/distinfo b/graphics/libnsbmp/distinfo new file mode 100644 index 000000000000..2cffce8cb1d4 --- /dev/null +++ b/graphics/libnsbmp/distinfo @@ -0,0 +1,2 @@ +SHA256 (libnsbmp-0.1.3-src.tar.gz) = deff0a0497fc011356f901b3f75ee612721133c91b256dda28e540c803ffbb3e +SIZE (libnsbmp-0.1.3-src.tar.gz) = 204120 diff --git a/graphics/libnsbmp/files/patch-Makefile b/graphics/libnsbmp/files/patch-Makefile new file mode 100644 index 000000000000..5d5cc3ad0eac --- /dev/null +++ b/graphics/libnsbmp/files/patch-Makefile @@ -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) diff --git a/graphics/libnsbmp/files/patch-libnsbmp.pc.in b/graphics/libnsbmp/files/patch-libnsbmp.pc.in new file mode 100644 index 000000000000..4e927c26cf89 --- /dev/null +++ b/graphics/libnsbmp/files/patch-libnsbmp.pc.in @@ -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 diff --git a/graphics/libnsbmp/pkg-descr b/graphics/libnsbmp/pkg-descr new file mode 100644 index 000000000000..97532c971fdf --- /dev/null +++ b/graphics/libnsbmp/pkg-descr @@ -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/ diff --git a/graphics/libnsbmp/pkg-plist b/graphics/libnsbmp/pkg-plist new file mode 100644 index 000000000000..dafe3224668a --- /dev/null +++ b/graphics/libnsbmp/pkg-plist @@ -0,0 +1,5 @@ +include/libnsbmp.h +lib/libnsbmp.so +lib/libnsbmp.so.0 +lib/libnsbmp.so.%%VERSION%% +libdata/pkgconfig/libnsbmp.pc |