1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00

graphics/partio: update to 1.7.4

* Add EXAMPLES option

Accumulated changes:

 * Fix partattr
 * partview: Fix opacity (wasn't working)
 * partinfo: Better output and add command-line flags
 * Several bugfixes

Reported by:	portscout
This commit is contained in:
Fernando Apesteguía 2019-04-19 15:45:02 +00:00
parent afabbe4010
commit 7bca05f67e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=499371
3 changed files with 14 additions and 7 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= partio
PORTVERSION= 1.5.5
PORTREVISION= 1
PORTVERSION= 1.7.4
DISTVERSIONPREFIX= v
CATEGORIES= graphics math
@ -14,7 +13,8 @@ LICENSE= BSD3CLAUSE
BUILD_DEPENDS= swig3.0:devel/swig30
USES= cmake compiler:c++11-lang gl python shebangfix
SHEBANG_FILES= src/tools/partedit.py src/tools/partjson.py
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
@ -22,7 +22,7 @@ USE_XORG= xi xmu
USE_GITHUB= yes
GH_ACCOUNT= wdas
OPTIONS_DEFINE= DOCS DOXYGEN
OPTIONS_DEFINE= DOCS DOXYGEN EXAMPLES
OPTIONS_DEFAULT= DOCS
# DOCS must be selected for PORTDOCS to work
@ -35,6 +35,7 @@ DOCS_BUILD_DEPENDS= doxygen:devel/doxygen
BINARY_ALIAS= swig=swig3.0
PORTDOCS= *
PORTEXAMPLES= *
post-patch:
@${REINPLACE_CMD} -e 's|python -c|${PYTHON_CMD} -c|' \
@ -51,4 +52,8 @@ 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>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1534366535
SHA256 (wdas-partio-v1.5.5_GH0.tar.gz) = 25352a6af0ccc20794a8c85715d5a6645c3f8ddcb6bbaaf20136670b5abd4727
SIZE (wdas-partio-v1.5.5_GH0.tar.gz) = 291801
TIMESTAMP = 1555667035
SHA256 (wdas-partio-v1.7.4_GH0.tar.gz) = 2d1e53ae3447061b370e0efaf2fd6b2d541de462ff312d1398a05bcaafb107ec
SIZE (wdas-partio-v1.7.4_GH0.tar.gz) = 336205

View File

@ -2,6 +2,7 @@ bin/partattr
bin/partconvert
bin/partedit
bin/partinfo
bin/partinspect
bin/partjson
bin/partview
include/Partio.h
@ -12,6 +13,7 @@ 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