1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/math/liborigin/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

33 lines
691 B
Makefile

# $FreeBSD$
PORTNAME= liborigin
PORTVERSION= 3.0.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= math
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/3.0
MAINTAINER= makc@FreeBSD.org
COMMENT= Library and utility for reading OriginLab project files
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING # GPLv3
USES= compiler:c++11-lang cmake pathfix
CMAKE_ARGS= -DLIB_SUFFIX=""
USE_LDCONFIG= yes
PORTDOCS= *
OPTIONS_DEFINE= DOXYGEN DOCS
DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON
post-patch:
${REINPLACE_CMD} -e 's,lib$${LIB_SUFFIX}/pkgconfig,libdata/pkgconfig,' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>