aboutsummaryrefslogtreecommitdiffstats
path: root/science/xdrawchem/Makefile
blob: 9fd36693adb6f8a040e0fc810ce1a42c78f0305e (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
# $FreeBSD$

PORTNAME=   xdrawchem
DISTVERSION=    1.10.2-1
PORTREVISION=   1
CATEGORIES= science

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/doc/GPL.txt

LIB_DEPENDS=    libopenbabel.so:science/openbabel

USES=       compiler:c++11-lang gl qmake qt:5
USE_GITHUB= yes
GH_ACCOUNT= bryanherger
USE_QT=     core gui network printsupport widgets xml buildtools_build
USE_GL=     gl

WRKSRC_SUBDIR=  ${PORTNAME}-qt5

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

.include <bsd.port.mk>