[Midnightbsd-cvs] mports: textproc/diffutils: add gnu diff utils
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Aug 26 18:05:34 EDT 2007
Log Message:
-----------
add gnu diff utils
Added Files:
-----------
mports/textproc/diffutils:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-message (r1.1)
-------------- next part --------------
--- /dev/null
+++ textproc/diffutils/pkg-message
@@ -0,0 +1,9 @@
+In order to make nano second timestamp precision work, run
+
+ $ sysctl vfs.timestamp_precision=1
+
+or put
+
+ vfs.timestamp_precision=1
+
+in /etc/sysctl.conf
--- /dev/null
+++ textproc/diffutils/pkg-descr
@@ -0,0 +1,11 @@
+The Free Software Foundation's "diff" utilities, including "diff",
+"diff3", "sdiff", and "cmp".
+
+These utilities exist in the BSD 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,
+for example gdiff, gdiff3, ggcmp, but the texinfo documentation
+will refer to these utilities without the `g' prefix.
+
+WWW: http://www.gnu.org/software/diffutils/diffutils.html
--- /dev/null
+++ textproc/diffutils/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: diffutils
+# Date created: 5 September 2001
+# Whom: Garrett Rooney <rooneg at electricjellyfish.net>
+#
+# $MidnightBSD: mports/textproc/diffutils/Makefile,v 1.1 2007/08/26 22:05:34 laffer1 Exp $
+# $FreeBSD: ports/textproc/diffutils/Makefile,v 1.7 2006/05/13 04:24:43 edwin Exp $
+#
+
+PORTNAME= diffutils
+PORTVERSION= 2.8.1
+PORTREVISION= 1
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= diffutils
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= The GNU diff utilities
+LICENSE= gpl2
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --program-prefix=g
+
+INFO= diff
+MAN1= gcmp.1 gdiff.1 gdiff3.1 gsdiff.1
+PLIST_FILES= bin/gcmp bin/gdiff bin/gdiff3 bin/gsdiff
+
+OPTIONS= TIMESTAMP_PRECISION "With nano second timestamp precision" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_TIMESTAMP_PRECISION)
+PATCH_SITES+= http://izb.knu.ac.kr/~bh/diffs/
+PATCHFILES+= diffutils-2.8.1-timestamp_precision.diff
+PATCH_DIST_STRIP+= -p1
+.endif
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ textproc/diffutils/distinfo
@@ -0,0 +1,6 @@
+MD5 (diffutils-2.8.1.tar.gz) = 71f9c5ae19b60608f6c7f162da86a428
+SHA256 (diffutils-2.8.1.tar.gz) = c5001748b069224dd98bf1bb9ee877321c7de8b332c8aad5af3e2a7372d23f5a
+SIZE (diffutils-2.8.1.tar.gz) = 780086
+MD5 (diffutils-2.8.1-timestamp_precision.diff) = 1ac049df51ef80fe9acaba123b2a4128
+SHA256 (diffutils-2.8.1-timestamp_precision.diff) = b9732e8f63e8999d47e9c0eaf9048d1b08de5dc8da825236fd2af04c373c4128
+SIZE (diffutils-2.8.1-timestamp_precision.diff) = 1989
More information about the Midnightbsd-cvs
mailing list