Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2018 00:10:53 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459971 - head/sysutils/gdisk
Message-ID:  <201801260010.w0Q0Ar0Z072785@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Fri Jan 26 00:10:53 2018
New Revision: 459971
URL: https://svnweb.freebsd.org/changeset/ports/459971

Log:
  sysutils/gdisk: Update to 1.0.3
  
  - Complete the conversion to options helpers
  
  - Add LICENSE_FILE
  
  - Reset maintainer after a timeout of 3 years + 2 months
  
  Changes:	https://sourceforge.net/p/gptfdisk/code/ci/master/tree/NEWS
  PR:		223855
  Submitted by:	John Hein <z7dr6ut7gs@snkmail.com> (based on)
  Approved by:	wg (maintainer timeout, 2 months)

Modified:
  head/sysutils/gdisk/Makefile
  head/sysutils/gdisk/distinfo

Modified: head/sysutils/gdisk/Makefile
==============================================================================
--- head/sysutils/gdisk/Makefile	Thu Jan 25 23:07:53 2018	(r459970)
+++ head/sysutils/gdisk/Makefile	Fri Jan 26 00:10:53 2018	(r459971)
@@ -2,57 +2,48 @@
 # $FreeBSD$
 
 PORTNAME=	gdisk
-PORTVERSION=	0.8.10
-PORTREVISION=	6
+PORTVERSION=	1.0.3
 CATEGORIES=	sysutils
 MASTER_SITES=	SF/gptfdisk/gptfdisk/${PORTVERSION}
 DISTNAME=	gptfdisk-${PORTVERSION}
 
-MAINTAINER=	wg@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	GPT fdisk
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
+ONLY_FOR_ARCHS=	amd64 i386
+
 LIB_DEPENDS=	libuuid.so:misc/e2fsprogs-libuuid \
 		libpopt.so:devel/popt
 
-WRKSRC=		${WRKDIR}/gptfdisk-${PORTVERSION}
+USES=	localbase:ldflags
 
-ONLY_FOR_ARCHS=	i386 amd64
+MAKEFILE=	Makefile.freebsd
+ALL_TARGET=	fixparts gdisk sgdisk
 
 OPTIONS_DEFINE=	CGDISK UTF16
 OPTIONS_SUB=	yes
+
 CGDISK_DESC=	Curses-based interactive program
 UTF16_DESC=	Support for Unicode partition names
-UTF16_CPPFLAGS=	-DUSE_UTF16
-UTF16_LDFLAGS=	-licuio -licuuc
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-MAKEFILE=	Makefile.freebsd
+CGDISK_ALL_TARGET=	cgdisk
+CGDISK_USES=		ncurses
 
-PROGRAM_LIST=	fixparts gdisk sgdisk
+UTF16_CPPFLAGS=		-DUSE_UTF16
+UTF16_LDFLAGS=		-licuio -licuuc
+UTF16_LIB_DEPENDS=	libicuuc.so:devel/icu
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MCGDISK}
-PROGRAM_LIST+=	cgdisk
-LIB_DEPENDS+=	libncurses.so:devel/ncurses
-.endif
-
-.if ${PORT_OPTIONS:MUTF16}
-LIB_DEPENDS+=	libicuuc.so:devel/icu
-.endif
-
-post-patch:
-.if ! ${PORT_OPTIONS:MCGDISK}
-	${REINPLACE_CMD} -e '/^all:/s| cgdisk||' ${WRKSRC}/${MAKEFILE}
-.endif
-
 do-install:
-.for i in ${PROGRAM_LIST}
+.for i in fixparts gdisk sgdisk
 	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_MAN} ${WRKSRC}/${i}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
 .endfor
+
+do-install-CGDISK-on:
+	${INSTALL_PROGRAM} ${WRKSRC}/cgdisk ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_MAN} ${WRKSRC}/cgdisk.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
 
 .include <bsd.port.mk>

Modified: head/sysutils/gdisk/distinfo
==============================================================================
--- head/sysutils/gdisk/distinfo	Thu Jan 25 23:07:53 2018	(r459970)
+++ head/sysutils/gdisk/distinfo	Fri Jan 26 00:10:53 2018	(r459971)
@@ -1,2 +1,3 @@
-SHA256 (gptfdisk-0.8.10.tar.gz) = 73e64151203ae0c347c488358e71ca582bb7fb7f0d66df86b71c42050390eb9b
-SIZE (gptfdisk-0.8.10.tar.gz) = 190666
+TIMESTAMP = 1511345902
+SHA256 (gptfdisk-1.0.3.tar.gz) = 89fd5aec35c409d610a36cb49c65b442058565ed84042f767bba614b8fc91b5c
+SIZE (gptfdisk-1.0.3.tar.gz) = 199924



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