1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/print/libharu/Makefile
Tijl Coosemans cdb8256f1b Fix problems with missing libs when the linker enforces explicit linking
(ports that are dependencies of other ports)

net-p2p/transmission-cli: add USES=libtool and remove PTHREAD_LIBS
sysutils/deltup: simplify patch by using MAKE_ARGS
x11-fm/rox-filer: convert to USES=shared-mime-info
x11-wm/emerald: remove PTHREAD_LIBS

PR:		192062
2014-08-12 15:29:37 +00:00

39 lines
727 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= libharu
PORTVERSION= 2.3.0
CATEGORIES= print
MAINTAINER= jlaffaye@FreeBSD.org
COMMENT= Haru Free PDF Library
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
OPTIONS_DEFINE= EXAMPLES
USE_LDCONFIG= yes
USES+= cmake:outsource
CMAKE_ARGS+= -DDEVPAK:BOOL=ON
USE_GITHUB= yes
GH_ACCOUNT= libharu
GH_TAGNAME= RELEASE_2_3_0
GH_COMMIT= 4ae1d5f
SOVERSION= 2
PLIST_SUB+= SOVERSION=${SOVERSION}
PORTEXAMPLES= *
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
CMAKE_ARGS+= -DLIBHPDF_EXAMPLES:BOOL=ON \
-DEXAMPLESDIR:STRING=share/examples/${PORTNAME}
.endif
post-install:
${LN} -s libhpdf.so ${STAGEDIR}${PREFIX}/lib/libhpdf.so.${SOVERSION}
.include <bsd.port.mk>