Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2014 20:04:41 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339448 - head/textproc/diffutils
Message-ID:  <201401112004.s0BK4fX4023423@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Sat Jan 11 20:04:40 2014
New Revision: 339448
URL: http://svnweb.freebsd.org/changeset/ports/339448

Log:
  Enable stage support + minor cleanups

Modified:
  head/textproc/diffutils/Makefile
  head/textproc/diffutils/pkg-plist

Modified: head/textproc/diffutils/Makefile
==============================================================================
--- head/textproc/diffutils/Makefile	Sat Jan 11 20:03:46 2014	(r339447)
+++ head/textproc/diffutils/Makefile	Sat Jan 11 20:04:40 2014	(r339448)
@@ -4,35 +4,27 @@
 PORTNAME=	diffutils
 PORTVERSION=	3.3
 CATEGORIES=	textproc
-MASTER_SITES=	${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR=	diffutils
+MASTER_SITES=	GNU
 
 MAINTAINER=	johans@FreeBSD.org
 COMMENT=	The GNU diff utilities
 
-LIB_DEPENDS=	sigsegv:${PORTSDIR}/devel/libsigsegv
+LIB_DEPENDS=	libsigsegv.so:${PORTSDIR}/devel/libsigsegv
 
 USES=		charsetfix
 USE_XZ=		yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--program-prefix=g
 
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
+NLS_USES=	gettext
+NLS_CONFIGURE_ENABLE=nls
+
 INFO=		diffutils
-MAN1=		gcmp.1 gdiff.1 gdiff3.1 gsdiff.1
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e '/^mkdir/s:@mkdir_p@:${MKDIR}:' \
 		${WRKSRC}/po/Makefile.in.in
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
-
 .include <bsd.port.mk>

Modified: head/textproc/diffutils/pkg-plist
==============================================================================
--- head/textproc/diffutils/pkg-plist	Sat Jan 11 20:03:46 2014	(r339447)
+++ head/textproc/diffutils/pkg-plist	Sat Jan 11 20:04:40 2014	(r339448)
@@ -2,6 +2,10 @@ bin/gcmp
 bin/gdiff
 bin/gdiff3
 bin/gsdiff
+man/man1/gcmp.1.gz
+man/man1/gdiff.1.gz
+man/man1/gdiff3.1.gz
+man/man1/gsdiff.1.gz
 %%NLS%%share/locale/ca/LC_MESSAGES/diffutils.mo
 %%NLS%%share/locale/cs/LC_MESSAGES/diffutils.mo
 %%NLS%%share/locale/da/LC_MESSAGES/diffutils.mo



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