diff options
Diffstat (limited to 'science/xdrawchem')
| -rw-r--r-- | science/xdrawchem/Makefile | 10 | ||||
| -rw-r--r-- | science/xdrawchem/distinfo | 6 | ||||
| -rw-r--r-- | science/xdrawchem/files/patch-xdrawchem.pro | 35 |
3 files changed, 10 insertions, 41 deletions
diff --git a/science/xdrawchem/Makefile b/science/xdrawchem/Makefile index 0d25d06e5bdd..1107c82018c2 100644 --- a/science/xdrawchem/Makefile +++ b/science/xdrawchem/Makefile @@ -1,25 +1,25 @@ PORTNAME= xdrawchem -DISTVERSION= 1.11.0-2 -PORTREVISION= 2 +DISTVERSION= 1.11.1-2 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Two-dimensional molecule drawing program -WWW= https://www.woodsidelabs.com/chemistry/xdrawchem.php +WWW= https://sourceforge.net/projects/xdrawchem/ \ + https://github.com/bryanherger/xdrawchem LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libopenbabel.so:science/openbabel -USES= compiler:c++11-lang gl qmake qt:5 +USES= compiler:c++11-lang gl pkgconfig qmake qt:5 USE_QT= core gui network printsupport svg widgets xml buildtools:build USE_GL= gl USE_GITLAB= yes GL_SITE= https://salsa.debian.org GL_ACCOUNT= georgesk -GL_TAGNAME= a3f74c34eb09fa72ee16848ec6901049ca5309d5 +GL_TAGNAME= 48f2e4817be451550a2cd80263344642a8611b15 pre-configure: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ diff --git a/science/xdrawchem/distinfo b/science/xdrawchem/distinfo index c7880162be1b..c421a4325d93 100644 --- a/science/xdrawchem/distinfo +++ b/science/xdrawchem/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1617891979 -SHA256 (georgesk-xdrawchem-a3f74c34eb09fa72ee16848ec6901049ca5309d5_GL0.tar.gz) = f1b843ebeca09e8f242e927740a6668c2ceaaf4ff47816bd7a7510f33723ebab -SIZE (georgesk-xdrawchem-a3f74c34eb09fa72ee16848ec6901049ca5309d5_GL0.tar.gz) = 720241 +TIMESTAMP = 1762920603 +SHA256 (georgesk-xdrawchem-48f2e4817be451550a2cd80263344642a8611b15_GL0.tar.gz) = ffb94399cebdcdcb9d2011476d4094ec34ee95fe684d8a000b80da4c686f97be +SIZE (georgesk-xdrawchem-48f2e4817be451550a2cd80263344642a8611b15_GL0.tar.gz) = 719899 diff --git a/science/xdrawchem/files/patch-xdrawchem.pro b/science/xdrawchem/files/patch-xdrawchem.pro index f5121eaf6e9b..829d8ac9920c 100644 --- a/science/xdrawchem/files/patch-xdrawchem.pro +++ b/science/xdrawchem/files/patch-xdrawchem.pro @@ -1,38 +1,7 @@ ---- xdrawchem.pro.orig 2021-01-06 18:45:48 UTC +--- xdrawchem.pro.orig 2024-11-15 16:56:22 UTC +++ xdrawchem.pro -@@ -2,17 +2,17 @@ TEMPLATE = app - TARGET = xdrawchem +@@ -3,7 +3,7 @@ isEmpty(PREFIX) { - # edit to match your OB install --exists(/usr/include/openbabel3/openbabel/mol.h) { --INCLUDEPATH += /usr/include/openbabel3 -+exists(%%LOCALBASE%%/include/openbabel3/openbabel/mol.h) { -+INCLUDEPATH += %%LOCALBASE%%/include/openbabel3 - LIBS += -lopenbabel - } --exists(/usr/local/include/openbabel-3.0/openbabel/mol.h) { --INCLUDEPATH += /usr/local/include/openbabel-3.0 -+exists(%%LOCALBASE%%/include/openbabel3/openbabel/mol.h) { -+INCLUDEPATH += %%LOCALBASE%%/include/openbabel3 - LIBS += -lopenbabel - } --exists(/Developer/openbabel-3.0/include/openbabel/mol.h) { --INCLUDEPATH += /Developer/openbabel-3.0/include --LIBS += -L/Developer/openbabel-3.0/lib/Debug -lopenbabel -+exists(%%LOCALBASE%%/openbabel3/include/openbabel/mol.h) { -+INCLUDEPATH += /Developer/openbabel3/include -+LIBS += -L/Developer/openbabel3/lib/Debug -lopenbabel - } - # exit if openbabel wasn't found - contains( LIBS, -lopenbabel ) { -@@ -20,12 +20,12 @@ contains( LIBS, -lopenbabel ) { - error(OpenBabel was not found. Edit xdrawchem.pro and add valid include and lib values) - # if you get this error, comment the above with #, uncomment the variables below, and set - # the paths to match your OpenBabel install --#INCLUDEPATH += /usr/local/include/openbabel-3.0 -+#INCLUDEPATH += %%LOCALBASE%%/include/openbabel-3.0 - #LIBS += -lopenbabel - } # set PREFIX if not set (it is set when building RPM) isEmpty(PREFIX) { -PREFIX = /usr/local |
