blob: d475c24da1fe6deaa61e7e279835caa91d4d2714 (
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
38
39
40
41
|
# $NetBSD: Makefile,v 1.22 2018/04/17 05:28:01 wiz Exp $
DISTNAME= texstudio-2.12.6
PKGREVISION= 5
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=texstudio/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://texstudio.sourceforge.net/
COMMENT= Integrated writing environment for creating LaTeX documents
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/${DISTNAME:S/-//}
USE_TOOLS+= pkg-config
USE_LANGUAGES= c++ c
USE_LIBTOOL= yes
INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
_CRASH_HANDLER=NO_CRASH_HANDLER=yes
.else
_CRASH_HANDLER=
.endif
do-configure:
cd ${WRKSRC} && env ${CONFIGURE_ENV} \
${QTDIR}/bin/qmake PREFIX=${PREFIX} texstudio.pro DESKTOPDIR=${PREFIX}/share/applications NO_APPDATA=yes ${_CRASH_HANDLER}
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtscript/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../x11/qt5-qttools/buildlink3.mk"
.include "../../print/poppler-qt5/buildlink3.mk"
.include "../../print/poppler-includes/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|