Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 2015 16:21:58 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r391079 - head/misc/hello
Message-ID:  <201507011621.t61GLwAJ016675@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Jul  1 16:21:57 2015
New Revision: 391079
URL: https://svnweb.freebsd.org/changeset/ports/391079

Log:
  - Update to 2.10
  - Modernize
  
  PR:		201176
  Submitted by:	tkato432@yahoo.com

Modified:
  head/misc/hello/Makefile
  head/misc/hello/distinfo
  head/misc/hello/pkg-descr
  head/misc/hello/pkg-plist

Modified: head/misc/hello/Makefile
==============================================================================
--- head/misc/hello/Makefile	Wed Jul  1 16:20:20 2015	(r391078)
+++ head/misc/hello/Makefile	Wed Jul  1 16:21:57 2015	(r391079)
@@ -2,35 +2,28 @@
 # $FreeBSD$
 
 PORTNAME=	hello
-PORTVERSION=	2.9
+PORTVERSION=	2.10
 CATEGORIES=	misc
 MASTER_SITES=	GNU
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Utility for saying hello to the world and reading email
 
-USES=		charsetfix perl5
+LICENSE=	GPLv3 # (or later)
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		charsetfix gmake perl5
 USE_PERL5=	build
-GNU_CONFIGURE=	YES
+GNU_CONFIGURE=	yes
 
 INFO=		hello
 
-OPTIONS_DEFINE=	NLS
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
+OPTIONS_DEFINE=		NLS
+OPTIONS_SUB=		yes
 
-pre-install:
-	${CHMOD} a+x ${WRKSRC}/build-aux/install-sh
+NLS_USES=		gettext
+NLS_CONFIGURE_ENABLE=	nls
+NLS_CPPFLAGS=		-I${LOCALBASE}/include
+NLS_LDFLAGS=		-L${LOCALBASE}/lib
 
 .include <bsd.port.mk>

Modified: head/misc/hello/distinfo
==============================================================================
--- head/misc/hello/distinfo	Wed Jul  1 16:20:20 2015	(r391078)
+++ head/misc/hello/distinfo	Wed Jul  1 16:21:57 2015	(r391079)
@@ -1,2 +1,2 @@
-SHA256 (hello-2.9.tar.gz) = ecbb7a2214196c57ff9340aa71458e1559abd38f6d8d169666846935df191ea7
-SIZE (hello-2.9.tar.gz) = 723645
+SHA256 (hello-2.10.tar.gz) = 31e066137a962676e89f69d1b65382de95a7ef7d914b8cb956f41ea72e0f516b
+SIZE (hello-2.10.tar.gz) = 725946

Modified: head/misc/hello/pkg-descr
==============================================================================
--- head/misc/hello/pkg-descr	Wed Jul  1 16:20:20 2015	(r391078)
+++ head/misc/hello/pkg-descr	Wed Jul  1 16:21:57 2015	(r391079)
@@ -1,10 +1,5 @@
-A Utility for saying hello to the world and reading email
+The GNU hello program produces a familiar, friendly greeting. It allows
+nonprogrammers to use a classic computer science tool which would
+otherwise be unavailable to them.
 
-From the included Texinfo file:
-	The GNU hello program produces a familiar, friendly greeting.
-	It allows nonprogrammers to use a classic computer science
-	tool which would otherwise be unavailable to them.  Because
-	it is protected by the GNU General Public License, users
-	are free to share and change it.
-
-see hello --help for more info
+WWW: http://www.gnu.org/software/hello/

Modified: head/misc/hello/pkg-plist
==============================================================================
--- head/misc/hello/pkg-plist	Wed Jul  1 16:20:20 2015	(r391078)
+++ head/misc/hello/pkg-plist	Wed Jul  1 16:21:57 2015	(r391079)
@@ -1,4 +1,5 @@
 bin/hello
+man/man1/hello.1.gz
 %%NLS%%share/locale/bg/LC_MESSAGES/hello.mo
 %%NLS%%share/locale/ca/LC_MESSAGES/hello.mo
 %%NLS%%share/locale/da/LC_MESSAGES/hello.mo
@@ -41,4 +42,3 @@ bin/hello
 %%NLS%%share/locale/vi/LC_MESSAGES/hello.mo
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/hello.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/hello.mo
-man/man1/hello.1.gz



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