diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-03 22:10:56 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-03 22:10:56 +0000 |
commit | 3665b4ea65aa411182055e4d3c1befa479533979 (patch) | |
tree | ba017a753735f3bb34fdb32322dab6742c51988e /databases | |
parent | fa60e7098843bb2447f421d4900c72f8dbe33903 (diff) |
New port: databases/libpbl - Peter Graf's Program Base Library
Peter Graf's Program Base Library of C functions. Includes
hash table, ISAM, key file implementations.
WWW: http://mission.base.com/peter/source/
PR: ports/91257
Submitted by: hideo <hideo@lastamericanempire.com>
Notes
Notes:
svn path=/head/; revision=152686
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/libpbl/Makefile | 45 | ||||
-rw-r--r-- | databases/libpbl/distinfo | 3 | ||||
-rw-r--r-- | databases/libpbl/pkg-descr | 4 |
4 files changed, 53 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 725d6654c46a..8170d92031b8 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -90,6 +90,7 @@ SUBDIR += libiodbc SUBDIR += libmemcache SUBDIR += libodbc++ + SUBDIR += libpbl SUBDIR += libsdb SUBDIR += libudbc SUBDIR += linux-oracle-instantclient-basic diff --git a/databases/libpbl/Makefile b/databases/libpbl/Makefile new file mode 100644 index 000000000000..3e3d9434a951 --- /dev/null +++ b/databases/libpbl/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: databases/libpbl +# Date Created: 2 Jan 2006 +# Whom: Zach Thompson <hideo@lastamericanempire.com> +# +# $FreeBSD$ +# + +PORTNAME= libpbl +PORTVERSION= 1.03 +CATEGORIES= databases +MASTER_SITES= http://mission.base.com/peter/source/ +DISTNAME= pbl_1_03 + +MAINTAINER= hideo@lastamericanempire.com +COMMENT= Peter Graf's Program Base Library + +ALL_TARGET= libpbl.a +MAKEFILE= makefile +USE_REINPLACE= yes +PLIST_FILES= lib/libpbl.a include/pbl.h + +.ifndef(NOPORTDOCS) +PORTDOCS= * +.endif + +.include <bsd.port.pre.mk> + +post-extract: + @${REINPLACE_CMD} -e 's/= -Wall -O3/+= -Wall/' ${WRKSRC}/makefile + @${REINPLACE_CMD} -e 's/%d/%zd/' ${WRKSRC}/pbl.c + @${REINPLACE_CMD} -e 's/dir\.h/dirent\.h/' ${WRKSRC}/pbl.h + @${REINPLACE_CMD} -e 's/malloc\.h/stdlib\.h/' \ + ${WRKSRC}/pbl.h ${WRKSRC}/pbl.c ${WRKSRC}/pblhash.c + +do-install: + @${INSTALL_DATA} ${WRKSRC}/libpbl.a ${LOCALBASE}/lib + @${INSTALL_DATA} ${WRKSRC}/pbl.h ${LOCALBASE}/include + +post-install: +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR} +.endif + +.include <bsd.port.post.mk> diff --git a/databases/libpbl/distinfo b/databases/libpbl/distinfo new file mode 100644 index 000000000000..383950aaf418 --- /dev/null +++ b/databases/libpbl/distinfo @@ -0,0 +1,3 @@ +MD5 (pbl_1_03.tar.gz) = 452b1f802dfb2da7ceaaf647eb8564c8 +SHA256 (pbl_1_03.tar.gz) = dc14cdf46cacf3d634c49c1487dde8e4469269f87eaa9e6205f6ada2f6cee87e +SIZE (pbl_1_03.tar.gz) = 114672 diff --git a/databases/libpbl/pkg-descr b/databases/libpbl/pkg-descr new file mode 100644 index 000000000000..f5e42ca78851 --- /dev/null +++ b/databases/libpbl/pkg-descr @@ -0,0 +1,4 @@ +Peter Graf's Program Base Library of C functions. +Includes hash table, ISAM, key file implementations. + +WWW: http://mission.base.com/peter/source/ |