File:  [cvs.NetBSD.org] / pkgsrc / editors / texworks / Makefile
Revision 1.12: download - view: text, annotated - select for diffs
Sat Jan 26 21:37:30 2013 UTC (11 years, 10 months ago) by adam
Branches: MAIN
CVS tags: HEAD
Revbump after graphics/jpeg and textproc/icu

# $NetBSD: Makefile,v 1.12 2013/01/26 21:37:30 adam Exp $

DISTNAME=	texworks-0.4.4-r1004
PKGNAME=	texworks-0.4.4
PKGREVISION=	1
CATEGORIES=	editors
MASTER_SITES=	http://texworks.googlecode.com/files/

MAINTAINER=	markd@NetBSD.org
HOMEPAGE=	http://www.tug.org/texworks/
COMMENT=	Simple TeX front-end program
LICENSE=	gnu-gpl-v2

USE_LANGUAGES=	c c++
USE_TOOLS+=	pkg-config gmake
MAKE_ENV+=	INSTALL_ROOT=${DESTDIR}

DEPENDS+=	poppler-data>=0.4.5:../../print/poppler-data

WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}

SUBST_CLASSES+=man
SUBST_STAGE.man=post-configure
SUBST_FILES.man=Makefile
SUBST_SED.man=-e s!/share/man/man1!/man/man1!g

pre-configure:
	${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/

do-configure:
	cd ${WRKSRC}; env QTDIR=${QTDIR} qmake INSTALL_PREFIX=${PREFIX} TW_DICPATH=${BUILDLINK_PREFIX.hunspell}/share/hunspell

BUILDLINK_DEPMETHOD.qt4-tools=	full

.include "../../devel/zlib/buildlink3.mk"
.include "../../print/poppler-qt4/buildlink3.mk"
.include "../../textproc/hunspell/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../x11/qt4-qdbus/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>