diff options
author | asami <asami@FreeBSD.org> | 1999-01-07 18:58:33 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1999-01-07 18:58:33 +0800 |
commit | 92162c38924533e2b28186be3b5eb127ebbf491a (patch) | |
tree | 49a243d5d2ea9573ef3834b4253a6ac9c3a40ff8 /x11-toolkits/qt23/Makefile | |
parent | 41b0a39e6ff43103994a6a51a9b3248f009f7a09 (diff) | |
download | freebsd-ports-gnome-92162c38924533e2b28186be3b5eb127ebbf491a.tar.gz freebsd-ports-gnome-92162c38924533e2b28186be3b5eb127ebbf491a.tar.zst freebsd-ports-gnome-92162c38924533e2b28186be3b5eb127ebbf491a.zip |
Upgrade qt141 to qt142 after repository copy. qt141 will be deleted after
a short test period to make sure qt142 is an adequate replacement.
Note #1: I changed it to install libqt.so.2.0. qt141 or newer are
required for some software (most notably kde). We missed the
chance to change the shlib number in qt141 so I'm doing it now.
Note #2: After talking with Peter Wemm, I decided not to add extra
-rpath directives. The fix for kdesupport and other build
problems are forthcoming in ld.
Diffstat (limited to 'x11-toolkits/qt23/Makefile')
-rw-r--r-- | x11-toolkits/qt23/Makefile | 42 |
1 files changed, 19 insertions, 23 deletions
diff --git a/x11-toolkits/qt23/Makefile b/x11-toolkits/qt23/Makefile index 028218cd3c5c..87a25eb27126 100644 --- a/x11-toolkits/qt23/Makefile +++ b/x11-toolkits/qt23/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: qt -# Version required: 1.31 +# Version required: 1.42 # Date created: 30 Jul 1996 # Whom: searle@longacre.demon.co.uk # -# $Id: Makefile,v 1.28 1998/11/22 10:05:13 asami Exp $ +# $Id: Makefile,v 1.29 1998/11/23 17:41:10 andreas Exp $ # -DISTNAME= qt-${MAJ}.${MIN} +DISTNAME= qt-1.42 CATEGORIES= x11-toolkits MASTER_SITES= ftp://ftp.troll.no/qt/source/ @@ -14,12 +14,18 @@ MAINTAINER= andreas@FreeBSD.ORG LIB_DEPENDS= MesaGL.14:${PORTSDIR}/graphics/Mesa3 -MAJ= 1 -MIN= 41 USE_GMAKE= yes USE_X_PREFIX= yes MAKE_ENV= QTDIR=${WRKSRC} +.include <bsd.port.pre.mk> + +.if ${PORTOBJFORMAT} == "elf" +VERSION= 2 +.else +VERSION= 2.0 +.endif + MAN1= moc.1 MAN3= QAccel.3qt QApplication.3qt QArray.3qt QAsyncIO.3qt \ QBitArray.3qt QBitVal.3qt QBitmap.3qt QBoxLayout.3qt \ @@ -117,26 +123,16 @@ post-configure: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} freebsd-g++-shared do-install: - ${INSTALL_PROGRAM} $(WRKDIR)/qt-${MAJ}.${MIN}/bin/moc $(PREFIX)/bin - ${INSTALL_DATA} $(WRKDIR)/qt-${MAJ}.${MIN}/lib/libqt.so.${VERSION} \ - $(PREFIX)/lib + ${INSTALL_PROGRAM} ${WRKSRC}/bin/moc $(PREFIX)/bin + ${INSTALL_DATA} ${WRKSRC}/lib/libqt.so.${VERSION} $(PREFIX)/lib ${LN} -sf $(PREFIX)/lib/libqt.so.$(VERSION) $(PREFIX)/lib/libqt.so ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m $(PREFIX)/lib ${MKDIR} $(PREFIX)/include/X11/qt - ${INSTALL_DATA} $(WRKDIR)/qt-${MAJ}.${MIN}/include/* \ - $(PREFIX)/include/X11/qt - ${INSTALL_MAN} $(WRKDIR)/qt-${MAJ}.${MIN}/man/man1/* $(PREFIX)/man/man1 - ${INSTALL_MAN} $(WRKDIR)/qt-${MAJ}.${MIN}/man/man3/* $(PREFIX)/man/man3 + ${INSTALL_DATA} ${WRKSRC}/include/* $(PREFIX)/include/X11/qt + ${INSTALL_MAN} ${WRKSRC}/man/man1/* $(PREFIX)/man/man1 + ${INSTALL_MAN} ${WRKSRC}/man/man3/* $(PREFIX)/man/man3 ${MKDIR} ${PREFIX}/share/doc/qt - ${INSTALL_DATA} ${WRKDIR}/qt-${MAJ}.${MIN}/README \ - ${PREFIX}/share/doc/qt - ${INSTALL_DATA} ${WRKDIR}/qt-${MAJ}.${MIN}/README.QT \ - ${PREFIX}/share/doc/qt + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/qt + ${INSTALL_DATA} ${WRKSRC}/README.QT ${PREFIX}/share/doc/qt -.include <bsd.port.mk> - -.if ${PORTOBJFORMAT} == "elf" -VERSION= ${MAJ} -.else -VERSION= ${MAJ}.${MIN} -.endif +.include <bsd.port.post.mk> |