pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/qt3-qscintilla user-destdir support
details: https://anonhg.NetBSD.org/pkgsrc/rev/945b60c1540a
branches: trunk
changeset: 395206:945b60c1540a
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jul 07 18:19:30 2009 +0000
description:
user-destdir support
diffstat:
x11/qt3-qscintilla/Makefile | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diffs (39 lines):
diff -r f020e0a7eff0 -r 945b60c1540a x11/qt3-qscintilla/Makefile
--- a/x11/qt3-qscintilla/Makefile Tue Jul 07 18:18:12 2009 +0000
+++ b/x11/qt3-qscintilla/Makefile Tue Jul 07 18:19:30 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2007/02/22 19:30:06 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2009/07/07 18:19:30 joerg Exp $
#
DISTNAME= qscintilla-1.65-gpl-1.6
@@ -11,6 +11,8 @@
HOMEPAGE= http://www.riverbankcomputing.co.uk/qscintilla/
COMMENT= Scintilla C++ editor class for Qt
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${DISTNAME}/qt
# needs qmake
@@ -22,15 +24,15 @@
MAKE_ENV+= QTPREFIX=${QTDIR:Q}
+INSTALLATION_DIRS= ${QTDIR}/lib ${QTDIR}/include
+
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)
+ ${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"
Home |
Main Index |
Thread Index |
Old Index