Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2019 15:05:58 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510168 - head/sysutils/vmdktool
Message-ID:  <201908291505.x7TF5wfB036067@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Thu Aug 29 15:05:57 2019
New Revision: 510168
URL: https://svnweb.freebsd.org/changeset/ports/510168

Log:
  sysutils/vmdktool: Set TEST_TARGET and WWW, and fix ALL_TARGET
  
  - Set TEST_TARGET. We need a utility called prove that comes with Perl 5 so
    set USES=perl5 as well.
  - Set ALL_TARGET to vmdktool. The default one, all, attempts to build
    vmdktool.8.gz using Groff. Since the final vmdktool.8.gz is never not
    installed anyway (the install target always installs the original
    vmdktool.8), it is better to just change the ALL_TARGET to vmdktool
    directly.  This way we do not add dependencies to the build phase.
  - Set WWW to give users at least some information, even though the project
    does not have its official homepage.
  
  Reviewed by:	garga
  Approved by:	maintainer (garga)
  Differential Revision:	https://reviews.freebsd.org/D21464

Modified:
  head/sysutils/vmdktool/Makefile
  head/sysutils/vmdktool/pkg-descr

Modified: head/sysutils/vmdktool/Makefile
==============================================================================
--- head/sysutils/vmdktool/Makefile	Thu Aug 29 14:59:33 2019	(r510167)
+++ head/sysutils/vmdktool/Makefile	Thu Aug 29 15:05:57 2019	(r510168)
@@ -13,7 +13,14 @@ COMMENT=	Convert VMDK files to/from raw disk images
 
 LICENSE=	BSD2CLAUSE
 
+USES=		perl5
+# We need the prove utility from Perl 5.
+USE_PERL5=	test
+
 PLIST_FILES=	bin/vmdktool \
 		man/man8/vmdktool.8.gz
+
+ALL_TARGET=	vmdktool
+TEST_TARGET=	test
 
 .include <bsd.port.mk>

Modified: head/sysutils/vmdktool/pkg-descr
==============================================================================
--- head/sysutils/vmdktool/pkg-descr	Thu Aug 29 14:59:33 2019	(r510167)
+++ head/sysutils/vmdktool/pkg-descr	Thu Aug 29 15:05:57 2019	(r510168)
@@ -8,3 +8,5 @@ VMDK files as the initial filesystem images for the cr
 vmdktool is free.
 
 Contact the author with any questions or comments.
+
+WWW: http://www.awfulhak.org/vmdktool



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