pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import libpatterns, a redistribution of patterns(7) from OpenBSD.
Module Name: pkgsrc-wip
Committed By: Charlotte Koch <cfkoch%edgebsd.org@localhost>
Pushed By: cfkoch
Date: Sun Jan 22 22:01:50 2017 -0800
Changeset: 948271545fcfe804f824b7c48f5877a1a1f2bb29
Modified Files:
Makefile
Added Files:
libpatterns/DESCR
libpatterns/Makefile
libpatterns/PLIST
libpatterns/buildlink3.mk
libpatterns/distinfo
Log Message:
Import libpatterns, a redistribution of patterns(7) from OpenBSD.
libpatterns is a small, embeddable C library which gives your program a
pretty decent regular expression engine. You can think of it as PCRE on a
diet.
This library is essentially just a redistribution of the code from
patterns(7) from OpenBSD's httpd(8), which in turn is based on the
pattern-matching code from the Lua language.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=948271545fcfe804f824b7c48f5877a1a1f2bb29
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
libpatterns/DESCR | 7 +++++++
libpatterns/Makefile | 15 +++++++++++++++
libpatterns/PLIST | 4 ++++
libpatterns/buildlink3.mk | 13 +++++++++++++
libpatterns/distinfo | 6 ++++++
6 files changed, 46 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 74c6727..e496424 100644
--- a/Makefile
+++ b/Makefile
@@ -1649,6 +1649,7 @@ SUBDIR+= libpafe
SUBDIR+= libpano12
SUBDIR+= libpar2
SUBDIR+= libparsifal
+SUBDIR+= libpatterns
SUBDIR+= libpsl
SUBDIR+= libpsurface
SUBDIR+= libpthread-stubs
diff --git a/libpatterns/DESCR b/libpatterns/DESCR
new file mode 100644
index 0000000..1ded040
--- /dev/null
+++ b/libpatterns/DESCR
@@ -0,0 +1,7 @@
+libpatterns is a small, embeddable C library which gives your program a
+pretty decent regular expression engine. You can think of it as PCRE on a
+diet.
+
+This library is essentially just a redistribution of the code from
+patterns(7) from OpenBSD's httpd(8), which in turn is based on the
+pattern-matching code from the Lua language.
diff --git a/libpatterns/Makefile b/libpatterns/Makefile
new file mode 100644
index 0000000..bbdc7bd
--- /dev/null
+++ b/libpatterns/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+DISTNAME= libpatterns-0.1.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=christiank/}
+
+HOMEPAGE= https://github.com/christiank/libpatterns/
+COMMENT= Pattern matching from Lua as a library
+LICENSE= modified-bsd AND isc AND mit
+
+EXTRACT_USING= gtar
+NO_CONFIGURE= yes
+INSTALL_ENV+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man7
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/libpatterns/PLIST b/libpatterns/PLIST
new file mode 100644
index 0000000..32bb0bb
--- /dev/null
+++ b/libpatterns/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+lib/libpatterns.a
+lib/libpatterns.so
+man/man7/patterns.7
diff --git a/libpatterns/buildlink3.mk b/libpatterns/buildlink3.mk
new file mode 100644
index 0000000..35cff26
--- /dev/null
+++ b/libpatterns/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= libpatterns
+
+.if !defined(libpatterns_BUILDLINK3_MK)
+libpatterns_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libpatterns+= libpatterns>=0.1.0
+BUILDLINK_PKGSRCDIR.libpatterns?= ../../wip/libpatterns
+
+.endif # libpatterns_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libpatterns
diff --git a/libpatterns/distinfo b/libpatterns/distinfo
new file mode 100644
index 0000000..9c6e429
--- /dev/null
+++ b/libpatterns/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libpatterns-0.1.0.tar.gz) = 8fe0fb77135136d3486238e71acf7e787908889b
+RMD160 (libpatterns-0.1.0.tar.gz) = 8712eb7ce01a39120e3a0f8d803b0e32cb59d187
+SHA512 (libpatterns-0.1.0.tar.gz) = 95eb1169d0a0f65d6a9f1e5b87e619d1c3e1b5ebc569253ba42bc912433bd61e6687828cce675d0ebf6b2bfc7e8d43ea21b3a13a9f5db10cd6b7c41c2f9e9dc2
+Size (libpatterns-0.1.0.tar.gz) = 10672 bytes
Home |
Main Index |
Thread Index |
Old Index