diff options
author | makc <makc@FreeBSD.org> | 2012-12-11 22:19:54 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2012-12-11 22:19:54 +0800 |
commit | a4a38bf2108c44e073b6fd32aa8df858a3854923 (patch) | |
tree | d306c6bfb1e6cd85fc7edf327b8c71a6cf72e6ae /biology | |
parent | 0cef51d87940d3c7fe90dc12ebad633838e324f2 (diff) | |
download | freebsd-ports-graphics-a4a38bf2108c44e073b6fd32aa8df858a3854923.tar.gz freebsd-ports-graphics-a4a38bf2108c44e073b6fd32aa8df858a3854923.tar.zst freebsd-ports-graphics-a4a38bf2108c44e073b6fd32aa8df858a3854923.zip |
science/openbabel:
- Update openbabel to 2.3.2
- Switch to CMake build system
- Add PYTHON and CAIRO options
- Don't rename babel binary, mark conflict with ancient biology/babel
science/py-openbabel:
- Merge py-openbabel to openbabel
other:
- chase openbabel update
Diffstat (limited to 'biology')
-rw-r--r-- | biology/xdrawchem/Makefile | 4 | ||||
-rw-r--r-- | biology/xdrawchem/files/patch-xdrawchem__application_ob.cpp | 11 |
2 files changed, 13 insertions, 2 deletions
diff --git a/biology/xdrawchem/Makefile b/biology/xdrawchem/Makefile index 08b2c216aa3..9e71f8e1c88 100644 --- a/biology/xdrawchem/Makefile +++ b/biology/xdrawchem/Makefile @@ -7,14 +7,14 @@ PORTNAME= xdrawchem PORTVERSION= 1.9.9 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= biology MASTER_SITES= SF MAINTAINER= hemi@puresimplicity.net COMMENT= Chemical drawing program -LIB_DEPENDS= openbabel.3:${PORTSDIR}/science/openbabel +LIB_DEPENDS= openbabel:${PORTSDIR}/science/openbabel GNU_CONFIGURE= yes USE_GMAKE= yes diff --git a/biology/xdrawchem/files/patch-xdrawchem__application_ob.cpp b/biology/xdrawchem/files/patch-xdrawchem__application_ob.cpp new file mode 100644 index 00000000000..493499d74c7 --- /dev/null +++ b/biology/xdrawchem/files/patch-xdrawchem__application_ob.cpp @@ -0,0 +1,11 @@ +--- ./xdrawchem/application_ob.cpp.orig 2005-11-30 03:47:14.000000000 +0000 ++++ ./xdrawchem/application_ob.cpp 2012-10-30 14:37:35.092762310 +0000 +@@ -87,7 +87,7 @@ + OBFormat *inFormat = NULL; + + if (infilter.left(2) == "--") { +- inFormat = Conv.FormatFromExt(infile); ++ inFormat = Conv.FormatFromExt(infile.ascii()); + if (inFormat == NULL) { + QMessageBox::warning( 0, tr("Could not determine file type"), + tr("Please select a file type from the list.") ); |