freebsd-ports/print/libharu/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

32 lines
585 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= libharu
DISTVERSIONPREFIX= RELEASE_
DISTVERSION= 2_3_0
PORTREVISION= 1
CATEGORIES= print
MAINTAINER= jlaffaye@FreeBSD.org
COMMENT= Haru Free PDF Library
LIB_DEPENDS= libpng.so:graphics/png
OPTIONS_DEFINE= EXAMPLES
USE_LDCONFIG= yes
USES+= cmake
USE_GITHUB= yes
SOVERSION= 2
PLIST_SUB+= SOVERSION=${SOVERSION}
PORTEXAMPLES= *
EXAMPLES_CMAKE_ON= -DLIBHPDF_EXAMPLES:BOOL=ON \
-DEXAMPLESDIR:STRING=share/examples/${PORTNAME}
post-install:
${LN} -s libhpdf.so ${STAGEDIR}${PREFIX}/lib/libhpdf.so.${SOVERSION}
.include <bsd.port.mk>