Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  6 Feb 2000 12:42:49 -0500 (EST)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/16522: new port: devel/libcache
Message-ID:  <20000206174249.34BAC1A0E@argon.blackdawn.com>

next in thread | raw e-mail | index | archive | help

>Number:         16522
>Category:       ports
>Synopsis:       new port: devel/libcache
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb  6 09:50:05 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:

FreeBSD argon.blackdawn.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Fri Jan 28 16:46:16 EST 2000     root@argon.blackdawn.com:/usr/src/sys/compile/KRYPTON  i386

>Description:

libcache is a simple high-level C libary useful for
tokenizing sentences.

Makefile.in was hacked to respect CFLAGS.

>How-To-Repeat:

Use the shar below to add the port to tree.

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libcache
#	libcache/files
#	libcache/files/md5
#	libcache/pkg
#	libcache/pkg/COMMENT
#	libcache/pkg/DESCR
#	libcache/pkg/PLIST
#	libcache/patches
#	libcache/patches/patch-aa
#	libcache/Makefile
#
echo c - libcache
mkdir -p libcache > /dev/null 2>&1
echo c - libcache/files
mkdir -p libcache/files > /dev/null 2>&1
echo x - libcache/files/md5
sed 's/^X//' >libcache/files/md5 << 'END-of-libcache/files/md5'
XMD5 (libcache-1.0.0.tar.gz) = f4aee79c2c4d1d25ac7f3465df13d4a2
END-of-libcache/files/md5
echo c - libcache/pkg
mkdir -p libcache/pkg > /dev/null 2>&1
echo x - libcache/pkg/COMMENT
sed 's/^X//' >libcache/pkg/COMMENT << 'END-of-libcache/pkg/COMMENT'
XC library that allows a programmer to parse sentences easier
END-of-libcache/pkg/COMMENT
echo x - libcache/pkg/DESCR
sed 's/^X//' >libcache/pkg/DESCR << 'END-of-libcache/pkg/DESCR'
X[ paraphrased from the README ]
Xlibcache is a high-level C library that allows a programmer
Xto use the standard string manipulation functions (like
Xstrtok() and sscanf()) to parse and access deliminated sentences
Xeasier.
X
XWWW: http://www.afro-productions.com/libs.html
XAuthor: Matt Miller <mmiller@hick.org>
X
X--Will <andrews@technologist.com>
END-of-libcache/pkg/DESCR
echo x - libcache/pkg/PLIST
sed 's/^X//' >libcache/pkg/PLIST << 'END-of-libcache/pkg/PLIST'
Xlib/libcache.so.%%VERSION%%
Xlib/libcache.so
X@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldcomfing -m %B
X@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
END-of-libcache/pkg/PLIST
echo c - libcache/patches
mkdir -p libcache/patches > /dev/null 2>&1
echo x - libcache/patches/patch-aa
sed 's/^X//' >libcache/patches/patch-aa << 'END-of-libcache/patches/patch-aa'
X--- src/Makefile.in	Wed Dec 22 12:00:17 1999
X+++ src/Makefile.in.new	Fri Feb  4 15:13:19 2000
X@@ -6,7 +6,7 @@
X OBJS=parse.o access.o
X 
X 
X-CFLAGS=${DEBUG} ${DEFINES} -Wall -O3 -I. -I../include -c
X+CFLAGS=${PCFLAGS} ${DEBUG} ${DEFINES} -Wall -O3 -I. -I../include -c
X LIBEXEC=@LIBBIN@
X 
X all: ${OBJS}
END-of-libcache/patches/patch-aa
echo x - libcache/Makefile
sed 's/^X//' >libcache/Makefile << 'END-of-libcache/Makefile'
X# New ports collection makefile for:	libcache
X# Version required:	1.0.0
X# Date created:		04 Feb 2000
X# Whom:			Will Andrews <andrews@technologist.com>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	libcache-1.0.0
XCATEGORIES=	devel
XMASTER_SITES=	http://www.afro-productions.com/
X
XMAINTAINER=	andrews@technologist.com
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS+=--enable-shared
XWRKSRC=		${WRKDIR}/libcache
XVERSION=	0
XPLIST_SUB+=	VERSION="${VERSION}"
XMAKE_ENV+=	PCFLAGS="${CFLAGS}"
X
Xdo-install:
X	@${INSTALL_DATA} ${WRKSRC}/libcache.so ${PREFIX}/lib/libcache.so.${VERSION}
X	@${LN} -sf ${PREFIX}/lib/libcache.so.${VERSION} ${PREFIX}/lib/libcache.so
X
X.include <bsd.port.mk>
END-of-libcache/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000206174249.34BAC1A0E>