43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.107 2019/09/18 14:17:09 ryoon Exp $
|
|
|
|
DISTNAME= texmaker-5.0.3
|
|
PKGREVISION= 2
|
|
CATEGORIES= editors
|
|
MASTER_SITES= http://www.xm1math.net/texmaker/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
EXTRACT_USING= bsdtar
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.xm1math.net/texmaker/
|
|
COMMENT= LaTeX editor and front end
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_TOOLS+= pkg-config
|
|
USE_LANGUAGES= c++ c
|
|
USE_LIBTOOL= yes
|
|
|
|
INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR}
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && env ${CONFIGURE_ENV} \
|
|
${QTDIR}/bin/qmake PREFIX=${PREFIX} texmaker.pro \
|
|
DESKTOPDIR=${PREFIX}/share/applications \
|
|
ICONDIR=${PREFIX}/share/pixmaps \
|
|
METAINFODIR=${PREFIX}/share/appdata
|
|
|
|
pre-configure:
|
|
${CP} ${FILESDIR}/fxge_pkgsrcfonts.inc ${WRKSRC}/pdfium/core/fxge
|
|
${CP} ${FILESDIR}/fxge_x11fonts.inc ${WRKSRC}/pdfium/core/fxge
|
|
${CP} ${FILESDIR}/fgas_stdfontmgr_pkgsrcfonts.inc \
|
|
${WRKSRC}/pdfium/xfa/fgas/font
|
|
${CP} ${FILESDIR}/fgas_stdfontmgr_x11fonts.inc \
|
|
${WRKSRC}/pdfium/xfa/fgas/font
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../textproc/hunspell/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|