1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/science/molsketch/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

31 lines
703 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 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>