aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-08-18 09:23:06 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-08-18 09:23:06 +0000
commit1e95d7097d35951473fe5bd07b72a34602e4e14c (patch)
tree4941ba2237975294a6dacf23c6da06c5085e653e /devel
parent692de2f4b7f6ef238467cbc6a571aac75ace5ec5 (diff)
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/fstrcmp/Makefile22
-rw-r--r--devel/fstrcmp/distinfo3
-rw-r--r--devel/fstrcmp/files/patch-Makefile.in35
-rw-r--r--devel/fstrcmp/pkg-descr5
-rw-r--r--devel/fstrcmp/pkg-plist18
6 files changed, 84 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 64da2071c052..61cfb39d9802 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -672,6 +672,7 @@
SUBDIR += frama-c
SUBDIR += frink
SUBDIR += fsmtrie
+ SUBDIR += fstrcmp
SUBDIR += fstrm
SUBDIR += ftjam
SUBDIR += ftnchek
diff --git a/devel/fstrcmp/Makefile b/devel/fstrcmp/Makefile
new file mode 100644
index 000000000000..5e7faf95bd3c
--- /dev/null
+++ b/devel/fstrcmp/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= fstrcmp
+PORTVERSION= 0.7.D001
+CATEGORIES= devel
+MASTER_SITES= SF/fstrcmp/fstrcmp/${PORTVERSION:R}
+
+MAINTAINER= tobik@FreeBSD.org
+COMMENT= Library for fuzzy string comparisons
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= gmake libtool:build
+USE_LDCONFIG= yes
+
+GNU_CONFIGURE= yes
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfstrcmp.so
+
+.include <bsd.port.mk>
diff --git a/devel/fstrcmp/distinfo b/devel/fstrcmp/distinfo
new file mode 100644
index 000000000000..2eca090b400e
--- /dev/null
+++ b/devel/fstrcmp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1534583859
+SHA256 (fstrcmp-0.7.D001.tar.gz) = e4018e850f80700acee8da296e56e15b1eef711ab15157e542e7d7e1237c3476
+SIZE (fstrcmp-0.7.D001.tar.gz) = 394845
diff --git a/devel/fstrcmp/files/patch-Makefile.in b/devel/fstrcmp/files/patch-Makefile.in
new file mode 100644
index 000000000000..1a30abaf505e
--- /dev/null
+++ b/devel/fstrcmp/files/patch-Makefile.in
@@ -0,0 +1,35 @@
+- Avoid creating cat pages (pointless and would need groff)
+- Do not generate the PDF reference manual which is just an
+ amalgamation of all man pages and would add a ghostscript dependency
+- Do not install a man page for the license; LICENSE_FILE is already
+ part of the package
+
+--- Makefile.in.orig 2014-03-05 00:13:45 UTC
++++ Makefile.in
+@@ -588,7 +588,7 @@ bin/test_user$(EXEEXT): $(test_user_obj) .bin lib/libf
+ $(LIBTOOL) --mode=link --tag=CC $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ \
+ $(test_user_obj) lib/libfstrcmp.la $(LDFLAGS) $(LIBS)
+
+-all: all-bin all-doc
++all: all-bin
+
+ all-bin: bin/fstrcmp$(EXEEXT) bin/test_prelude$(EXEEXT) bin/test_user$(EXEEXT)
+
+@@ -657,7 +657,7 @@ distclean-files:
+ distclean-directories:
+ rm -rf bin fstrcmp/.libs lib/.libs lib/ac/.libs test_user/.libs
+
+-install: install-bin install-doc install-include install-libdir install-man
++install: install-bin install-include install-libdir install-man
+
+ install-bin: $(bindir)/fstrcmp$(EXEEXT)
+
+@@ -674,7 +674,7 @@ install-include: $(includedir)/fstrcmp.h
+ #
+ install-libdir: $(libdir)/libfstrcmp.la $(libdir)/pkgconfig/fstrcmp.pc
+
+-install-man: $(mandir)/man1/fstrcmp.1 $(mandir)/man1/fstrcmp_license.1 \
++install-man: $(mandir)/man1/fstrcmp.1 \
+ $(mandir)/man3/fmemcmp.3 $(mandir)/man3/fmemcmpi.3 \
+ $(mandir)/man3/fstrcasecmp.3 $(mandir)/man3/fstrcasecmpi.3 \
+ $(mandir)/man3/fstrcmp.3 $(mandir)/man3/fstrcmpi.3 \
diff --git a/devel/fstrcmp/pkg-descr b/devel/fstrcmp/pkg-descr
new file mode 100644
index 000000000000..0f58950f1b50
--- /dev/null
+++ b/devel/fstrcmp/pkg-descr
@@ -0,0 +1,5 @@
+The fstrcmp package provides a library which may be used to make
+fuzzy comparisons of strings and byte arrays. It also provides
+simple commands for use in shell scripts.
+
+wWW: http://fstrcmp.sourceforge.net/
diff --git a/devel/fstrcmp/pkg-plist b/devel/fstrcmp/pkg-plist
new file mode 100644
index 000000000000..e050fad7003e
--- /dev/null
+++ b/devel/fstrcmp/pkg-plist
@@ -0,0 +1,18 @@
+bin/fstrcmp
+include/fstrcmp.h
+lib/libfstrcmp.a
+lib/libfstrcmp.so
+lib/libfstrcmp.so.0
+lib/libfstrcmp.so.0.6.0
+libdata/pkgconfig/fstrcmp.pc
+man/man1/fstrcmp.1.gz
+man/man3/fmemcmp.3.gz
+man/man3/fmemcmpi.3.gz
+man/man3/fstrcasecmp.3.gz
+man/man3/fstrcasecmpi.3.gz
+man/man3/fstrcmp.3.gz
+man/man3/fstrcmpi.3.gz
+man/man3/fstrcoll.3.gz
+man/man3/fstrcolli.3.gz
+man/man3/fwcscmp.3.gz
+man/man3/fwcscmpi.3.gz