blob: 621bfd0c61ed4af042039fa67dc228cf92faf4ea (
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
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.5 2021/12/08 16:03:23 adam Exp $
DISTNAME= Molsketch-0.7.2-src
PKGNAME= ${DISTNAME:S/-src//:tl}
PKGREVISION= 2
CATEGORIES= biology
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=molsketch/}
MAINTAINER= pin@NetBSD.org
HOMEPAGE= http://molsketch.sourceforge.net/
COMMENT= Program for drawing molecular structures
LICENSE= gnu-gpl-v2
USE_TOOLS= pkg-config
USE_CMAKE= yes
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
USE_LANGUAGES= c c++
CMAKE_ARGS+= -DMSK_PREFIX=${PREFIX:Q}
CMAKE_ARGS+= -DMSK_INSTALL_PREFIX=${PREFIX:Q}
CMAKE_ARGS+= -DMSK_INSTALL_DOCS=/share/doc/molsketch
CMAKE_ARGS+= -DMSK_INSTALL_LIBS64=/lib
CMAKE_ARGS+= -DMSK_INSTALL_LIBS=/lib
CMAKE_ARGS+= -DMSK_INSTALL_INCLUDES=/include
post-install:
${RM} -rf ${DESTDIR}${PREFIX}/include/libmolsketch/molsketch_LIB_autogen
${RM} -rf ${DESTDIR}${PREFIX}/include/libmolsketch/CMakeFiles
TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
.include "../../biology/openbabel/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|