[csw-devel] SF.net SVN: gar:[21490] csw/mgar/pkg/tre/trunk/Makefile

opk at users.sourceforge.net opk at users.sourceforge.net
Wed Jul 10 23:53:27 CEST 2013


Revision: 21490
          http://gar.svn.sourceforge.net/gar/?rev=21490&view=rev
Author:   opk
Date:     2013-07-10 21:53:26 +0000 (Wed, 10 Jul 2013)
Log Message:
-----------
Solaris 10 has getopt_long so adjusted to build agrep

Modified Paths:
--------------
    csw/mgar/pkg/tre/trunk/Makefile

Modified: csw/mgar/pkg/tre/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tre/trunk/Makefile	2013-07-10 14:44:46 UTC (rev 21489)
+++ csw/mgar/pkg/tre/trunk/Makefile	2013-07-10 21:53:26 UTC (rev 21490)
@@ -7,20 +7,19 @@
 GARTYPE = v2
 DESCRIPTION = Approximate regex matching library
 define BLURB
+  TRE is a lightweight, robust and efficient POSIX compliant
+  regexp matching library with some exciting features such as
+  apprroximate (fuzzy) matching.
 endef
+
 SPKG_SOURCEURL = http://laurikari.net/tre/
 MASTER_SITES = http://laurikari.net/tre/
 DISTFILES  = $(NAME)-$(VERSION).tar.bz2
-BUILD64_LIBS_ONLY = 1
-# agrep needs getopt_long
-# TODO: Solve the getopt_long problem and build agrep.
-# PATCHFILES += 0001-gnulib-import-getopt-gnu.patch
-# PATCHFILES += 0002-manual-gnulib-integration-steps.patch
-# EXTRA_LD_OPTIONS = -lgnugetopt
-CONFIGURE_ARGS = $(DIRPATHS) --disable-agrep
+
+CONFIGURE_ARGS = $(DIRPATHS)
 PACKAGES += CSWlibtre5
 SPKG_DESC_CSWlibtre5 = Approximate regex matching library (libtre.so.5)
-PKGFILES_CSWlibtre5 = /opt/csw/lib/.*libtre\.so\.5.*
+PKGFILES_CSWlibtre5 = /opt/csw/lib/.*libtre\.so\.5.* /opt/csw/share/locale/.*
 RUNTIME_DEP_PKGS_CSWlibtre5 += CSWlibintl8
 
 PACKAGES += CSWtre-dev
@@ -29,10 +28,12 @@
 SPKG_DESC_CSWtre-dev = Development files for tre
 RUNTIME_DEP_PKGS_CSWtre-dev += CSWlibtre5
 
+PACKAGES += CSWagrep
+SPKG_DESC_CSWagrep = Text search tool with support for approximate patterns
+CATALOGNAME_CSWagrep = agrep
+PKGFILES_CSWagrep = /opt/csw/bin/agrep /opt/csw/share/man/man1/agrep.1
+RUNTIME_DEP_PKGS_CSWagrep += CSWlibintl8 CSWlibtre5
+
 LICENSE = LICENSE
 
 include gar/category.mk
-
-# pre-configure-modulated:
-# 	@(cd $(WORKSRC); autoreconf -i )
-# 	@$(MAKECOOKIE)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list