Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2018 09:23:07 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477490 - in head/devel: . fstrcmp fstrcmp/files
Message-ID:  <201808180923.w7I9N7jQ048034@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Aug 18 09:23:06 2018
New Revision: 477490
URL: https://svnweb.freebsd.org/changeset/ports/477490

Log:
  New port: devel/fstrcmp
  
  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/

Added:
  head/devel/fstrcmp/
  head/devel/fstrcmp/Makefile   (contents, props changed)
  head/devel/fstrcmp/distinfo   (contents, props changed)
  head/devel/fstrcmp/files/
  head/devel/fstrcmp/files/patch-Makefile.in   (contents, props changed)
  head/devel/fstrcmp/pkg-descr   (contents, props changed)
  head/devel/fstrcmp/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Aug 18 09:22:02 2018	(r477489)
+++ head/devel/Makefile	Sat Aug 18 09:23:06 2018	(r477490)
@@ -672,6 +672,7 @@
     SUBDIR += frama-c
     SUBDIR += frink
     SUBDIR += fsmtrie
+    SUBDIR += fstrcmp
     SUBDIR += fstrm
     SUBDIR += ftjam
     SUBDIR += ftnchek

Added: head/devel/fstrcmp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/fstrcmp/Makefile	Sat Aug 18 09:23:06 2018	(r477490)
@@ -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>

Added: head/devel/fstrcmp/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/fstrcmp/distinfo	Sat Aug 18 09:23:06 2018	(r477490)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1534583859
+SHA256 (fstrcmp-0.7.D001.tar.gz) = e4018e850f80700acee8da296e56e15b1eef711ab15157e542e7d7e1237c3476
+SIZE (fstrcmp-0.7.D001.tar.gz) = 394845

Added: head/devel/fstrcmp/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/fstrcmp/files/patch-Makefile.in	Sat Aug 18 09:23:06 2018	(r477490)
@@ -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 \

Added: head/devel/fstrcmp/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/fstrcmp/pkg-descr	Sat Aug 18 09:23:06 2018	(r477490)
@@ -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/

Added: head/devel/fstrcmp/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/fstrcmp/pkg-plist	Sat Aug 18 09:23:06 2018	(r477490)
@@ -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



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