summaryrefslogtreecommitdiff
path: root/graphics/ipe/Makefile
blob: d9845f4450f656bb2a5200a69c896a705c641300 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $NetBSD: Makefile,v 1.12 2020/11/05 09:08:23 ryoon Exp $

DISTNAME=	ipe-7.2.7-src
PKGNAME=	${DISTNAME:S/-src//}
PKGREVISION=	10
CATEGORIES=	graphics
MASTER_SITES=	https://dl.bintray.com/otfried/generic/ipe/7.2/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://ipe.otfried.org/
COMMENT=	Drawing editor for creating figures in PDF or (e)PS
LICENSE=	gnu-gpl-v3

WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}/src
USE_LANGUAGES=	c++
USE_TOOLS+=	gmake pkg-config
MAKE_ENV+=	QT_SELECT=5
MAKE_ENV+=	IPEPREFIX=${DESTDIR}${PREFIX}
MAKE_ENV+=	LUA_PACKAGE=lua-5.3
MAKE_ENV+=	DL_LIBS=${DL_LIBS}
MAKE_ENV+=	MOC=${QTDIR}/bin/moc
MAKE_ENV+=	IPEMANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

CHECK_INTERPRETER_SKIP=	share/ipe/${PKGVERSION_NOREV}/scripts/*.lua

LUA_VERSIONS_ACCEPTED=	53

.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/lua/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qttools/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"