diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-07-02 00:21:57 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-07-02 00:21:57 +0800 |
commit | 6b60dedd977b5062b985940e36718fc3adca9fe3 (patch) | |
tree | a17be83055df344f65342f471a0617920a597ca3 /misc | |
parent | 38a0c09fc84a8e4bc3fcb458efe2fe3bb602038a (diff) | |
download | freebsd-ports-gnome-6b60dedd977b5062b985940e36718fc3adca9fe3.tar.gz freebsd-ports-gnome-6b60dedd977b5062b985940e36718fc3adca9fe3.tar.zst freebsd-ports-gnome-6b60dedd977b5062b985940e36718fc3adca9fe3.zip |
- Update to 2.10
- Modernize
PR: 201176
Submitted by: tkato432@yahoo.com
Diffstat (limited to 'misc')
-rw-r--r-- | misc/hello/Makefile | 31 | ||||
-rw-r--r-- | misc/hello/distinfo | 4 | ||||
-rw-r--r-- | misc/hello/pkg-descr | 13 | ||||
-rw-r--r-- | misc/hello/pkg-plist | 2 |
4 files changed, 19 insertions, 31 deletions
diff --git a/misc/hello/Makefile b/misc/hello/Makefile index 0bbc07c7be48..ad507444a851 100644 --- a/misc/hello/Makefile +++ b/misc/hello/Makefile @@ -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> diff --git a/misc/hello/distinfo b/misc/hello/distinfo index 74330d53467f..6d3b07882f6a 100644 --- a/misc/hello/distinfo +++ b/misc/hello/distinfo @@ -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 diff --git a/misc/hello/pkg-descr b/misc/hello/pkg-descr index 2ca8dcc55cbd..90d8cb5faeb1 100644 --- a/misc/hello/pkg-descr +++ b/misc/hello/pkg-descr @@ -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/ diff --git a/misc/hello/pkg-plist b/misc/hello/pkg-plist index b92015030fc2..85eb4d63afcf 100644 --- a/misc/hello/pkg-plist +++ b/misc/hello/pkg-plist @@ -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 |