# $NetBSD: Makefile,v 1.10 2005/06/17 03:50:44 jlam Exp $ # DISTNAME= qscintilla-1.62-gpl-1.5 PKGNAME= qt3-qscintilla-1.5 CATEGORIES= x11 MASTER_SITES= http://www.river-bank.demon.co.uk/download/QScintilla/ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://www.riverbankcomputing.co.uk/qscintilla/ COMMENT= C++ editor class WRKSRC= ${WRKDIR}/${DISTNAME}/qt # needs qmake BUILD_DEPENDS+= qt3-tools-3.*:../../x11/qt3-tools USE_TOOLS+= gmake USE_LIBTOOL= yes MAKE_ENV+= QTPREFIX=${QTDIR} do-configure: (cd ${WRKSRC} && ${QTDIR}/bin/qmake -o Makefile qscintilla.pro) do-install: ${INSTALL_LIB_DIR} ${QTDIR}/lib (cd ${WRKSRC} && ${LIBTOOL} --mode=install \ ${INSTALL_DATA} libqscintilla.la ${QTDIR}/lib) ${INSTALL_DATA_DIR} ${QTDIR}/include (cd ${WRKSRC} && ${CP} qextscintilla*.h ${QTDIR}/include) .include "../../x11/qt3-libs/buildlink3.mk" .include "../../mk/bsd.pkg.mk"