mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
4782cbe4e9
Changelogs since 2.3.0 release: https://github.com/libharu/libharu/releases/tag/v2.4.0 https://github.com/libharu/libharu/releases/tag/v2.4.1 https://github.com/libharu/libharu/releases/tag/v2.4.2 https://github.com/libharu/libharu/releases/tag/v2.4.3
33 lines
592 B
Makefile
33 lines
592 B
Makefile
PORTNAME= libharu
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.4.3
|
|
CATEGORIES= print
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= fluffy@FreeBSD.org
|
|
COMMENT= Haru Free PDF Library
|
|
WWW= http://libharu.org/
|
|
|
|
LICENSE= ZLIB
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png
|
|
|
|
USES= cmake
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
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>
|