[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / qt3-qscintilla

File: [cvs.NetBSD.org] / pkgsrc / x11 / qt3-qscintilla / Attic / Makefile (download)

Revision 1.27, Mon Oct 29 05:06:46 2012 UTC (6 years, 6 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.26: +1 -3 lines

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.27 2012/10/29 05:06:46 asau Exp $
#

DISTNAME=		qscintilla-1.65-gpl-1.6
PKGNAME=		qt3-qscintilla-1.6
PKGREVISION=		8
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"