mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
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/
This commit is contained in:
parent
3bc97c59ce
commit
79d3383f2d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411460
@ -514,6 +514,7 @@
|
||||
SUBDIR += liblug
|
||||
SUBDIR += libmng
|
||||
SUBDIR += libmorph
|
||||
SUBDIR += libnsbmp
|
||||
SUBDIR += libopenraw
|
||||
SUBDIR += libosmesa
|
||||
SUBDIR += libpano13
|
||||
|
29
graphics/libnsbmp/Makefile
Normal file
29
graphics/libnsbmp/Makefile
Normal file
@ -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>
|
2
graphics/libnsbmp/distinfo
Normal file
2
graphics/libnsbmp/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (libnsbmp-0.1.3-src.tar.gz) = deff0a0497fc011356f901b3f75ee612721133c91b256dda28e540c803ffbb3e
|
||||
SIZE (libnsbmp-0.1.3-src.tar.gz) = 204120
|
10
graphics/libnsbmp/files/patch-Makefile
Normal file
10
graphics/libnsbmp/files/patch-Makefile
Normal file
@ -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)
|
10
graphics/libnsbmp/files/patch-libnsbmp.pc.in
Normal file
10
graphics/libnsbmp/files/patch-libnsbmp.pc.in
Normal file
@ -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
|
5
graphics/libnsbmp/pkg-descr
Normal file
5
graphics/libnsbmp/pkg-descr
Normal file
@ -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/
|
5
graphics/libnsbmp/pkg-plist
Normal file
5
graphics/libnsbmp/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
include/libnsbmp.h
|
||||
lib/libnsbmp.so
|
||||
lib/libnsbmp.so.0
|
||||
lib/libnsbmp.so.%%VERSION%%
|
||||
libdata/pkgconfig/libnsbmp.pc
|
Loading…
Reference in New Issue
Block a user