1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/science/coordgenlibs/Makefile
Yuri Victorovich 9495bf6086 science/coordgenlibs: Update 3.0.0 -> 3.0.1
Reported by:	portscout
2022-09-09 22:27:49 -07:00

36 lines
1.1 KiB
Makefile

PORTNAME= coordgenlibs
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.1
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
COMMENT= Schrodinger-developed 2D coordinate generation
WWW= https://github.com/schrodinger/coordgenlibs
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/include/boost/dynamic_bitset.hpp:devel/boost-libs
LIB_DEPENDS= libmaeparser.so:science/maeparser
USES= cmake:testing compiler:c++11-lang localbase:ldflags
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= schrodinger
DATADIR= ${LOCALBASE}/share/coordgen
CMAKE_ON= COORDGEN_USE_MAEPARSER
CMAKE_OFF= COORDGEN_BUILD_TESTS COORDGEN_BUILD_EXAMPLE
CMAKE_TESTING_ON= COORDGEN_BUILD_TESTS COORDGEN_BUILD_EXAMPLE
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}
.include <bsd.port.mk>