From nobody@FreeBSD.org  Sat Jul  6 13:22:43 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id B1E073CC
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Jul 2013 13:22:43 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id 946A417F1
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Jul 2013 13:22:43 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r66DMg47036872
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 6 Jul 2013 13:22:42 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r66DMgm6036869;
	Sat, 6 Jul 2013 13:22:42 GMT
	(envelope-from nobody)
Message-Id: <201307061322.r66DMgm6036869@oldred.freebsd.org>
Date: Sat, 6 Jul 2013 13:22:42 GMT
From: Boris Samorodov <bsam@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] sysutils/gdisk: update to version 0.8.6 and some more
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: fdn@okbire.ru

>Number:         180345
>Category:       ports
>Synopsis:       [patch] sysutils/gdisk: update to version 0.8.6 and some more
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bsam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 06 13:30:00 UTC 2013
>Closed-Date:    Sun Aug 11 13:36:47 UTC 2013
>Last-Modified:  Sun Aug 11 13:40:00 UTC 2013
>Originator:     Boris Samorodov
>Release:        FreeBSD 9-i386
>Organization:
BSDprint
>Environment:
FreeBSD srv.bb.tel.ru 10.0-CURRENT FreeBSD 10.0-CURRENT #3 r252679: Thu Jul  4 10:18:04 SAMT 2013     bsam@srv.bb.tel.ru:/usr/obj/usr/src/sys/BB64X  amd64
>Description:
A new version is available.
>How-To-Repeat:

>Fix:
. update to version 0.8.6;
. use one line MASTER_SITES with MASTER_SITE_SUBDIR;
. trim Makefile headers;
. remove ABI versions from LIB_DEPENDS;
. use new LIB_DEPENDS syntax;
. part PKGMESSAGE by space lines;
. empty(OPT) -> ! ${OPT};
. remove check for unsupported 7.x.

Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 322365)
+++ Makefile	(working copy)
@@ -1,15 +1,10 @@
-# New ports collection makefile for:	gdisk
-# Date created:		12 July 2010
-# Whom:			Dmitry N Fomin <fdn@okbire.ru>
-#
+# Created by: Dmitry N Fomin <fdn@okbire.ru>
 # $FreeBSD$
-#
 
 PORTNAME=	gdisk
-PORTVERSION=	0.8.5
+PORTVERSION=	0.8.6
 CATEGORIES=	sysutils
-MASTER_SITES=	SF
-MASTER_SITE_SUBDIR=	gptfdisk/gptfdisk/${PORTVERSION}
+MASTER_SITES=	SF/gptfdisk/gptfdisk/${PORTVERSION}
 DISTNAME=	gptfdisk-${PORTVERSION}
 
 MAINTAINER=	fdn@okbire.ru
@@ -18,8 +13,8 @@
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid \
-		popt.0:${PORTSDIR}/devel/popt
+LIB_DEPENDS=	libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
+		libpopt.so:${PORTSDIR}/devel/popt
 
 WRKSRC=		${WRKDIR}/gptfdisk-${PORTVERSION}
 
@@ -31,24 +26,20 @@
 CGDISK_DESC=	A curses-based interactive program
 UTF16_DESC=	Support for Unicode partition names
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 701100
-IGNORE=		is unsupported on FreeBSD 7.1-RELEASE or earlier
-.endif
-
 MAKEFILE=	Makefile.freebsd
 
 PROGRAM_LIST=	fixparts gdisk sgdisk
 PLIST_FILES=	${PROGRAM_LIST:C,^,sbin/,}
 
+.include <bsd.port.pre.mk>
+
 .if ${PORT_OPTIONS:MCGDISK}
 PROGRAM_LIST+=	cgdisk
-LIB_DEPENDS+=	ncurses.5:${PORTSDIR}/devel/ncurses
+LIB_DEPENDS+=	libncurses.so:${PORTSDIR}/devel/ncurses
 .endif
 
 .if ${PORT_OPTIONS:MUTF16}
