svn commit: r499460 - head/graphics/partio
Fernando Apesteguía
fernape at FreeBSD.org
Sat Apr 20 16:55:02 UTC 2019
Author: fernape
Date: Sat Apr 20 16:55:01 2019
New Revision: 499460
URL: https://svnweb.freebsd.org/changeset/ports/499460
Log:
graphics/partio: Use python 2.7
Some of the scripts don't work yet with python 3.0. Use python 2.7 instead.
Remove also two problematic scripts due to lack of necessary wrappers.
Reported by: tcberner
Modified:
head/graphics/partio/Makefile
head/graphics/partio/pkg-plist
Modified: head/graphics/partio/Makefile
==============================================================================
--- head/graphics/partio/Makefile Sat Apr 20 16:26:18 2019 (r499459)
+++ head/graphics/partio/Makefile Sat Apr 20 16:55:01 2019 (r499460)
@@ -12,7 +12,7 @@ LICENSE= BSD3CLAUSE
BUILD_DEPENDS= swig3.0:devel/swig30
-USES= cmake compiler:c++11-lang gl python shebangfix
+USES= cmake compiler:c++11-lang gl python:2.7 shebangfix
SHEBANG_FILES= src/tools/partedit.py src/tools/partinspect.py \
src/tools/partjson.py
USE_GL= gl glu glut
@@ -47,6 +47,10 @@ post-patch:
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}
Modified: head/graphics/partio/pkg-plist
==============================================================================
--- head/graphics/partio/pkg-plist Sat Apr 20 16:26:18 2019 (r499459)
+++ head/graphics/partio/pkg-plist Sat Apr 20 16:55:01 2019 (r499460)
@@ -1,8 +1,6 @@
bin/partattr
bin/partconvert
-bin/partedit
bin/partinfo
-bin/partinspect
bin/partjson
bin/partview
include/Partio.h
More information about the svn-ports-head
mailing list