LibWapcaplet is a string internment library, written in C.

It provides reference counted string interment and rapid string comparison
functionality.

WWW: http://www.netsurf-browser.org/projects/libwapcaplet/
This commit is contained in:
Olivier Duchateau 2016-03-20 16:30:37 +00:00
parent 3d8a535cc4
commit ec8ac903fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411463
7 changed files with 64 additions and 0 deletions

View file

@ -423,6 +423,7 @@
SUBDIR += libuninameslist
SUBDIR += libvisio
SUBDIR += libvisio01
SUBDIR += libwapcaplet
SUBDIR += libwpd
SUBDIR += libwpd010
SUBDIR += libwps

View file

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

View file

@ -0,0 +1,2 @@
SHA256 (libwapcaplet-0.3.0-src.tar.gz) = 4359ee9d9fd08e721ba1976e9c6e5eaa49b32119e4e1571c1fec49a7446b4133
SIZE (libwapcaplet-0.3.0-src.tar.gz) = 31362

View file

@ -0,0 +1,10 @@
--- Makefile.orig 2016-02-16 08:47:11 UTC
+++ Makefile
@@ -51,5 +51,5 @@ endif
# Extra installation rules
I := /$(INCLUDEDIR)/libwapcaplet
INSTALL_ITEMS := $(INSTALL_ITEMS) $(I):include/libwapcaplet/libwapcaplet.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 @@
--- libwapcaplet.pc.in.orig 2016-02-16 08:47:11 UTC
+++ libwapcaplet.pc.in
@@ -1,6 +1,6 @@
prefix=PREFIX
exec_prefix=${prefix}
-libdir=${exec_prefix}/LIBDIR
+libdir=${exec_prefix}/lib
includedir=${prefix}/INCLUDEDIR
Name: libwapcaplet

View file

@ -0,0 +1,5 @@
LibWapcaplet is a string internment library, written in C.
It provides reference counted string interment and rapid string comparison
functionality.
WWW: http://www.netsurf-browser.org/projects/libwapcaplet/

View file

@ -0,0 +1,5 @@
include/libwapcaplet/libwapcaplet.h
lib/libwapcaplet.so
lib/libwapcaplet.so.0
lib/libwapcaplet.so.%%VERSION%%
libdata/pkgconfig/libwapcaplet.pc