aboutsummaryrefslogtreecommitdiff
path: root/science/v_sim
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2021-01-15 17:34:17 +0000
committerThierry Thomas <thierry@FreeBSD.org>2021-01-15 17:34:17 +0000
commit3f025aa86d7b1a031088a2e2271cbd353a72da58 (patch)
tree9c20d060bcf9cb92a06fd2078f3ddb1a14d91cd8 /science/v_sim
parent9ac843e9050905b64de368b12df8e04ef0df6842 (diff)
downloadports-3f025aa86d7b1a031088a2e2271cbd353a72da58.tar.gz
ports-3f025aa86d7b1a031088a2e2271cbd353a72da58.zip
Enable abinit for powerpc64 and fix plist.
Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=561655
Diffstat (limited to 'science/v_sim')
-rw-r--r--science/v_sim/Makefile5
-rw-r--r--science/v_sim/pkg-plist14
2 files changed, 11 insertions, 8 deletions
diff --git a/science/v_sim/Makefile b/science/v_sim/Makefile
index 0bea4f138457..68025eab0fc9 100644
--- a/science/v_sim/Makefile
+++ b/science/v_sim/Makefile
@@ -58,10 +58,13 @@ CONFIGURE_ARGS+=--enable-debug-messages
.include <bsd.port.options.mk>
-.if ${ARCH:Mamd64*}
+.if ${ARCH:Mamd64*} || ${ARCH:Mpowerpc64*}
BUILD_DEPENDS+= abinit:science/abinit
RUN_DEPENDS+= abinit:science/abinit
CONFIGURE_ARGS+=--with-abinit
+PLIST_SUB+= AB=""
+.else
+PLIST_SUB+= AB="@comment "
.endif
.if ${PORT_OPTIONS:MNLS}
diff --git a/science/v_sim/pkg-plist b/science/v_sim/pkg-plist
index c6e80c873af1..96878aba2b26 100644
--- a/science/v_sim/pkg-plist
+++ b/science/v_sim/pkg-plist
@@ -8,11 +8,11 @@ lib/libv_sim-3.so.8.0.0
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/v_sim.cpython-37.opt-1.pyc
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/v_sim.cpython-37.pyc
%%PYTHON_SITELIBDIR%%/gi/overrides/v_sim.py
-lib/v_sim/plug-ins/libabinit.a
-lib/v_sim/plug-ins/libabinit.la
-lib/v_sim/plug-ins/libabinit.so
-lib/v_sim/plug-ins/libabinit.so.8
-lib/v_sim/plug-ins/libabinit.so.8.0.0
+%%AB%%lib/v_sim/plug-ins/libabinit.a
+%%AB%%lib/v_sim/plug-ins/libabinit.la
+%%AB%%lib/v_sim/plug-ins/libabinit.so
+%%AB%%lib/v_sim/plug-ins/libabinit.so.8
+%%AB%%lib/v_sim/plug-ins/libabinit.so.8.0.0
lib/v_sim/plug-ins/libarchives.a
lib/v_sim/plug-ins/libarchives.la
lib/v_sim/plug-ins/libarchives.so
@@ -56,7 +56,7 @@ man/man1/v_sim.1.gz
%%PORTDOCS%%%%DOCSDIR%%/licence.fr.txt
%%PORTDOCS%%%%DOCSDIR%%/pot2surf_help
%%PORTDOCS%%%%DOCSDIR%%/readme
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ab_silicon.in
+%%AB%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ab_silicon.in
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/aluminium.d3
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cinchonidine.xsf.bz2
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cinchonidine.yaml
@@ -96,7 +96,7 @@ share/icons/hicolor/48x48/apps/v_sim.png
share/icons/hicolor/scalable/apps/v_sim.svg
%%NLS%%share/locale/fr/LC_MESSAGES/v_sim.mo
share/pixmaps/v_sim.xpm
-%%DATADIR%%/pixmaps/abinit.png
+%%AB%%%%DATADIR%%/pixmaps/abinit.png
%%DATADIR%%/pixmaps/archives.png
%%DATADIR%%/pixmaps/axes-angles.png
%%DATADIR%%/pixmaps/axes-box.png