summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/partio/Makefile6
-rw-r--r--graphics/partio/pkg-plist2
2 files changed, 5 insertions, 3 deletions
diff --git a/graphics/partio/Makefile b/graphics/partio/Makefile
index 168584c5ba88..86eb6c754067 100644
--- a/graphics/partio/Makefile
+++ b/graphics/partio/Makefile
@@ -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
@@ -48,6 +48,10 @@ 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}
diff --git a/graphics/partio/pkg-plist b/graphics/partio/pkg-plist
index fc05c2be5b58..bb55127c5cc3 100644
--- a/graphics/partio/pkg-plist
+++ b/graphics/partio/pkg-plist
@@ -1,8 +1,6 @@
bin/partattr
bin/partconvert
-bin/partedit
bin/partinfo
-bin/partinspect
bin/partjson
bin/partview
include/Partio.h