freebsd-ports/print/libharu/Makefile
Dmitry Marakasov 2375b57452 - Switch to options helpers
- Don't install unused files, fixes stage-qa
- Remove CMAKE_ARGS, DEVPAK only works on win32

Approved by:	portmgr blanket
2015-09-23 18:12:57 +00:00

31 lines
607 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:${PORTSDIR}/graphics/png
OPTIONS_DEFINE= EXAMPLES
USE_LDCONFIG= yes
USES+= cmake:outsource
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>