2018-10-25 07:36:58 +00:00
|
|
|
PORTNAME= coordgenlibs
|
|
|
|
DISTVERSIONPREFIX= v
|
2021-06-11 09:56:03 +00:00
|
|
|
DISTVERSION= 2.0.3
|
2018-10-25 07:36:58 +00:00
|
|
|
CATEGORIES= science
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Schrodinger-developed 2D coordinate generation
|
|
|
|
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/dynamic_bitset.hpp:devel/boost-libs
|
|
|
|
LIB_DEPENDS= libmaeparser.so:science/maeparser
|
|
|
|
|
2021-06-11 09:56:03 +00:00
|
|
|
USES= cmake:testing compiler:c++11-lang localbase:ldflags
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2018-10-25 07:36:58 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= schrodinger
|
|
|
|
|
2020-05-10 19:36:07 +00:00
|
|
|
DATADIR= ${LOCALBASE}/share/coordgen
|
|
|
|
|
2021-06-11 09:56:03 +00:00
|
|
|
CMAKE_ON= COORDGEN_USE_MAEPARSER
|
|
|
|
CMAKE_OFF= COORDGEN_BUILD_TESTS COORDGEN_BUILD_EXAMPLE
|
|
|
|
CMAKE_TESTING_ON= COORDGEN_BUILD_TESTS COORDGEN_BUILD_EXAMPLE
|
2020-05-10 19:36:07 +00:00
|
|
|
|
|
|
|
post-patch: # see https://github.com/schrodinger/coordgenlibs/issues/64
|
|
|
|
@${REINPLACE_CMD} 's|return getTempFileProjDir() + suffix;|return "${DATADIR}/templates.mae";|' ${WRKSRC}/sketcherMinimizer.cpp
|
|
|
|
|
|
|
|
post-install: # see https://github.com/schrodinger/coordgenlibs/issues/64
|
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/templates.mae ${STAGEDIR}${DATADIR}
|
2020-01-03 05:23:02 +00:00
|
|
|
|
2018-10-25 07:36:58 +00:00
|
|
|
.include <bsd.port.mk>
|