- Resurrect and update to version 1.13.0 which is Python 3.x-friendly
- Shorten the COMMENT and synchronize with upstream brief description - Set LICENSE_FILE as it's not just a boilerplate (contains copyright) - Catch up with 301 redirect in the WWW line of the port description
This commit is contained in:
parent
d53175e2db
commit
43f3f55fa0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=548501
1
MOVED
1
MOVED
@ -13849,7 +13849,6 @@ graphics/imgtops||2020-01-27|Has expired: Unmaintained, uses EOLed python27
|
||||
graphics/imgv||2020-01-27|Has expired: Unmaintained, uses EOLed python27
|
||||
graphics/lcms-python||2020-01-27|Has expired: Unmaintained, uses EOLed python27
|
||||
graphics/mirage||2020-01-27|Has expired: Unmaintained, uses EOLed python27
|
||||
graphics/partio||2020-01-27|Has expired: Unmaintained, uses EOLed python27
|
||||
graphics/py-exif||2020-01-27|Has expired: Unmaintained, uses EOLed python27
|
||||
graphics/py-gd||2020-01-27|Has expired: Unmaintained, uses EOLed python27
|
||||
graphics/py-paint||2020-01-27|Has expired: Unmaintained, uses EOLed python27
|
||||
|
@ -706,6 +706,7 @@
|
||||
SUBDIR += p5-ming
|
||||
SUBDIR += panoglview
|
||||
SUBDIR += panomatic
|
||||
SUBDIR += partio
|
||||
SUBDIR += pastel
|
||||
SUBDIR += pcl-pointclouds
|
||||
SUBDIR += pdf2svg
|
||||
|
58
graphics/partio/Makefile
Normal file
58
graphics/partio/Makefile
Normal file
@ -0,0 +1,58 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= partio
|
||||
PORTVERSION= 1.13.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= graphics math
|
||||
|
||||
MAINTAINER= danfe@FreeBSD.org
|
||||
COMMENT= C++ library for particle I/O and manipulation
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= swig:devel/swig
|
||||
|
||||
USES= cmake compiler:c++11-lang gl python:run shebangfix xorg
|
||||
SHEBANG_FILES= src/tools/partedit.py src/tools/partinspect.py \
|
||||
src/tools/partjson.py
|
||||
USE_GL= gl glu glut
|
||||
USE_LDCONFIG= yes
|
||||
USE_XORG= xi xmu
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= wdas
|
||||
|
||||
OPTIONS_DEFINE= DOCS DOXYGEN EXAMPLES
|
||||
|
||||
# DOCS must be selected for PORTDOCS to work
|
||||
DOXYGEN_IMPLIES= DOCS
|
||||
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
|
||||
DOXYGEN_ALL_TARGET= all doc
|
||||
|
||||
DOCS_BUILD_DEPENDS= doxygen:devel/doxygen
|
||||
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,OpenGL::OpenGL,$${OPENGL_LIBRARIES},' \
|
||||
${WRKSRC}/src/tools/CMakeLists.txt
|
||||
|
||||
post-patch-DOCS-off:
|
||||
@${REINPLACE_CMD} -e '/add_subdirectory(src\/doc)/d' \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
|
||||
# Remove those files that don't yet work
|
||||
post-install:
|
||||
${RM} ${STAGEDIR}${PREFIX}/bin/partedit ${STAGEDIR}${PREFIX}/bin/partinspect
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC}/src/doc && ${INSTALL_DATA} tutorial.txt partio.tex ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/src/data && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/partio/distinfo
Normal file
3
graphics/partio/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1598285132
|
||||
SHA256 (wdas-partio-v1.13.0_GH0.tar.gz) = a894f2edee2f6c5b186c7563e2f96bb778c71346667c78e0f67583233cd7f3d6
|
||||
SIZE (wdas-partio-v1.13.0_GH0.tar.gz) = 333259
|
8
graphics/partio/pkg-descr
Normal file
8
graphics/partio/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
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).
|
||||
|
||||
Partio has a Python API and a collection of simple command-line tools.
|
||||
|
||||
WWW: http://partio.us/
|
16
graphics/partio/pkg-plist
Normal file
16
graphics/partio/pkg-plist
Normal file
@ -0,0 +1,16 @@
|
||||
bin/partattr
|
||||
bin/partconvert
|
||||
bin/partinfo
|
||||
bin/partjson
|
||||
bin/partview
|
||||
include/Partio.h
|
||||
include/PartioAttribute.h
|
||||
include/PartioIterator.h
|
||||
include/PartioVec3.h
|
||||
lib/libpartio.so
|
||||
%%PYTHON_SITELIBDIR%%/_partio.so
|
||||
%%PYTHON_SITELIBDIR%%/partedit.py
|
||||
%%PYTHON_SITELIBDIR%%/partinspect.py
|
||||
%%PYTHON_SITELIBDIR%%/partio.py
|
||||
%%PYTHON_SITELIBDIR%%/partjson.py
|
||||
share/swig/partio.i
|
Loading…
Reference in New Issue
Block a user