1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

NetSurf generalised utility library.

WWW: http://www.netsurf-browser.org/
This commit is contained in:
Olivier Duchateau 2016-03-20 16:14:36 +00:00
parent 8cd438e8b2
commit 3bc97c59ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411459
7 changed files with 63 additions and 0 deletions

View File

@ -1264,6 +1264,7 @@
SUBDIR += libnaji
SUBDIR += libnfc
SUBDIR += libnotify
SUBDIR += libnsutils
SUBDIR += libnxt
SUBDIR += liboil
SUBDIR += libol

29
devel/libnsutils/Makefile Normal file
View File

@ -0,0 +1,29 @@
# Created by: Olivier Duchateau
# $FreeBSD$
PORTNAME= libnsutils
PORTVERSION= 0.0.2
CATEGORIES= devel
MASTER_SITES= http://download.netsurf-browser.org/libs/releases/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= olivierd@FreeBSD.org
COMMENT= NetSurf generalised utility library
LICENSE= MIT
BUILD_DEPENDS= netsurf-buildsystem>=1.5:${PORTSDIR}/devel/netsurf-buildsystem
USES= gmake
USE_LDCONFIG= yes
MAKE_ENV+= COMPONENT_TYPE="lib-shared"
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
PLIST_SUB+= VERSION=${PORTVERSION}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnsutils.so*
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (libnsutils-0.0.2-src.tar.gz) = fed321149f8f16ab2fd69f58b2692a1aea5a19934c1de92d38127a045aede40e
SIZE (libnsutils-0.0.2-src.tar.gz) = 6770

View File

@ -0,0 +1,10 @@
--- Makefile.orig 2015-05-01 09:14:45 UTC
+++ Makefile
@@ -53,5 +53,5 @@ INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):i
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/nsutils/base64.h
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/nsutils/time.h
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/nsutils/unistd.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)

View File

@ -0,0 +1,10 @@
--- libnsutils.pc.in.orig 2015-05-01 09:14:45 UTC
+++ libnsutils.pc.in
@@ -1,6 +1,6 @@
prefix=PREFIX
exec_prefix=${prefix}
-libdir=${exec_prefix}/LIBDIR
+libdir=${exec_prefix}/lib
includedir=${prefix}/INCLUDEDIR
Name: libnsutils

View File

@ -0,0 +1,3 @@
NetSurf generalised utility library.
WWW: http://www.netsurf-browser.org/

View File

@ -0,0 +1,8 @@
include/nsutils/base64.h
include/nsutils/errors.h
include/nsutils/time.h
include/nsutils/unistd.h
lib/libnsutils.so
lib/libnsutils.so.0
lib/libnsutils.so.%%VERSION%%
libdata/pkgconfig/libnsutils.pc