blob: 59a96a0adb296be123213b521a7ca08449cafdcb (
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= molsketch
DISTVERSION= 0.7.1
DISTVERSIONSUFFIX= -src
CATEGORIES= science
MASTER_SITES= SF/${PORTNAME}/Molsketch/Oxygen-16%20${DISTVERSION}/
DISTNAME= Molsketch-${DISTVERSIONFULL}
MAINTAINER= yuri@FreeBSD.org
COMMENT= 2D molecule editor
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libopenbabel.so:science/openbabel
USES= cmake:noninja compiler:c++11-lang desktop-file-utils localbase:ldflags \
pkgconfig qt:5 shared-mime-info # build fails with ninja, see https://sourceforge.net/p/molsketch/bugs/41/
USE_QT= core gui network printsupport svg widgets buildtools_build linguisttools_build qmake_build
USE_LDCONFIG= ${PREFIX}/lib/molsketch
CMAKE_ARGS= -DMSK_PREFIX:STRING=${PREFIX}
WRKSRC= ${WRKDIR}/Molsketch-${DISTVERSION}
OPTIONS_DEFINE= DOCS
PORTDOCS= *
.include <bsd.port.mk>
|