diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2005-10-23 01:08:14 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2005-10-23 01:08:14 +0800 |
commit | 6b604a04aaf4a8c9e850607b33c6707a79cde614 (patch) | |
tree | d263ec93f320a6154ae4142a00f4e6e888c74ce6 /textproc/diffutils | |
parent | fc74435a3ceec08b80d558833cf9304ffb0add6e (diff) | |
download | freebsd-ports-graphics-6b604a04aaf4a8c9e850607b33c6707a79cde614.tar.gz freebsd-ports-graphics-6b604a04aaf4a8c9e850607b33c6707a79cde614.tar.zst freebsd-ports-graphics-6b604a04aaf4a8c9e850607b33c6707a79cde614.zip |
- provide optional nano second timestamp precision
- bump PORTREVISION
- nuke pkg-plist
- add pkg-message (inform about vfs.timestamp_precision)
PR: 87702
Submitted by: Byung-Hee HWANG <bh@izb.knu.ac.kr>
Diffstat (limited to 'textproc/diffutils')
-rw-r--r-- | textproc/diffutils/Makefile | 34 | ||||
-rw-r--r-- | textproc/diffutils/distinfo | 2 | ||||
-rw-r--r-- | textproc/diffutils/pkg-message | 13 | ||||
-rw-r--r-- | textproc/diffutils/pkg-plist | 5 |
4 files changed, 32 insertions, 22 deletions
diff --git a/textproc/diffutils/Makefile b/textproc/diffutils/Makefile index a41c36b69a0..830e02be867 100644 --- a/textproc/diffutils/Makefile +++ b/textproc/diffutils/Makefile @@ -7,6 +7,7 @@ PORTNAME= diffutils PORTVERSION= 2.8.1 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= diffutils @@ -19,23 +20,22 @@ 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 -#post-extract: remove-info-files -# -#remove-info-files: -# @${RM} -f ${WRKSRC}/${PORTNAME:S/utils//}.info* -# -#post-patch: patch-makeinfo -# -#patch-makeinfo: -# @${REINPLACE_CMD} -e 's|makeinfo|makeinfo --no-split|g' \ -# ${WRKSRC}/Makefile.in -# -#post-install: install-info -# -#install-info: -# @${INSTALL_INFO} ${PREFIX}/info/${PORTNAME:S/utils//}.info ${PREFIX}/info/dir +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 + +.if defined(WITH_TIMESTAMP_PRECISION) +post-install: + @${CAT} ${PKGMESSAGE} +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/textproc/diffutils/distinfo b/textproc/diffutils/distinfo index 5d6c17a3771..1d21eea05c8 100644 --- a/textproc/diffutils/distinfo +++ b/textproc/diffutils/distinfo @@ -1,2 +1,4 @@ MD5 (diffutils-2.8.1.tar.gz) = 71f9c5ae19b60608f6c7f162da86a428 SIZE (diffutils-2.8.1.tar.gz) = 780086 +MD5 (diffutils-2.8.1-timestamp_precision.diff) = 1ac049df51ef80fe9acaba123b2a4128 +SIZE (diffutils-2.8.1-timestamp_precision.diff) = 1989 diff --git a/textproc/diffutils/pkg-message b/textproc/diffutils/pkg-message new file mode 100644 index 00000000000..1e09effe4ef --- /dev/null +++ b/textproc/diffutils/pkg-message @@ -0,0 +1,13 @@ +================================================================================ + +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 + +================================================================================ diff --git a/textproc/diffutils/pkg-plist b/textproc/diffutils/pkg-plist deleted file mode 100644 index 3383894657d..00000000000 --- a/textproc/diffutils/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -@comment $FreeBSD$ -bin/gcmp -bin/gdiff -bin/gdiff3 -bin/gsdiff |