[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / editors / texstudio

File: [cvs.NetBSD.org] / pkgsrc / editors / texstudio / Makefile (download)

Revision 1.15, Fri Dec 8 08:52:57 2017 UTC (10 months, 1 week ago) by maya
Branch: MAIN
Changes since 1.14: +2 -2 lines

bump for print/poppler major bump

note: script detailed in `man revbump` insisted on bumping pkgrevision of
print/poppler, it's probably wrong, but not committing this change is wronger.

# $NetBSD: Makefile,v 1.15 2017/12/08 08:52:57 maya Exp $

DISTNAME=	texstudio-2.12.4
PKGREVISION=	4
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/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../print/poppler-qt4/buildlink3.mk"
.include "../../print/poppler-includes/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"