aboutsummaryrefslogtreecommitdiff
path: root/databases/libpbl
diff options
context:
space:
mode:
Diffstat (limited to 'databases/libpbl')
-rw-r--r--databases/libpbl/Makefile45
-rw-r--r--databases/libpbl/distinfo3
-rw-r--r--databases/libpbl/pkg-descr4
3 files changed, 52 insertions, 0 deletions
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/