30 lines
713 B
Makefile
30 lines
713 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= molsketch
|
|
DISTVERSION= 0.5.2
|
|
DISTVERSIONSUFFIX= -src
|
|
CATEGORIES= science
|
|
MASTER_SITES= SF/${PORTNAME}/Molsketch/Boron-11%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:outsource desktop-file-utils localbase:ldflags pkgconfig qt:5 shared-mime-info
|
|
USE_QT= core gui network printsupport svg widgets buildtools_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>
|