summaryrefslogtreecommitdiff
path: root/x11/qt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/qt/Makefile')
-rw-r--r--x11/qt/Makefile30
1 files changed, 17 insertions, 13 deletions
diff --git a/x11/qt/Makefile b/x11/qt/Makefile
index a1a46eded9b..7de04759c87 100644
--- a/x11/qt/Makefile
+++ b/x11/qt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2000/04/05 15:22:42 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.32 2000/04/14 21:11:59 dmcmahill Exp $
#
DISTNAME= qt-2.0.2
@@ -12,6 +12,8 @@ HOMEPAGE= http://www.troll.no/products/qt.html
DEPENDS+= Mesa-*:../../graphics/Mesa
DEPENDS+= png-*:../../graphics/png
+NOT_FOR_PLATFORM= *-*-alpha # builds, but programs linked to qt crash
+
HAS_CONFIGURE= yes
USE_X11BASE= yes
USE_GMAKE= yes
@@ -34,27 +36,29 @@ DEPENDS+= egcs-1.1.2:../../lang/egcs
CXX= ${LOCALBASE}/egcs/bin/g++
.endif
-QTPREFIX= ${PREFIX}
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/moc ${QTPREFIX}/bin
- @${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/src/libqt.la ${QTPREFIX}/lib
- ${INSTALL_DATA_DIR} ${QTPREFIX}/include/qt
- ${INSTALL_DATA} ${WRKSRC}/include/* ${QTPREFIX}/include/qt
- ${INSTALL_MAN} ${WRKSRC}/man/man1/* ${QTPREFIX}/man/man1
+ ${INSTALL_PROGRAM_DIR} ${X11BASE}/bin/qt2
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/moc ${X11BASE}/bin/qt2
+ ${INSTALL_DATA_DIR} ${X11BASE}/lib/qt2
+ @${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/src/libqt.la ${X11BASE}/lib/qt2
+ ${INSTALL_DATA_DIR} ${X11BASE}/include/qt2
+ ${INSTALL_DATA} ${WRKSRC}/include/* ${X11BASE}/include/qt2
+ ${INSTALL_MAN_DIR} ${X11BASE}/man/qt2/man1
+ ${INSTALL_MAN_DIR} ${X11BASE}/man/qt2/man3
+ ${INSTALL_MAN} ${WRKSRC}/man/man1/* ${X11BASE}/man/qt2/man1
@cd ${WRKSRC}/man/man3; PAGES="`ls -1 | ${SED} -e 's,3qt$$,3,'`"; \
(for PAGE in $$PAGES; do \
- ${ECHO} installing ${QTPREFIX}/man/man3/$${PAGE}; \
+ ${ECHO} installing ${X11BASE}/man/qt2/man3/$${PAGE}; \
set - X `head -1 $${PAGE}qt`; \
if [ $$# -eq 3 ] && [ "$$2" = .so ]; then \
${LN} -fs `basename $$3 | ${SED} s/qt$$//` \
- ${QTPREFIX}/man/man3/$${PAGE}; \
+ ${X11BASE}/man/qt2/man3/$${PAGE}; \
else \
- ${INSTALL_MAN} $${PAGE}qt ${QTPREFIX}/man/man3/$${PAGE}; \
+ ${INSTALL_MAN} $${PAGE}qt ${X11BASE}/man/qt2/man3/$${PAGE}; \
fi; \
done)
- ${INSTALL_DATA_DIR} ${QTPREFIX}/share/doc/qt
+ ${INSTALL_DATA_DIR} ${X11BASE}/share/doc/qt2
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README.QT \
- ${WRKSRC}/doc/* ${QTPREFIX}/share/doc/qt
+ ${WRKSRC}/doc/* ${X11BASE}/share/doc/qt2
.include "../../mk/bsd.pkg.mk"