mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add spdict, it's a library of dictionary algorithms.
This commit is contained in:
parent
8478dff0b2
commit
d9f7aa19f9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196969
6 changed files with 69 additions and 0 deletions
|
@ -2155,6 +2155,7 @@
|
||||||
SUBDIR += sparc-rtems-gcc
|
SUBDIR += sparc-rtems-gcc
|
||||||
SUBDIR += sparc-rtems-gdb
|
SUBDIR += sparc-rtems-gdb
|
||||||
SUBDIR += sparc-rtems-objc
|
SUBDIR += sparc-rtems-objc
|
||||||
|
SUBDIR += spdict
|
||||||
SUBDIR += spin
|
SUBDIR += spin
|
||||||
SUBDIR += splint
|
SUBDIR += splint
|
||||||
SUBDIR += st
|
SUBDIR += st
|
||||||
|
|
27
devel/spdict/Makefile
Normal file
27
devel/spdict/Makefile
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# New ports collection makefile for: spdict
|
||||||
|
# Date created: 2 Aug 2007
|
||||||
|
# Whom: vanilla@
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= spdict
|
||||||
|
PORTVERSION= 0.2
|
||||||
|
CATEGORIES= devel
|
||||||
|
MASTER_SITES= http://spdict.googlecode.com/files/
|
||||||
|
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
||||||
|
|
||||||
|
MAINTAINER= vanilla@FreeBSD.org
|
||||||
|
COMMENT= A library of dictionary algorithms
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||||
|
USE_LDCONFIG= yes
|
||||||
|
USE_GMAKE= yes
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
@${MKDIR} ${PREFIX}/include/spdict
|
||||||
|
@${INSTALL} ${WRKSRC}/*.hpp ${PREFIX}/include/spdict
|
||||||
|
@${INSTALL} ${WRKSRC}/libspdict.so ${PREFIX}/lib/libspdict.so.1
|
||||||
|
@${LN} -s ${PREFIX}/lib/libspdict.so.1 ${PREFIX}/lib/libspdict.so
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
devel/spdict/distinfo
Normal file
3
devel/spdict/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
MD5 (spdict-0.2.src.tar.gz) = 8db18e1ff321e69eb90ca55d3c7f3979
|
||||||
|
SHA256 (spdict-0.2.src.tar.gz) = d248d3fa35a12fe96d4cbe58ee68e6348076a701e689662642fa34c0d7e834d6
|
||||||
|
SIZE (spdict-0.2.src.tar.gz) = 27497
|
22
devel/spdict/files/patch-Makefile
Normal file
22
devel/spdict/files/patch-Makefile
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
--- Makefile.orig Thu Aug 2 22:36:24 2007
|
||||||
|
+++ Makefile Thu Aug 2 22:39:43 2007
|
||||||
|
@@ -3,8 +3,8 @@
|
||||||
|
|
||||||
|
CC = gcc
|
||||||
|
AR = ar cru
|
||||||
|
-CFLAGS = -Wall -D_REENTRANT -D_GNU_SOURCE -g
|
||||||
|
-SOFLAGS = -shared -fPIC
|
||||||
|
+CFLAGS = -Wall -D_REENTRANT -D_GNU_SOURCE -g -fPIC
|
||||||
|
+SOFLAGS = -shared
|
||||||
|
LDFLAGS = -lpthread
|
||||||
|
|
||||||
|
LINKER = $(CC)
|
||||||
|
@@ -29,7 +29,7 @@
|
||||||
|
all: $(TARGET)
|
||||||
|
|
||||||
|
libspdict.so: $(LIBOBJS)
|
||||||
|
- $(LINKER) $(SOFLAGS) $^ -o $@
|
||||||
|
+ $(LINKER) $(SOFLAGS) $^ -o $@ -lstdc++
|
||||||
|
|
||||||
|
testdict: testdict.o
|
||||||
|
$(LINKER) $(LDFLAGS) $^ -L. -lspdict -o $@
|
6
devel/spdict/pkg-descr
Normal file
6
devel/spdict/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
spdict is a library of dictionary algorithms written in C++.
|
||||||
|
|
||||||
|
Initial release with support for sorted array, binary search tree,
|
||||||
|
red-black tree, skip list and balanced tree algorithms.
|
||||||
|
|
||||||
|
WWW: http://code.google.com/p/spdict/
|
10
devel/spdict/pkg-plist
Normal file
10
devel/spdict/pkg-plist
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
include/spdict/sparrayimpl.hpp
|
||||||
|
include/spdict/spbstreeimpl.hpp
|
||||||
|
include/spdict/spbtreeimpl.hpp
|
||||||
|
include/spdict/spcache.hpp
|
||||||
|
include/spdict/spdictionary.hpp
|
||||||
|
include/spdict/sprbtreeimpl.hpp
|
||||||
|
include/spdict/spslistimpl.hpp
|
||||||
|
lib/libspdict.so
|
||||||
|
lib/libspdict.so.1
|
||||||
|
@dirrm include/spdict
|
Loading…
Add table
Reference in a new issue