| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/science/xdrawchem/files/ |
Upload File : |
--- xdrawchem.pro.orig 2021-01-06 18:45:48 UTC
+++ xdrawchem.pro
@@ -2,17 +2,17 @@ TEMPLATE = app
TARGET = xdrawchem
# 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
+PREFIX = %%LOCALBASE%%
}
DESTDIR = bin