Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2018 09:10:29 +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: r479514 - head/graphics/partio
Message-ID:  <201809110910.w8B9ATvu096550@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Sep 11 09:10:29 2018
New Revision: 479514
URL: https://svnweb.freebsd.org/changeset/ports/479514

Log:
  - Update `graphics/partio' to version 1.5.5
  - Actualize USE_GL and USE_XORG, per `stage-qa'
  - Simplify make(1) invocation in `post-build-DOCS-on'
  - Augment port description and format WWW correctly
  - Assert that PYTHON option is always enabled
  
  Reported by:	portscout

Modified:
  head/graphics/partio/Makefile
  head/graphics/partio/distinfo
  head/graphics/partio/pkg-descr
  head/graphics/partio/pkg-plist

Modified: head/graphics/partio/Makefile
==============================================================================
--- head/graphics/partio/Makefile	Tue Sep 11 09:08:23 2018	(r479513)
+++ head/graphics/partio/Makefile	Tue Sep 11 09:10:29 2018	(r479514)
@@ -1,8 +1,8 @@
 # $FreeBSD$
 
 PORTNAME=	partio
-PORTVERSION=	1.1.0.20150221
-PORTREVISION=	3
+PORTVERSION=	1.5.5
+DISTVERSIONPREFIX=	v
 CATEGORIES=	graphics math
 
 MAINTAINER=	ports@FreeBSD.org
@@ -10,17 +10,20 @@ COMMENT=	C++ library for manipulating animation partic
 
 LICENSE=	BSD3CLAUSE
 
-USES=		cmake:outsource
-USE_XORG=	xmu
-USE_GL=		gl glut
+USES=		cmake:outsource gl shebangfix
+SHEBANG_FILES=	src/tools/partedit.py src/tools/partjson.py
+USE_GL=		gl glu glut
+USE_LDCONFIG=	yes
+USE_XORG=	xi
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	wdas
-GH_TAGNAME=	1fd6747
 
-OPTIONS_DEFINE=		DOCS PYTHON
+OPTIONS_DEFINE=		DOCS PYTHON	# XXX: should probably use DOXYGEN
 OPTIONS_DEFAULT=	PYTHON
 
+PYTHON_BROKEN_OFF=	does not build without Python support
+
 DOCS_BUILD_DEPENDS=	doxygen:devel/doxygen
 PYTHON_USES=		python
 PYTHON_BUILD_DEPENDS=	swig3.0:devel/swig30
@@ -29,9 +32,9 @@ BINARY_ALIAS=	swig=swig3.0
 PORTDOCS=	*
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|python -c|${PYTHON_CMD} -c|; \
-		s|lib64/python$${PYTHON_VERSION}/site-packages|${PYTHONPREFIX_SITELIBDIR:S/${PREFIX}\///}|' \
-		${WRKSRC}/src/py/CMakeLists.txt
+	@${REINPLACE_CMD} -e 's|python -c|${PYTHON_CMD} -c|' \
+		${WRKSRC}/src/py/CMakeLists.txt \
+		${WRKSRC}/src/tools/CMakeLists.txt
 	@${REINPLACE_CMD} -e '/install(TARGETS/d' \
 		${WRKSRC}/src/tests/CMakeLists.txt
 
@@ -44,6 +47,6 @@ post-patch-DOCS-off:
 		${WRKSRC}/CMakeLists.txt
 
 post-build-DOCS-on:
-	@(cd ${BUILD_WRKSRC}; ${MAKE_CMD} doc)
+	@${MAKE_CMD} -C ${BUILD_WRKSRC} doc
 
 .include <bsd.port.mk>

Modified: head/graphics/partio/distinfo
==============================================================================
--- head/graphics/partio/distinfo	Tue Sep 11 09:08:23 2018	(r479513)
+++ head/graphics/partio/distinfo	Tue Sep 11 09:10:29 2018	(r479514)
@@ -1,2 +1,3 @@
-SHA256 (wdas-partio-1.1.0.20150221-1fd6747_GH0.tar.gz) = da7fc1ed5582521ba7514ec8a38e68f15d8e83ae974668a4b8a9ee80b78c360e
-SIZE (wdas-partio-1.1.0.20150221-1fd6747_GH0.tar.gz) = 264017
+TIMESTAMP = 1534366535
+SHA256 (wdas-partio-v1.5.5_GH0.tar.gz) = 25352a6af0ccc20794a8c85715d5a6645c3f8ddcb6bbaaf20136670b5abd4727
+SIZE (wdas-partio-v1.5.5_GH0.tar.gz) = 291801

Modified: head/graphics/partio/pkg-descr
==============================================================================
--- head/graphics/partio/pkg-descr	Tue Sep 11 09:08:23 2018	(r479513)
+++ head/graphics/partio/pkg-descr	Tue Sep 11 09:10:29 2018	(r479514)
@@ -1,6 +1,8 @@
-Partio is a library for reading/writing/processing particle files for a wide
-range of tools and file formats. It acts as an abstraction for the
-commonalities in particle models (i.e. accessing many attributes associated
-with an index or entity).
+Partio is an open source C++ library for reading, writing, and manipulating
+a variety of standard particle formats (GEO, BGEO, PTC, PDB, PDA).  It acts
+as an abstraction for the commonalities in particle models (i.e., accessing
+many attributes associated with an index or entity).
 
-WWW: http://www.partio.us
+Partio has a Python API and a collection of simple command-line tools.
+
+WWW: http://www.partio.us/

Modified: head/graphics/partio/pkg-plist
==============================================================================
--- head/graphics/partio/pkg-plist	Tue Sep 11 09:08:23 2018	(r479513)
+++ head/graphics/partio/pkg-plist	Tue Sep 11 09:10:29 2018	(r479514)
@@ -1,10 +1,17 @@
 bin/partattr
-bin/partconv
+bin/partconvert
+bin/partedit
 bin/partinfo
+bin/partjson
 bin/partview
 include/Partio.h
 include/PartioAttribute.h
 include/PartioIterator.h
-lib/libpartio.a
+include/PartioSe.h
+include/PartioVec3.h
+lib/libpartio.so
 %%PYTHON_SITELIBDIR%%/_partio.so
+%%PYTHON_SITELIBDIR%%/partedit.py
 %%PYTHON_SITELIBDIR%%/partio.py
+%%PYTHON_SITELIBDIR%%/partjson.py
+share/swig/partio.i



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