403Webshell
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/ghemical/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/science/ghemical/Makefile
PORTNAME=	ghemical
PORTVERSION=	3.0.0
PORTREVISION=	23
CATEGORIES=	science
MASTER_SITES=	http://bioinformatics.org/ghemical/download/%SUBDIR%/
MASTER_SITE_SUBDIR=	release20111012 current

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Computational chemistry software package
WWW=		https://www.bioinformatics.org/ghemical/ghemical/index.html

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libblas.so:math/blas \
		libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2 \
		libghemical.so:science/libghemical \
		libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
		libint.so:science/libint \
		liblapack.so:math/lapack \
		liboglappth.so:science/liboglappth \
		libmopac7.so:science/mopac \
		libmpqc.so:science/mpqc
RUN_DEPENDS=	xdg-open:devel/xdg-utils

USES=		compiler:c++11-lang fortran gettext gl gmake gnome pathfix \
		pkgconfig xorg
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-gtk --enable-threads --disable-openbabel # not compatible with OpenBabel-3 so it is disabled
USE_GNOME=	cairo gdkpixbuf2 gtk20 libglade2 intltool pangox-compat
USE_GL=		gl glu
USE_XORG=	x11

CPPFLAGS+=	-I${LOCALBASE}/include
CXXFLAGS+=	-Wno-c++11-narrowing # prevent build errors: non-constant-expression cannot be narrowed from type 'double' to 'fGL' (aka 'float')

PLIST_SUB=	GHEMICAL_VERSION="${PORTVERSION}"

post-patch:
	@${REINPLACE_CMD} -e \
		's|"mozilla "|"xdg-open "|' ${WRKSRC}/src/gtk_app.cpp
	@${REINPLACE_CMD} -e 's|openbabel-2.0|openbabel-3|' ${WRKSRC}/configure # attempt at OpenBabel-3 compatibility

.include <bsd.port.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit