science/openbabel: Take maintainership; Add the GUI option using wxWidgets-3.0
GUI is "on" by default because that's what CMakeLists.txt suggests as default. Also improve helpers use.
This commit is contained in:
parent
80b90892be
commit
b5e2bb3b11
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472233
@ -3,11 +3,12 @@
|
||||
|
||||
PORTNAME= openbabel
|
||||
PORTVERSION= 2.4.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Chemistry file translation program
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Chemical toolbox designed to speak the many languages of chemical data
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
@ -16,24 +17,27 @@ BROKEN_powerpc64= Does not build: relocation truncated to fit: R_PPC64_TOC16_DS
|
||||
|
||||
CONFLICTS_INSTALL= babel-*
|
||||
|
||||
USES= cmake:outsource eigen:3
|
||||
USE_CXXSTD= gnu++98
|
||||
USE_GNOME= libxml2
|
||||
USES= cmake:outsource eigen:3
|
||||
CMAKE_ARGS= -DBUILD_GUI=off
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
PLIST_SUB= VERSION="${PORTVERSION}"
|
||||
|
||||
OPTIONS_DEFINE= CAIRO PYTHON
|
||||
OPTIONS_DEFAULT= PYTHON
|
||||
OPTIONS_DEFINE= CAIRO PYTHON GUI
|
||||
OPTIONS_DEFAULT= PYTHON GUI
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
CAIRO_DESC= PNG support via cairo library
|
||||
CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo
|
||||
CAIRO_USES= pkgconfig
|
||||
CAIRO_USE= GNOME=cairo
|
||||
|
||||
PYTHON_USES= python
|
||||
PYTHON_CMAKE_ON= -DPYTHON_BINDINGS=on
|
||||
PYTHON_CMAKE_BOOL= PYTHON_BINDINGS
|
||||
|
||||
GUI_CMAKE_BOOL= BUILD_GUI
|
||||
GUI_CMAKE_ON= -DwxWidgets_CONFIG_EXECUTABLE:STRING=${WX_CONFIG}
|
||||
GUI_USE= WX=3.0
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e '/pkgconfig/s,$${LIB_INSTALL_DIR},libdata,' \
|
||||
|
@ -16,4 +16,4 @@ Features currently include:
|
||||
* Open-source/Free Software under the GNU General Public License
|
||||
* Cross platform (Windows, Linux, Mac OS X, SGI, Solaris, Dreamcast...)
|
||||
|
||||
WWW: http://openbabel.sourceforge.net/
|
||||
WWW: https://openbabel.org/wiki/Main_Page
|
||||
|
@ -7,6 +7,7 @@ bin/obenergy
|
||||
bin/obfit
|
||||
bin/obgen
|
||||
bin/obgrep
|
||||
%%GUI%%bin/obgui
|
||||
bin/obminimize
|
||||
bin/obprobe
|
||||
bin/obprop
|
||||
|
Loading…
Reference in New Issue
Block a user