Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2014 12:57:47 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348220 - in head/emulators/vxtools: . files
Message-ID:  <201403141257.s2ECvllj086825@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Mar 14 12:57:47 2014
New Revision: 348220
URL: http://svnweb.freebsd.org/changeset/ports/348220
QAT: https://qat.redports.org/buildarchive/r348220/

Log:
  - Support staging
  - Respect CFLAGS
  - Don't build with debug symbols
  - USES -> gmake
  - Convert USE_BZIP2=yes to USES=tar:bzip2

Added:
  head/emulators/vxtools/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/emulators/vxtools/Makefile
  head/emulators/vxtools/files/patch-dir.c
  head/emulators/vxtools/files/patch-olt.c
  head/emulators/vxtools/pkg-plist

Modified: head/emulators/vxtools/Makefile
==============================================================================
--- head/emulators/vxtools/Makefile	Fri Mar 14 12:42:44 2014	(r348219)
+++ head/emulators/vxtools/Makefile	Fri Mar 14 12:57:47 2014	(r348220)
@@ -10,25 +10,15 @@ MASTER_SITES=	ftp://ftp.penguin.cz/pub/u
 MAINTAINER=	mhi@penguin.cz
 COMMENT=	Command-line utilities for reading Veritas Filesystem (VxFS)
 
-USE_BZIP2=	yes
+USES=		tar:bzip2 gmake
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
 
-MAN1=		vxmount.1 vxumount.1
-MAN8=		prtvtoc.8
-
-NO_STAGE=	yes
 do-install:
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/vxls ${PREFIX}/bin
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/vxmount ${PREFIX}/bin
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/vxumount ${PREFIX}/bin
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/vxcat ${PREFIX}/bin
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/vxidump ${PREFIX}/bin
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/vxcd ${PREFIX}/bin
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/vxpwd ${PREFIX}/bin
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/prtvtoc ${PREFIX}/bin
-	@ ${INSTALL_MAN} ${WRKSRC}/prtvtoc.8 ${PREFIX}/man/man8
-	@ ${INSTALL_MAN} ${WRKSRC}/vxmount.1 ${PREFIX}/man/man1
-	@ ${INSTALL_MAN} ${WRKSRC}/vxumount.1 ${PREFIX}/man/man1
+.for f in vxls vxmount vxumount vxcat vxidump vxcd vxpwd prtvtoc
+	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
+.endfor
+	${INSTALL_MAN} ${WRKSRC}/prtvtoc.8 ${STAGEDIR}${MANPREFIX}/man/man8
+	${INSTALL_MAN} ${WRKSRC}/vxmount.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/vxumount.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>

Added: head/emulators/vxtools/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/vxtools/files/patch-Makefile.in	Fri Mar 14 12:57:47 2014	(r348220)
@@ -0,0 +1,12 @@
+--- ./Makefile.in.orig	1999-12-02 18:52:25.000000000 +0100
++++ ./Makefile.in	2014-03-14 13:55:04.943662466 +0100
+@@ -10,8 +10,7 @@
+ MAN8 = prtvtoc.8
+ 
+ CC = @CC@
+-CFLAGS = -Wall -g -I.
+-LDFLAGS = -g
++CFLAGS += -Wall -I.
+ 
+ all:	$(BINS)
+ 

Modified: head/emulators/vxtools/files/patch-dir.c
==============================================================================
--- head/emulators/vxtools/files/patch-dir.c	Fri Mar 14 12:42:44 2014	(r348219)
+++ head/emulators/vxtools/files/patch-dir.c	Fri Mar 14 12:57:47 2014	(r348220)
@@ -1,5 +1,5 @@
---- dir.c.orig	2007-11-16 03:10:42.000000000 +0600
-+++ dir.c	2007-11-16 03:11:11.000000000 +0600
+--- ./dir.c.orig	1999-12-02 17:57:40.000000000 +0100
++++ ./dir.c	2014-03-14 13:54:55.820662227 +0100
 @@ -105,7 +105,7 @@
  					if (direct->ino)
  						filldir (dir, direct->name, direct->namelen, direct->ino);

Modified: head/emulators/vxtools/files/patch-olt.c
==============================================================================
--- head/emulators/vxtools/files/patch-olt.c	Fri Mar 14 12:42:44 2014	(r348219)
+++ head/emulators/vxtools/files/patch-olt.c	Fri Mar 14 12:57:47 2014	(r348220)
@@ -1,5 +1,5 @@
---- olt.c.orig	2007-11-16 03:09:17.000000000 +0600
-+++ olt.c	2007-11-16 03:12:11.000000000 +0600
+--- ./olt.c.orig	1999-12-02 15:19:27.000000000 +0100
++++ ./olt.c	2014-03-14 13:54:55.821662410 +0100
 @@ -85,7 +85,7 @@
  				case VXFS_OLTSB:
  					break;

Modified: head/emulators/vxtools/pkg-plist
==============================================================================
--- head/emulators/vxtools/pkg-plist	Fri Mar 14 12:42:44 2014	(r348219)
+++ head/emulators/vxtools/pkg-plist	Fri Mar 14 12:57:47 2014	(r348220)
@@ -6,3 +6,6 @@ bin/vxcd
 bin/vxpwd
 bin/vxidump
 bin/vxcat
+man/man1/vxmount.1.gz
+man/man1/vxumount.1.gz
+man/man8/prtvtoc.8.gz



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