PORTNAME=	wxmacmolplt
DISTVERSIONPREFIX=	v
DISTVERSION=	7.7-43
PORTREVISION=	5
DISTVERSIONSUFFIX=	-g9a46f7a
CATEGORIES=	science

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Graphical user interface principally for the GAMESS program
WWW=		https://brettbode.github.io/wxmacmolplt/

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		autoreconf compiler:c++11-lang gl gmake localbase:ldflags \
		pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	brettbode
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
CONFIGURE_ARGS=	--with-wx-config=${WX_CONFIG}
USE_WX=		3.0 # configure crashes with 3.1: checking for wxWidgets libraries... Segmentation fault (core dumped)
USE_GL=		gl glew glu

.include <bsd.port.mk>
