46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.9 2010/11/15 23:22:07 espie Exp $
|
|
# $FreeBSD: ports/editors/texmaker/Makefile,v 1.2 2004/01/09 09:16:33 krion Exp $
|
|
|
|
COMMENT= LaTeX development environment
|
|
DISTNAME= texmaker-2.0
|
|
CATEGORIES= editors
|
|
|
|
HOMEPAGE= http://www.xm1math.net/texmaker/
|
|
|
|
MAINTAINER= Alexandr Shadchin <alexandr.shadchin@gmail.com>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
WANTLIB += QtDBus QtGui QtNetwork QtWebKit QtXml QtXmlPatterns c hunspell-1.2
|
|
WANTLIB += m phonon poppler poppler-qt4 pthread sqlite3 stdc++
|
|
|
|
MODULES= x11/qt4
|
|
|
|
RUN_DEPENDS= print/texlive/base \
|
|
devel/desktop-file-utils
|
|
|
|
LIB_DEPENDS= textproc/hunspell \
|
|
print/poppler,-qt4
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
FAKE_FLAGS= INSTALL_ROOT=${WRKINST}
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC} && \
|
|
qmake4 -unix \
|
|
-spec ${MODQT_LIBDIR}/mkspecs/openbsd-g++ \
|
|
PREFIX=${LOCALBASE} \
|
|
DESKTOPDIR=${LOCALBASE}/share/applications \
|
|
ICONDIR=${LOCALBASE}/share/pixmaps \
|
|
texmaker.pro
|
|
|
|
.include <bsd.port.mk>
|