summaryrefslogtreecommitdiff
path: root/science/avogadro2/Makefile
blob: 9d28f340c2805cc20ea78682fd15c836030b672f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

PORTNAME=	avogadro2
DISTVERSION=	1.93.0
CATEGORIES=	science

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Chemical editor and visualization application

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	hdf5>0:science/hdf5
LIB_DEPENDS=	libAvogadroCore.so:science/avogadrolibs \
		libMoleQueueClient.so:misc/molequeue

USES=		cmake compiler:c++11-lang desktop-file-utils gl libarchive qt:5
USE_GITHUB=	yes
GH_ACCOUNT=	OpenChemistry
GH_PROJECT=	avogadroapp
USE_QT=		core concurrent gui network widgets buildtools_build qmake_build
USE_GL=		gl glew glu
USE_LDCONFIG=	yes

PLIST_FILES=	bin/avogadro2 \
		share/applications/avogadro2.desktop \
		share/pixmaps/avogadro2.png

post-install:
	@${RM} -r ${STAGEDIR}${PREFIX}/share/doc

.include <bsd.port.mk>