[Midnightbsd-cvs] CVS Commit: mports/misc: add GNU findutils.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Aug 16 16:14:39 EDT 2007


Log Message:
-----------
add GNU findutils. 

This is used by the svn port in some cases.

Modified Files:
--------------
    mports/misc:
        Makefile (r1.26 -> r1.27)

Added Files:
-----------
    mports/misc/findutils:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/misc/findutils/files:
        patch-configure (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/misc/Makefile,v
retrieving revision 1.26
retrieving revision 1.27
diff -Lmisc/Makefile -Lmisc/Makefile -u -r1.26 -r1.27
--- misc/Makefile
+++ misc/Makefile
@@ -7,6 +7,7 @@
     SUBDIR += compat4x
     SUBDIR += compat5x
     SUBDIR += cpuid
+    SUBDIR += findutils
     SUBDIR += gnome-icon-theme
     SUBDIR += gnome-mime-data
     SUBDIR += gnomehier
--- /dev/null
+++ misc/findutils/pkg-descr
@@ -0,0 +1,11 @@
+The Free Software Foundation's "find" utilities, including "find",
+"locate", and "xargs".
+
+These utilities exist in the FreeBSD base collection, but the GNU
+versions have added functionality that is sometimes useful.
+
+Note that this port will install these utilities with a `g' prefix,
+eg., glocate, gfind, gxargs, but the texinfo documentation will refer to
+these utilities without the `g' prefix.
+
+WWW: http://www.gnu.org/software/findutils/
--- /dev/null
+++ misc/findutils/pkg-plist
@@ -0,0 +1,47 @@
+bin/gfind
+bin/glocate
+bin/gupdatedb
+bin/gxargs
+libexec/gbigram
+libexec/gcode
+libexec/gfrcode
+share/locale/be/LC_MESSAGES/findutils.mo
+share/locale/bg/LC_MESSAGES/findutils.mo
+share/locale/ca/LC_MESSAGES/findutils.mo
+share/locale/da/LC_MESSAGES/findutils.mo
+share/locale/de/LC_MESSAGES/findutils.mo
+share/locale/el/LC_MESSAGES/findutils.mo
+share/locale/eo/LC_MESSAGES/findutils.mo
+share/locale/es/LC_MESSAGES/findutils.mo
+share/locale/et/LC_MESSAGES/findutils.mo
+share/locale/fi/LC_MESSAGES/findutils.mo
+share/locale/fr/LC_MESSAGES/findutils.mo
+share/locale/ga/LC_MESSAGES/findutils.mo
+share/locale/gl/LC_MESSAGES/findutils.mo
+share/locale/hr/LC_MESSAGES/findutils.mo
+share/locale/hu/LC_MESSAGES/findutils.mo
+share/locale/id/LC_MESSAGES/findutils.mo
+share/locale/it/LC_MESSAGES/findutils.mo
+share/locale/ja/LC_MESSAGES/findutils.mo
+share/locale/ko/LC_MESSAGES/findutils.mo
+share/locale/lg/LC_MESSAGES/findutils.mo
+share/locale/ms/LC_MESSAGES/findutils.mo
+share/locale/nl/LC_MESSAGES/findutils.mo
+share/locale/pl/LC_MESSAGES/findutils.mo
+share/locale/pt/LC_MESSAGES/findutils.mo
+share/locale/pt_BR/LC_MESSAGES/findutils.mo
+share/locale/ro/LC_MESSAGES/findutils.mo
+share/locale/ru/LC_MESSAGES/findutils.mo
+share/locale/rw/LC_MESSAGES/findutils.mo
+share/locale/sk/LC_MESSAGES/findutils.mo
+share/locale/sl/LC_MESSAGES/findutils.mo
+share/locale/sr/LC_MESSAGES/findutils.mo
+share/locale/sv/LC_MESSAGES/findutils.mo
+share/locale/tr/LC_MESSAGES/findutils.mo
+share/locale/vi/LC_MESSAGES/findutils.mo
+share/locale/zh_CN/LC_MESSAGES/findutils.mo
+share/locale/zh_TW/LC_MESSAGES/findutils.mo
+ at dirrmtry share/locale/rw/LC_MESSAGES
+ at dirrmtry share/locale/rw
+ at dirrmtry share/locale/lg/LC_MESSAGES
+ at dirrmtry share/locale/lg
--- /dev/null
+++ misc/findutils/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for:	findutils
+# Date created:				29 March 2000
+# Whom:					Robert Withrow <witr at rwwa.com>
+#
+# $MidnightBSD: mports/misc/findutils/Makefile,v 1.1 2007/08/16 20:14:37 laffer1 Exp $
+# $FreeBSD: ports/misc/findutils/Makefile,v 1.30 2007/07/23 09:36:12 rafan Exp $
+#
+
+PORTNAME=	findutils
+PORTVERSION=	4.2.31
+CATEGORIES=	misc
+MASTER_SITES=	${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR=	findutils
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
+EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	The GNU find utilities
+
+SIG_FILES=	${DISTNAME}${EXTRACT_SUFX}.sig
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=		CPPFLAGS="-I${LOCALBASE}/include" \
+			LDFLAGS="-L${LOCALBASE}/lib"
+USE_GMAKE=	yes
+USE_GCC=	3.4+
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT=	yes
+PLIST_SUB+=	NLS=""
+.else
+CONFIGURE_ARGS+=	--disable-nls
+PLIST_SUB+=	NLS="@comment "
+.endif
+
+CONFIGURE_ARGS+=	--program-prefix=g --localstatedir=${LOCALSTATEDIR} \
+			--mandir=${PREFIX}/man --infodir=${PREFIX}/info
+MAKE_ARGS=	INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+
+INFO=		find
+MAN1=		gfind.1 gxargs.1 glocate.1 gupdatedb.1
+MAN5=		glocatedb.5
+
+LOCALSTATEDIR?=	/var/db
+
+.include <bsd.port.mk>
--- /dev/null
+++ misc/findutils/distinfo
@@ -0,0 +1,6 @@
+MD5 (findutils-4.2.31.tar.gz) = a0e31a0f18a49709bf5a449867c8049a
+SHA256 (findutils-4.2.31.tar.gz) = e0d34b8faca0b3cca0703f6c6b498afbe72f0ba16c35980c10ec9ef7724d6204
+SIZE (findutils-4.2.31.tar.gz) = 1326294
+MD5 (findutils-4.2.31.tar.gz.sig) = dc603e8736d1cac863156a7c860e430e
+SHA256 (findutils-4.2.31.tar.gz.sig) = e244514b8e357f0024f337f75d6eafd451dde272e6776724b98e327c2812c44c
+SIZE (findutils-4.2.31.tar.gz.sig) = 65
--- /dev/null
+++ misc/findutils/files/patch-configure
@@ -0,0 +1,18 @@
+--- configure.orig	Sun Nov  5 17:53:42 2006
++++ configure	Sun Nov  5 18:02:59 2006
+@@ -16231,6 +16231,15 @@
+ 
+ 
+ 
++  if test $ac_use_included_regex = yes; then
++    case $LIBOBJS in
++    "regex.$ac_objext"   | \
++  *" regex.$ac_objext"   | \
++    "regex.$ac_objext "* | \
++  *" regex.$ac_objext "* ) ;;
++  *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
++    esac
++  fi
+ 
+ 
+   { echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5


More information about the Midnightbsd-cvs mailing list