summaryrefslogtreecommitdiff
path: root/x11/qt3-qscintilla/Makefile
blob: eac5593128f5a1f142dd8216be0c63ff7b18be57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $NetBSD: Makefile,v 1.32 2013/06/06 12:53:52 wiz Exp $
#

DISTNAME=		qscintilla-1.65-gpl-1.6
PKGNAME=		qt3-qscintilla-1.6
PKGREVISION=		13
CATEGORIES=		x11
MASTER_SITES=		http://www.river-bank.demon.co.uk/download/QScintilla/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.riverbankcomputing.co.uk/qscintilla/
COMMENT=		Scintilla C++ editor class for Qt

WRKSRC=			${WRKDIR}/${DISTNAME}/qt

# needs qmake
BUILD_DEPENDS+=		qt3-tools-3.*:../../x11/qt3-tools

USE_TOOLS+=		gmake
USE_LIBTOOL=		yes
USE_LANGUAGES=		c++

MAKE_ENV+=	QTPREFIX=${QTDIR:Q}

INSTALLATION_DIRS=	${QTDIR}/lib ${QTDIR}/include

do-configure:
	(cd ${WRKSRC} && ${QTDIR}/bin/qmake -o Makefile qscintilla.pro)

do-install:
	${LIBTOOL} --mode=install ${INSTALL_DATA} \
	    ${WRKSRC}/libqscintilla.la ${DESTDIR}${QTDIR}/lib
	${INSTALL_DATA} ${WRKSRC}/qextscintilla*.h ${DESTDIR}${QTDIR}/include

.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"