summaryrefslogtreecommitdiff
path: root/science/xdrawchem/Makefile
blob: 5ac9805af667eefe05eff51d286ad3f5134f31c4 (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
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>