pkgsrc/biology/molsketch/Makefile
2021-04-21 11:40:12 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2021/04/21 11:41:03 adam Exp $
DISTNAME= Molsketch-0.7.2-src
PKGNAME= ${DISTNAME:S/-src//:tl}
PKGREVISION= 1
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"