-LIB_DEPENDS+=	icuuc.48:${PORTSDIR}/devel/icu
+LIB_DEPENDS+=	libicuuc.so:${PORTSDIR}/devel/icu
 .endif
 
 MAN8=
@@ -60,11 +51,11 @@
 	${REINPLACE_CMD} -e 's|/usr/include/||' ${WRKSRC}/guid.h
 	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/${MAKEFILE}
 
-.if empty(PORT_OPTIONS:MCGDISK)
+.if ! ${PORT_OPTIONS:MCGDISK}
 	${REINPLACE_CMD} -e '/^all:/s| cgdisk||' ${WRKSRC}/${MAKEFILE}
 .endif
 
-.if empty(PORT_OPTIONS:MUTF16)
+.if ! ${PORT_OPTIONS:MUTF16}
 	${REINPLACE_CMD} -e 's| -D USE_UTF16||' \
 			 -e 's| -licuio||' ${WRKSRC}/${MAKEFILE}
 .endif
@@ -76,6 +67,8 @@
 .endfor
 
 post-install:
+	@${ECHO_MSG}
 	@${CAT} ${PKGMESSAGE}
+	@${ECHO_MSG}
 
 .include <bsd.port.post.mk>
Index: distinfo
===================================================================
--- distinfo	(revision 322365)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (gptfdisk-0.8.5.tar.gz) = 15cc691f28212c157e05315662ed6b76ffdcc8de6fc118fa21c81ef5aae84af9
-SIZE (gptfdisk-0.8.5.tar.gz) = 183841 
+SHA256 (gptfdisk-0.8.6.tar.gz) = 4579cd54842459699970e24720dda7fb0aa217027818623089c321bc62a647b2
+SIZE (gptfdisk-0.8.6.tar.gz) = 184686


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat Jul 6 13:30:14 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180345 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: fdn@okbire.ru
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/180345: [patch] sysutils/gdisk: update to version 0.8.6 and some more
Date: Sat, 6 Jul 2013 13:30:14 UT

 Maintainer of sysutils/gdisk,
 
 Please note that PR ports/180345 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/180345
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->bsam 
Responsible-Changed-By: bsam 
Responsible-Changed-When: Sun Aug 11 13:12:55 UTC 2013 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180345 
State-Changed-From-To: feedback->closed 
State-Changed-By: bsam 
State-Changed-When: Sun Aug 11 13:36:46 UTC 2013 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180345 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/180345: commit references a PR
Date: Sun, 11 Aug 2013 13:36:30 +0000 (UTC)

 Author: bsam
 Date: Sun Aug 11 13:36:22 2013
 New Revision: 324589
 URL: http://svnweb.freebsd.org/changeset/ports/324589
 
 Log:
   . update to version 0.8.6;
   . use one line MASTER_SITES with MASTER_SITE_SUBDIR;
   . use new LIB_DEPENDS syntax;
   . remove check for unsupported 7.x;
   . use bsd.port.options.mk instead of bsd.port.pre.mk;
   . empty(OPT) -> ! ${OPT};
   . part PKGMESSAGE by space lines.
   
   PR:		ports/180345 (based on, some changes has been committed by zi)
   Submitted by:	bsam (me)
   Approved by:	maintainer has been switched to ports@
 
 Modified:
   head/sysutils/gdisk/Makefile
   head/sysutils/gdisk/distinfo
 
 Modified: head/sysutils/gdisk/Makefile
 ==============================================================================
 --- head/sysutils/gdisk/Makefile	Sun Aug 11 13:21:21 2013	(r324588)
 +++ head/sysutils/gdisk/Makefile	Sun Aug 11 13:36:22 2013	(r324589)
 @@ -2,10 +2,9 @@
  # $FreeBSD$
  
  PORTNAME=	gdisk
 -PORTVERSION=	0.8.5
 +PORTVERSION=	0.8.6
  CATEGORIES=	sysutils
 -MASTER_SITES=	SF
 -MASTER_SITE_SUBDIR=	gptfdisk/gptfdisk/${PORTVERSION}
 +MASTER_SITES=	SF/gptfdisk/gptfdisk/${PORTVERSION}
  DISTNAME=	gptfdisk-${PORTVERSION}
  
  MAINTAINER=	ports@FreeBSD.org
 @@ -14,8 +13,8 @@ COMMENT=	GPT fdisk
  LICENSE=	GPLv2
  LICENSE_FILE=	${WRKSRC}/COPYING
  
 -LIB_DEPENDS=	uuid:${PORTSDIR}/misc/e2fsprogs-libuuid \
 -		popt:${PORTSDIR}/devel/popt
 +LIB_DEPENDS=	libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
 +		libpopt.so:${PORTSDIR}/devel/popt
  
  WRKSRC=		${WRKDIR}/gptfdisk-${PORTVERSION}
  
 @@ -27,24 +26,20 @@ OPTIONS_DEFINE=	CGDISK UTF16
  CGDISK_DESC=	A curses-based interactive program
  UTF16_DESC=	Support for Unicode partition names
  
 -.include <bsd.port.pre.mk>
 -
 -.if ${OSVERSION} < 701100
 -IGNORE=		is unsupported on FreeBSD 7.1-RELEASE or earlier
 -.endif
 -
  MAKEFILE=	Makefile.freebsd
  
  PROGRAM_LIST=	fixparts gdisk sgdisk
  PLIST_FILES=	${PROGRAM_LIST:C,^,sbin/,}
  
 +.include <bsd.port.options.mk>
 +
  .if ${PORT_OPTIONS:MCGDISK}
  PROGRAM_LIST+=	cgdisk
 -LIB_DEPENDS+=	ncurses:${PORTSDIR}/devel/ncurses
 +LIB_DEPENDS+=	libncurses.so:${PORTSDIR}/devel/ncurses
  .endif
  
  .if ${PORT_OPTIONS:MUTF16}
 -LIB_DEPENDS+=	icuuc:${PORTSDIR}/devel/icu
 +LIB_DEPENDS+=	libicuuc.so:${PORTSDIR}/devel/icu
  .endif
  
  MAN8=
 @@ -56,11 +51,11 @@ post-patch:
  	${REINPLACE_CMD} -e 's|/usr/include/||' ${WRKSRC}/guid.h
  	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/${MAKEFILE}
  
 -.if empty(PORT_OPTIONS:MCGDISK)
 +.if ! ${PORT_OPTIONS:MCGDISK}
  	${REINPLACE_CMD} -e '/^all:/s| cgdisk||' ${WRKSRC}/${MAKEFILE}
  .endif
  
 -.if empty(PORT_OPTIONS:MUTF16)
 +.if ! ${PORT_OPTIONS:MUTF16}
  	${REINPLACE_CMD} -e 's| -D USE_UTF16||' \
  			 -e 's| -licuio||' ${WRKSRC}/${MAKEFILE}
  .endif
 @@ -72,6 +67,8 @@ do-install:
  .endfor
  
  post-install:
 +	@${ECHO_MSG}
  	@${CAT} ${PKGMESSAGE}
 +	@${ECHO_MSG}
  
 -.include <bsd.port.post.mk>
 +.include <bsd.port.mk>
 
 Modified: head/sysutils/gdisk/distinfo
 ==============================================================================
 --- head/sysutils/gdisk/distinfo	Sun Aug 11 13:21:21 2013	(r324588)
 +++ head/sysutils/gdisk/distinfo	Sun Aug 11 13:36:22 2013	(r324589)
 @@ -1,2 +1,2 @@
 -SHA256 (gptfdisk-0.8.5.tar.gz) = 15cc691f28212c157e05315662ed6b76ffdcc8de6fc118fa21c81ef5aae84af9
 -SIZE (gptfdisk-0.8.5.tar.gz) = 183841 
 +SHA256 (gptfdisk-0.8.6.tar.gz) = 4579cd54842459699970e24720dda7fb0aa217027818623089c321bc62a647b2
 +SIZE (gptfdisk-0.8.6.tar.gz) = 184686
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
