1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/print/libharu/Makefile
2021-04-06 16:31:07 +02:00

31 lines
570 B
Makefile

# Created by: ijliao
PORTNAME= libharu
DISTVERSIONPREFIX= RELEASE_
DISTVERSION= 2_3_0
PORTREVISION= 1
CATEGORIES= print
MAINTAINER= ports@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>