ports/118311: misc/hello: [PATCH]: 2.1.1_2 -> 2.3, install-info cleanup, portlint cleanup

Philip M. Gollucci pgollucci at p6m7g8.com
Wed Nov 28 14:13:16 UTC 2007


>Number:         118311
>Category:       ports
>Synopsis:       misc/hello: [PATCH]: 2.1.1_2 -> 2.3, install-info cleanup, portlint cleanup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 28 14:10:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        8.0-CURRENT
>Organization:
Riderway Inc.
>Environment:
FreeBSD tb1.p6m7g8.net 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Nov  6 16:28:12 EST 2007     pgollucci at philip.hq.rws:/usr/obj/usr/src/sys/RIDERWAY  i386

>Description:
1) use INFO macro
2) doesn't depend on USE_PERL5_BUILD
3) install-sh is missing +x bit in the dist tar ball, so set it
4) update to 2.3, drop PORTREVISION

>How-To-Repeat:

>Fix:
Apply patch

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/hello/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	10 Jul 2004 19:25:03 -0000	1.11
+++ Makefile	28 Nov 2007 13:56:04 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	hello
-PORTVERSION=	2.1.1
-PORTREVISION=	2
+PORTVERSION=	2.3
 CATEGORIES=	misc
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	hello
@@ -19,14 +18,18 @@
 GNU_CONFIGURE=	YES
 CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
 
-MAN1=		hello.1
+MAN1=	hello.1
+INFO=	hello
 
 .if !defined(WITHOUT_NLS)
 USE_GETTEXT=	yes
 PLIST_SUB+=	NLS=""
 .else
-CONFIGURE_ARGS+=--disable-nls
+CONFIGURE_ARGS+=	--disable-nls
 PLIST_SUB+=	NLS="@comment "
 .endif
 
+pre-install:
+	${CHMOD} a+x ${WRKSRC}/build-aux/install-sh
+
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/misc/hello/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo	22 Jan 2006 12:59:19 -0000	1.4
+++ distinfo	28 Nov 2007 13:19:25 -0000
@@ -1,3 +1,3 @@
-MD5 (hello-2.1.1.tar.gz) = 70c9ccf9fac07f762c24f2df2290784d
-SHA256 (hello-2.1.1.tar.gz) = c510e3ad0200517e3a14534e494b37dc0770efd733fc35ce2f445dd49c96a7d5
-SIZE (hello-2.1.1.tar.gz) = 389363
+MD5 (hello-2.3.tar.gz) = de3187eac06baf5f0506c06935a1fd29
+SHA256 (hello-2.3.tar.gz) = 429c779083c7c51ece716ae2f69e66caf383537a23119f9e200baf0f54c71c7a
+SIZE (hello-2.3.tar.gz) = 431983
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/misc/hello/pkg-plist,v
retrieving revision 1.6
diff -u -r1.6 pkg-plist
--- pkg-plist	22 Jan 2006 05:52:26 -0000	1.6
+++ pkg-plist	28 Nov 2007 13:50:42 -0000
@@ -1,7 +1,4 @@
 bin/hello
- at unexec install-info --delete %D/info/hello.info %D/info/dir
-info/hello.info
- at exec install-info --dir-file=%D/info/dir --entry="* Hello: (hello).		Hello Reference Manual." %D/info/hello.info
 %%NLS%%share/locale/ca/LC_MESSAGES/hello.mo
 %%NLS%%share/locale/da/LC_MESSAGES/hello.mo
 %%NLS%%share/locale/de/LC_MESSAGES/hello.mo


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list