Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Sep 2015 15:41:08 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396223 - in head/net/pvm: . files
Message-ID:  <201509061541.t86Ff8ul009876@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sun Sep  6 15:41:08 2015
New Revision: 396223
URL: https://svnweb.freebsd.org/changeset/ports/396223

Log:
  - Convert from using EXTRACT_SUFX to USES=tar:tgz
  - Allow to build on PowerPC
  - Do not try to append to MAKE_ENV, do not try to set REINPLACE_ARGS
  - Mute MKDIR's, move OPTIONS block where it's typically found
  - Reformat port description, kill EOL whitespace, and adjust WWW

Modified:
  head/net/pvm/Makefile
  head/net/pvm/files/patch-pvmgetarch
  head/net/pvm/pkg-descr

Modified: head/net/pvm/Makefile
==============================================================================
--- head/net/pvm/Makefile	Sun Sep  6 15:34:56 2015	(r396222)
+++ head/net/pvm/Makefile	Sun Sep  6 15:41:08 2015	(r396223)
@@ -7,27 +7,26 @@ PORTREVISION=	4
 CATEGORIES=	net parallel
 MASTER_SITES=	NL/pvm3 ftp://ftp.chg.ru/pub/prog/parallel/pvm3/
 DISTNAME=	pvm${PORTVERSION}
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Parallel Virtual Machine libraries and environment
 
 LICENSE=	MIT
 
-OPTIONS_DEFINE=	X11
-OPTIONS_DEFAULT=X11
-OPTIONS_SUB=	yes
-X11_USE=	XORG=x11,xaw,xt
-
+USES=		tar:tgz
 USE_LDCONFIG=	yes
 
 WRKSRC=		${WRKDIR}/pvm3
-MAKE_ENV+=	PVM_ROOT=${WRKSRC} SHAREDLDFLAGS="-shared"
+MAKE_ENV=	PVM_ROOT=${WRKSRC} SHAREDLDFLAGS="-shared"
 PVM_ROOT_REL=	lib/pvm
 PVM_ROOT=	${PREFIX}/${PVM_ROOT_REL}
-REINPLACE_ARGS=	-i ""
 SUB_FILES=	pkg-message
-NOT_FOR_ARCHS=	powerpc
+
+OPTIONS_DEFINE=	X11
+OPTIONS_DEFAULT=	X11
+OPTIONS_SUB=	yes
+
+X11_USE=	XORG=x11,xaw,xt
 
 .include <bsd.port.options.mk>
 
@@ -52,9 +51,9 @@ do-build:
 		EXTRACFLAGS="${CFLAGS} -fpic" shared)
 
 do-install:
-	${MKDIR} ${STAGEDIR}${PVM_ROOT}/lib/FREEBSD
-	${MKDIR} ${STAGEDIR}${PVM_ROOT}/bin/FREEBSD
-	${MKDIR} ${STAGEDIR}${PVM_ROOT}/conf
+	@${MKDIR} ${STAGEDIR}${PVM_ROOT}/lib/FREEBSD
+	@${MKDIR} ${STAGEDIR}${PVM_ROOT}/bin/FREEBSD
+	@${MKDIR} ${STAGEDIR}${PVM_ROOT}/conf
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/FREEBSD/* ${STAGEDIR}${PVM_ROOT}/bin/FREEBSD
 	${INSTALL_PROGRAM} ${WRKSRC}/lib/FREEBSD/pvmd3 ${STAGEDIR}${PVM_ROOT}/lib/FREEBSD
 	${INSTALL_PROGRAM} ${WRKSRC}/lib/FREEBSD/pvm ${STAGEDIR}${PVM_ROOT}/lib/FREEBSD

Modified: head/net/pvm/files/patch-pvmgetarch
==============================================================================
--- head/net/pvm/files/patch-pvmgetarch	Sun Sep  6 15:34:56 2015	(r396222)
+++ head/net/pvm/files/patch-pvmgetarch	Sun Sep  6 15:41:08 2015	(r396223)
@@ -1,12 +1,13 @@
 --- lib/pvmgetarch.orig	2007-11-29 21:17:02 UTC
 +++ lib/pvmgetarch
-@@ -79,6 +79,10 @@ if [ -f /bin/uname -o -f /usr/bin/uname 
+@@ -79,6 +79,11 @@ if [ -f /bin/uname -o -f /usr/bin/uname 
  	BSD/OS,i[3456]86 )      ARCH=BSD386 ;;
  	FreeBSD,i[3456]86 )     ARCH=FREEBSD ;;
  	FreeBSD,alpha )         ARCH=FREEBSD ;;
 +	FreeBSD,arm* )		ARCH=FREEBSD ;;
 +	FreeBSD,amd64 )		ARCH=FREEBSD ;;
 +	FreeBSD,ia64 )		ARCH=FREEBSD ;;
++	FreeBSD,powerpc )	ARCH=FREEBSD ;;
 +	FreeBSD,sparc64 )	ARCH=FREEBSD ;;
  	SUPER-UX,SX-3 )         ARCH=SX3 ;;
  	uts,* )                 ARCH=UTS2 ;;

Modified: head/net/pvm/pkg-descr
==============================================================================
--- head/net/pvm/pkg-descr	Sun Sep  6 15:34:56 2015	(r396222)
+++ head/net/pvm/pkg-descr	Sun Sep  6 15:41:08 2015	(r396223)
@@ -1,12 +1,12 @@
 PVM (Parallel Virtual Machine) is a portable message-passing programming
-system, designed to link separate host machines to form a virtual
-machine which is a single, manageable computing resource. 
+system, designed to link separate host machines to form a virtual machine
+which is a single, manageable computing resource.
 
 The virtual machine can be composed of hosts of different architectures,
-located in physically remote locations. PVM applications can be composed of any
-number of separate processes, or components, written in a mixture of C,
-C++ and Fortran. The system is portable to a wide variety of
-architectures, including workstations, multiprocessors, supercomputers and
-PCs. 
+located in physically remote locations.  PVM applications can be composed
+of any number of separate processes, or components, written in a mixture
+of C, C++, and Fortran.  The system is portable to a wide variety of
+architectures, including workstations, multiprocessors, supercomputers,
+and PCs.
 
-WWW: http://www.csm.ornl.gov/pvm/pvm_home.html
+WWW: http://www.csm.ornl.gov/pvm/



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