pkgsrc/x11/qt4-qscintilla/Makefile
drochner 5381a558f4 update to 2.5.1
change: adds the QsciLexerMatlab and QsciLexerOctave classe
2011-05-13 16:37:55 +00:00

37 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2011/05/13 16:37:55 drochner Exp $
#
DISTNAME= QScintilla-gpl-2.5.1
PKGNAME= qt4-${DISTNAME:tl:S/-gpl-/-/}
CATEGORIES= x11
MASTER_SITES= http://www.riverbankcomputing.com/static/Downloads/QScintilla2/
MAINTAINER= helgoman@users.sourceforge.net
HOMEPAGE= http://www.riverbankcomputing.co.uk/software/qscintilla/intro
COMMENT= Scintilla C++ editor class for Qt
LICENSE= gnu-gpl-v3
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${DISTNAME}/Qt4
USE_TOOLS+= gmake
USE_LIBTOOL= yes
USE_LANGUAGES= c++
MAKE_ENV+= QTPREFIX=${QTDIR}
INSTALLATION_DIRS= ${QTDIR}/lib ${QTDIR}/include
do-configure:
(cd ${WRKSRC} && ${QTDIR}/bin/qmake -o Makefile qscintilla.pro)
do-install:
(mkdir ${DESTDIR}${QTDIR}/include/Qsci)
${LIBTOOL} --mode=install ${INSTALL_DATA} \
${WRKSRC}/libqscintilla2.la ${DESTDIR}${QTDIR}/lib
${INSTALL_DATA} ${WRKSRC}/Qsci/qsci*.h ${DESTDIR}${QTDIR}/include/Qsci
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"