aboutsummaryrefslogtreecommitdiff
path: root/science/xdrawchem/Makefile
blob: da71e432c973b651b361238d439ff60d35ba88bf (plain) (blame)
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
# $FreeBSD$

PORTNAME=	xdrawchem
DISTVERSION=	1.11.0-2
CATEGORIES=	science

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Two-dimensional molecule drawing program

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

LIB_DEPENDS=	libopenbabel.so:science/openbabel

USES=		compiler:c++11-lang gl 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_COMMIT=	a3f74c34eb09fa72ee16848ec6901049ca5309d5

pre-configure:
	${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|'	\
		${WRKSRC}/xdrawchem.pro

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>