aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-27 04:34:31 +0800
committerkrion <krion@FreeBSD.org>2004-01-27 04:34:31 +0800
commitcb65c343ebdb778a8d7fa2f82f660d66f5ce836d (patch)
treeef25ff264fc3ae75b440e0fe3a0bc241864b3900 /science
parent22601a0aaf9550001ade33e5503eebef4158520d (diff)
downloadfreebsd-ports-gnome-cb65c343ebdb778a8d7fa2f82f660d66f5ce836d.tar.gz
freebsd-ports-gnome-cb65c343ebdb778a8d7fa2f82f660d66f5ce836d.tar.zst
freebsd-ports-gnome-cb65c343ebdb778a8d7fa2f82f660d66f5ce836d.zip
- Update to version 0.7.0
PR: ports/61958 Submitted by: Ports Fury
Diffstat (limited to 'science')
-rw-r--r--science/kmovisto/Makefile28
-rw-r--r--science/kmovisto/distinfo2
-rw-r--r--science/kmovisto/pkg-plist93
3 files changed, 66 insertions, 57 deletions
diff --git a/science/kmovisto/Makefile b/science/kmovisto/Makefile
index b4b1d76c438b..d65c8067f766 100644
--- a/science/kmovisto/Makefile
+++ b/science/kmovisto/Makefile
@@ -7,25 +7,33 @@
#
PORTNAME= kmovisto
-PORTVERSION= 0.6.0
+PORTVERSION= 0.7.0
CATEGORIES= science
MASTER_SITES= http://mitglied.lycos.de/pageofmh/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= A real 3-D molecule viewer
-USE_REINPLACE= yes
USE_QT_VER= 3
-USE_MESA= yes
-USE_GNOME= gnometarget
-GNU_CONFIGURE= yes
+USE_GL= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
-
-DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
post-patch:
- @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
- -e "s|-pedantic||g" -e "s|-ldl||g" ${WRKSRC}/configure
- @${REINPLACE_CMD} -e "s|-ldl||g" ${WRKSRC}/kmovisto/Makefile.in
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|-pedantic||g ; \
+ s|-fno-exceptions|-fexceptions|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/kmovisto/Makefile.in
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/kmovisto/kmovisto ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/kmovisto/docs/en/*.html ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/images
+ ${INSTALL_DATA} ${WRKSRC}/kmovisto/docs/en/images/*.jpg ${DOCSDIR}/images
+.endif
.include <bsd.port.mk>
diff --git a/science/kmovisto/distinfo b/science/kmovisto/distinfo
index fade1c61c786..1a6d7adbe838 100644
--- a/science/kmovisto/distinfo
+++ b/science/kmovisto/distinfo
@@ -1 +1 @@
-MD5 (kmovisto-0.6.0.tar.gz) = 9b47a43f330649baa94f38126b134f88
+MD5 (kmovisto-0.7.0.tar.gz) = 682ea33149657ede03ef17208b5592d8
diff --git a/science/kmovisto/pkg-plist b/science/kmovisto/pkg-plist
index 7aa83ac90b46..ca1481276655 100644
--- a/science/kmovisto/pkg-plist
+++ b/science/kmovisto/pkg-plist
@@ -1,47 +1,48 @@
bin/kmovisto
-%%DOCSDIR%%/images/dialog_appearance.jpg
-%%DOCSDIR%%/images/dialog_atoms.jpg
-%%DOCSDIR%%/images/dialog_bonds.jpg
-%%DOCSDIR%%/images/dialog_directories.jpg
-%%DOCSDIR%%/images/dialog_pluginmanager.jpg
-%%DOCSDIR%%/images/dialog_povray_tab1.jpg
-%%DOCSDIR%%/images/dialog_povray_tab2.jpg
-%%DOCSDIR%%/images/dialog_povray_tab3.jpg
-%%DOCSDIR%%/images/dialog_povray_tab4.jpg
-%%DOCSDIR%%/images/dialog_title.jpg
-%%DOCSDIR%%/images/dialog_vrml_tab1.jpg
-%%DOCSDIR%%/images/dialog_vrml_tab2.jpg
-%%DOCSDIR%%/images/dialog_vrml_tab3.jpg
-%%DOCSDIR%%/images/kmovisto.jpg
-%%DOCSDIR%%/images/kmovisto_3D_anaglyph_rc.jpg
-%%DOCSDIR%%/images/kmovisto_3D_anaglyph_rg.jpg
-%%DOCSDIR%%/images/kmovisto_3D_stereo.jpg
-%%DOCSDIR%%/images/kmovisto_editmode.jpg
-%%DOCSDIR%%/images/kmovisto_flatmode.jpg
-%%DOCSDIR%%/images/kmpi_class_hierarchy.jpg
-%%DOCSDIR%%/images/kmpi_directories.jpg
-%%DOCSDIR%%/images/kmpi_menu_toolbar.jpg
-%%DOCSDIR%%/images/kmpi_plugin_icon.jpg
-%%DOCSDIR%%/images/kmpi_pluginmanager1.jpg
-%%DOCSDIR%%/images/kmpi_pluginmanager2.jpg
-%%DOCSDIR%%/images/kmpi_pluginmanager3.jpg
-%%DOCSDIR%%/images/povray_sample.jpg
-%%DOCSDIR%%/images/toolbar.jpg
-%%DOCSDIR%%/images/toolbar_anaglyph.jpg
-%%DOCSDIR%%/images/toolbar_editmode.jpg
-%%DOCSDIR%%/index-1.html
-%%DOCSDIR%%/index-2.html
-%%DOCSDIR%%/index-3.html
-%%DOCSDIR%%/index-4.html
-%%DOCSDIR%%/index-5.html
-%%DOCSDIR%%/index-6.html
-%%DOCSDIR%%/index-7.html
-%%DOCSDIR%%/index-8.html
-%%DOCSDIR%%/index.html
-%%DOCSDIR%%/kmpi_index-1.html
-%%DOCSDIR%%/kmpi_index-2.html
-%%DOCSDIR%%/kmpi_index-3.html
-%%DOCSDIR%%/kmpi_index-4.html
-%%DOCSDIR%%/kmpi_index.html
-@dirrm %%DOCSDIR%%/images
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/images/dialog_appearance.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/dialog_atoms.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/dialog_bonds.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/dialog_directories.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/dialog_pluginmanager.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/dialog_povray_tab1.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/dialog_povray_tab2.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/dialog_povray_tab3.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/dialog_povray_tab4.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/dialog_title.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/dialog_vrml_tab1.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/dialog_vrml_tab2.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/dialog_vrml_tab3.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/kmovisto.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/kmovisto_3D_anaglyph_rb.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/kmovisto_3D_anaglyph_rc.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/kmovisto_3D_anaglyph_rg.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/kmovisto_3D_stereo.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/kmovisto_editmode.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/kmovisto_flatmode.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/kmpi_class_hierarchy.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/kmpi_directories.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/kmpi_menu_toolbar.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/kmpi_plugin_icon.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/kmpi_pluginmanager1.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/kmpi_pluginmanager2.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/kmpi_pluginmanager3.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/povray_sample.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/toolbar.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/toolbar_anaglyph.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/toolbar_editmode.jpg
+%%PORTDOCS%%%%DOCSDIR%%/index-1.html
+%%PORTDOCS%%%%DOCSDIR%%/index-2.html
+%%PORTDOCS%%%%DOCSDIR%%/index-3.html
+%%PORTDOCS%%%%DOCSDIR%%/index-4.html
+%%PORTDOCS%%%%DOCSDIR%%/index-5.html
+%%PORTDOCS%%%%DOCSDIR%%/index-6.html
+%%PORTDOCS%%%%DOCSDIR%%/index-7.html
+%%PORTDOCS%%%%DOCSDIR%%/index-8.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/kmpi_index-1.html
+%%PORTDOCS%%%%DOCSDIR%%/kmpi_index-2.html
+%%PORTDOCS%%%%DOCSDIR%%/kmpi_index-3.html
+%%PORTDOCS%%%%DOCSDIR%%/kmpi_index-4.html
+%%PORTDOCS%%%%DOCSDIR%%/kmpi_index.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
+%%PORTDOCS%%@dirrm %%DOCSDIR%%