git: 4888ffae071a - main - devel/qmake: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sat, 02 Aug 2025 09:27:22 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4888ffae071ad0916c27ae1a0fd07cda902c4be2

commit 4888ffae071ad0916c27ae1a0fd07cda902c4be2
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-08-02 09:27:18 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-08-02 09:27:18 +0000

    devel/qmake: Remove expired port
    
    2025-07-31 devel/qmake: Obsolete and unsupported upstream
---
 MOVED                                    |   1 +
 devel/Makefile                           |   1 -
 devel/qmake/Makefile                     |  60 -------------
 devel/qmake/distinfo                     |   2 -
 devel/qmake/files/Makefile.bsd           |  41 ---------
 devel/qmake/files/patch-generators_c++17 |  62 --------------
 devel/qmake/files/qconfig.cpp            |  14 ---
 devel/qmake/pkg-descr                    |   6 --
 devel/qmake/pkg-plist                    | 141 -------------------------------
 9 files changed, 1 insertion(+), 327 deletions(-)

diff --git a/MOVED b/MOVED
index a0d5dff3b832..9deacdaa3601 100644
--- a/MOVED
+++ b/MOVED
@@ -4666,3 +4666,4 @@ multimedia/svt-av1-psy|multimedia/svt-av1-hdr|2025-07-31|New upstream
 www/php85-opcache||2025-08-01|Part of default php85
 devel/rpc2||2025-08-02|Has expired: Outdated, unsupported upstream and unmaintained for years in tree
 devel/publib||2025-08-02|Has expired: Upstream is gone and last release around 2012
+devel/qmake||2025-08-02|Has expired: Obsolete and unsupported upstream
diff --git a/devel/Makefile b/devel/Makefile
index 896faa553007..c19e1e7eb5b7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6331,7 +6331,6 @@
     SUBDIR += qgit
     SUBDIR += qjson
     SUBDIR += qlementine
-    SUBDIR += qmake
     SUBDIR += qschematic
     SUBDIR += qscintilla2
     SUBDIR += qscintilla2-designerplugin
diff --git a/devel/qmake/Makefile b/devel/qmake/Makefile
deleted file mode 100644
index 2c7e439d2bb5..000000000000
--- a/devel/qmake/Makefile
+++ /dev/null
@@ -1,60 +0,0 @@
-PORTNAME=	qmake
-PORTVERSION=	3.3.8
-PORTREVISION=	3
-CATEGORIES=	devel
-MASTER_SITES=	QT/archive/qt/${PORTVERSION:R:R}
-DISTNAME=	qt-x11-free-${PORTVERSION}
-DIST_SUBDIR=	KDE
-
-MAINTAINER=	ports@virtual-estates.net
-COMMENT=	The build utility of the Qt 3 project
-WWW=		http://doc.qt.digia.com/3.3/index.html
-
-DEPRECATED=	Obsolete and unsupported upstream
-EXPIRATION_DATE=2025-07-31
-
-REINPLACE_ARGS=	-i ""
-WRKSRC=		${WRKDIR}/${DISTNAME}/qmake
-MAKEFILE=	${FILESDIR}/Makefile.bsd
-MAKE_ENV+=	FILESDIR="${FILESDIR}"
-
-USES=		tar:bzip2 uidfix
-
-EXTRACT_AFTER_ARGS= \
-	'${DISTNAME}/mkspecs' \
-	'${DISTNAME}/src/*/*.h' '${DISTNAME}/qmake' \
-	'${DISTNAME}/src/tools'
-
-OPTIONS_DEFINE=	DOCS
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-EXTRACT_AFTER_ARGS+='${DISTNAME}/doc/html/qmake*'
-DOCSDIR=	${PREFIX}/share/doc/qt
-PLIST_SUB+=	DOCSDIR="${DOCSDIR}"
-post-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${CP} -Rp ${WRKSRC:H}/doc/html ${STAGEDIR}${DOCSDIR}
-.endif
-
-post-patch:
-	@${RM} -r ${WRKSRC}/examples ${WRKSRC}/tutorial
-	@${REINPLACE_CMD} -e 's|-O2|${CXXFLAGS}|' \
-		-e 's|gcc|${CC}|' \
-		-e 's|g++|${CXX}|' \
-		-e 's|/usr/local|${LOCALBASE}|' \
-		-e 's|/usr/X11R6|${LOCALBASE}|' \
-		-e 's|release|release thread|' \
-		${WRKSRC}/../mkspecs/freebsd-g++/qmake.conf
-	@${REINPLACE_CMD} -e 's|@QMAKE_QTOBJS@||g' ${WRKSRC}/Makefile.unix
-
-do-configure:
-	${SED} -e 's|/usr/local|${PREFIX}|g' \
-		< ${FILESDIR}/qconfig.cpp \
-		> ${WRKSRC:H}/src/tools/qconfig.cpp
-	${ECHO} '/* empty */' > ${WRKSRC}/qconfig.h
-	${LN} ${WRKSRC}/qconfig.h ${WRKSRC}/qmodules.h
-	${LN} -s . ${WRKDIR}/${DISTNAME}/src/tools/private
-
-.include <bsd.port.mk>
diff --git a/devel/qmake/distinfo b/devel/qmake/distinfo
deleted file mode 100644
index db96aec99677..000000000000
--- a/devel/qmake/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (KDE/qt-x11-free-3.3.8.tar.bz2) = e8c3f703d00a4e2ab9ba63fd474caa8a9d0aa3d7f1d5451dd162bec9d778a449
-SIZE (KDE/qt-x11-free-3.3.8.tar.bz2) = 14360483
diff --git a/devel/qmake/files/Makefile.bsd b/devel/qmake/files/Makefile.bsd
deleted file mode 100644
index 1bac5b45f11d..000000000000
--- a/devel/qmake/files/Makefile.bsd
+++ /dev/null
@@ -1,41 +0,0 @@
-_OBJS!=	${MAKE} -f Makefile.unix -V OBJS -V QOBJS
-# We'd like to avoid using qconfig.cpp, but can't -- see the comment
-# next to -DHAVE_CONFIG_CPP below: 
-#_OBJS:=	${_OBJS:S/qconfig.o//}
-SRCS:=	${_OBJS:.o=.cpp}
-MAN=
-
-.PATH:	${.CURDIR} ${.CURDIR:H}/src/tools
-CXXFLAGS+=-I${.CURDIR:H}/mkspecs/freebsd-g++
-
-.for s in tools kernel codecs
-CXXFLAGS+=-I${.CURDIR:H}/src/$s
-.endfor
-
-.for g in /. /unix /win32 /mac
-.PATH:	${.CURDIR}/generators$g
-CXXFLAGS+=-I${.CURDIR}/generators$g
-.endfor
-
-CXXFLAGS+=-I. -I"${FILESDIR}" -Dregister=
-
-CXXFLAGS+=-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT \
-	-DQT_NO_STL -DQT_NO_COMPRESS -DQT_INSTALL_DATA="\"${SHAREDIR}\""
-
-# I guess, qconfig.cpp used to be optional, but no longer is -- due to
-# bit-rot in Qt sources. So we still have to compile it, but, by not
-# adding the following define, we reduce the seemingly needless usage of
-# it:
-# -DHAVE_QCONFIG_CPP
-
-PROG_CXX=	qmake
-BINDIR=	${PREFIX}/bin
-SHAREDIR=	${PREFIX}/share/qt
-
-${DESTDIR}${SHAREDIR}:
-	mkdir -p "$@"
-
-beforeinstall: ${DESTDIR}${SHAREDIR}
-	cp -Rp ${.CURDIR:H}/mkspecs ${DESTDIR}${SHAREDIR}
-
-.include <bsd.prog.mk>
diff --git a/devel/qmake/files/patch-generators_c++17 b/devel/qmake/files/patch-generators_c++17
deleted file mode 100644
index 5499fbce65a6..000000000000
--- a/devel/qmake/files/patch-generators_c++17
+++ /dev/null
@@ -1,62 +0,0 @@
-Insert the spaces between literals to satisfy clang with c++17 (or
-even c++11) standard.
-
-	-mi
-
---- generators/win32/borland_bmake.cpp	2007-02-02 14:01:28 UTC
-+++ generators/win32/borland_bmake.cpp
-@@ -383,7 +383,7 @@ BorlandMakefileGenerator::init()
-     if(project->isEmpty("QMAKE_INSTALL_DIR"))
- 	project->variables()["QMAKE_INSTALL_DIR"].append("$(COPY_DIR)");
- 
--    bool is_qt = (project->first("TARGET") == "qt"QTDLL_POSTFIX || project->first("TARGET") == "qtmt"QTDLL_POSTFIX);
-+    bool is_qt = (project->first("TARGET") == "qt" QTDLL_POSTFIX || project->first("TARGET") == "qtmt" QTDLL_POSTFIX);
-     QStringList &configs = project->variables()["CONFIG"];
-     if (project->isActiveConfig("shared"))
- 	project->variables()["DEFINES"].append("QT_DLL");
---- generators/win32/mingw_make.cpp	2007-02-02 14:01:28 UTC
-+++ generators/win32/mingw_make.cpp
-@@ -394,7 +394,7 @@ MingwMakefileGenerator::init()
-     if(project->isEmpty("QMAKE_INSTALL_DIR"))
- 	project->variables()["QMAKE_INSTALL_DIR"].append("$(COPY_DIR)");
- 
--    bool is_qt = (project->first("TARGET") == "qt"QTDLL_POSTFIX || project->first("TARGET") == "qt-mt"QTDLL_POSTFIX);
-+    bool is_qt = (project->first("TARGET") == "qt" QTDLL_POSTFIX || project->first("TARGET") == "qt-mt" QTDLL_POSTFIX);
-     project->variables()["QMAKE_ORIG_TARGET"] = project->variables()["TARGET"];
- 
-     // LIBS defined in Profile comes first for gcc
---- generators/win32/msvc_dsp.cpp	2007-02-02 14:01:27 UTC
-+++ generators/win32/msvc_dsp.cpp
-@@ -620,7 +620,7 @@ DspMakefileGenerator::init()
-     if ( project->variables()["QMAKESPEC"].isEmpty() )
- 	project->variables()["QMAKESPEC"].append( getenv("QMAKESPEC") );
- 
--    bool is_qt = (project->first("TARGET") == "qt"QTDLL_POSTFIX || project->first("TARGET") == "qt-mt"QTDLL_POSTFIX);
-+    bool is_qt = (project->first("TARGET") == "qt" QTDLL_POSTFIX || project->first("TARGET") == "qt-mt" QTDLL_POSTFIX);
-     project->variables()["QMAKE_ORIG_TARGET"] = project->variables()["TARGET"];
- 
-     QStringList &configs = project->variables()["CONFIG"];
---- generators/win32/msvc_nmake.cpp	2007-02-02 14:01:28 UTC
-+++ generators/win32/msvc_nmake.cpp
-@@ -479,7 +479,7 @@ NmakeMakefileGenerator::init()
-     if(project->isEmpty("QMAKE_INSTALL_DIR"))
- 	project->variables()["QMAKE_INSTALL_DIR"].append("$(COPY_DIR)");
- 
--    bool is_qt = (project->first("TARGET") == "qt"QTDLL_POSTFIX || project->first("TARGET") == "qt-mt"QTDLL_POSTFIX);
-+    bool is_qt = (project->first("TARGET") == "qt" QTDLL_POSTFIX || project->first("TARGET") == "qt-mt" QTDLL_POSTFIX);
-     project->variables()["QMAKE_ORIG_TARGET"] = project->variables()["TARGET"];
- 
-     QString targetfilename = project->variables()["TARGET"].first();
---- generators/win32/msvc_vcproj.cpp	2007-02-02 14:01:28 UTC
-+++ generators/win32/msvc_vcproj.cpp
-@@ -1094,8 +1094,8 @@ void VcprojGenerator::initOld()
- 	project->variables()["QMAKESPEC"].append( getenv("QMAKESPEC") );
- 
-     bool is_qt =
--	( project->first("TARGET") == "qt"QTDLL_POSTFIX ||
--	  project->first("TARGET") == "qt-mt"QTDLL_POSTFIX );
-+	( project->first("TARGET") == "qt" QTDLL_POSTFIX ||
-+	  project->first("TARGET") == "qt-mt" QTDLL_POSTFIX );
- 
-    QStringList &configs = project->variables()["CONFIG"];
- 
diff --git a/devel/qmake/files/qconfig.cpp b/devel/qmake/files/qconfig.cpp
deleted file mode 100644
index 54dcd6e349e1..000000000000
--- a/devel/qmake/files/qconfig.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Hand-crafted...
- * The default prefix (/ usr / local) is dynamicly replaced
- * at configure time.
- */
-const char *qInstallPath()             { return "/usr/local"; }
-const char *qInstallPathDocs()         { return "/usr/local/share/doc/qt"; }
-const char *qInstallPathHeaders()      { return "/usr/local/include"; }
-const char *qInstallPathLibs()         { return "/usr/local/lib"; }
-const char *qInstallPathBins()         { return "/usr/local/bin"; }
-const char *qInstallPathPlugins()      { return "/usr/local/plugins"; }
-const char *qInstallPathData()         { return "/usr/local/share/qt"; }
-const char *qInstallPathTranslations() { return "/usr/local/translations"; }
-const char *qInstallPathSysconf()      { return "/usr/local/etc"; }
diff --git a/devel/qmake/pkg-descr b/devel/qmake/pkg-descr
deleted file mode 100644
index 7ccc4dd8572e..000000000000
--- a/devel/qmake/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-Qt 3 is a C++ toolkit for application development.  It lets application
-developers target all major operating systems with a single application
-source code.
-
-Qmake is a project and makefile creating utility, that is part of Qt 3.
-For ease of maintenance it is split out into a port of its own.
diff --git a/devel/qmake/pkg-plist b/devel/qmake/pkg-plist
deleted file mode 100644
index b92d25e037fd..000000000000
--- a/devel/qmake/pkg-plist
+++ /dev/null
@@ -1,141 +0,0 @@
-bin/qmake
-share/qt/mkspecs/aix-g++-64/qmake.conf
-share/qt/mkspecs/aix-g++-64/qplatformdefs.h
-share/qt/mkspecs/aix-g++/qmake.conf
-share/qt/mkspecs/aix-g++/qplatformdefs.h
-share/qt/mkspecs/aix-xlc-64/qmake.conf
-share/qt/mkspecs/aix-xlc-64/qplatformdefs.h
-share/qt/mkspecs/aix-xlc/qmake.conf
-share/qt/mkspecs/aix-xlc/qplatformdefs.h
-share/qt/mkspecs/bsdi-g++/qmake.conf
-share/qt/mkspecs/bsdi-g++/qplatformdefs.h
-share/qt/mkspecs/cygwin-g++/qmake.conf
-share/qt/mkspecs/cygwin-g++/qplatformdefs.h
-share/qt/mkspecs/darwin-g++/qmake.conf
-share/qt/mkspecs/darwin-g++/qplatformdefs.h
-share/qt/mkspecs/dgux-g++/qmake.conf
-share/qt/mkspecs/dgux-g++/qplatformdefs.h
-share/qt/mkspecs/freebsd-g++/qmake.conf
-share/qt/mkspecs/freebsd-g++/qplatformdefs.h
-share/qt/mkspecs/freebsd-g++34/qmake.conf
-share/qt/mkspecs/freebsd-g++34/qplatformdefs.h
-share/qt/mkspecs/freebsd-icc/qmake.conf
-share/qt/mkspecs/freebsd-icc/qplatformdefs.h
-share/qt/mkspecs/hpux-acc-64/qmake.conf
-share/qt/mkspecs/hpux-acc-64/qplatformdefs.h
-share/qt/mkspecs/hpux-acc-o64/qmake.conf
-share/qt/mkspecs/hpux-acc-o64/qplatformdefs.h
-share/qt/mkspecs/hpux-acc/qmake.conf
-share/qt/mkspecs/hpux-acc/qplatformdefs.h
-share/qt/mkspecs/hpux-cc/qmake.conf
-share/qt/mkspecs/hpux-cc/qplatformdefs.h
-share/qt/mkspecs/hpux-g++-64/qmake.conf
-share/qt/mkspecs/hpux-g++-64/qplatformdefs.h
-share/qt/mkspecs/hpux-g++/qmake.conf
-share/qt/mkspecs/hpux-g++/qplatformdefs.h
-share/qt/mkspecs/hpuxi-acc-32/qmake.conf
-share/qt/mkspecs/hpuxi-acc-32/qplatformdefs.h
-share/qt/mkspecs/hpuxi-acc-64/qmake.conf
-share/qt/mkspecs/hpuxi-acc-64/qplatformdefs.h
-share/qt/mkspecs/hurd-g++/qmake.conf
-share/qt/mkspecs/hurd-g++/qplatformdefs.h
-share/qt/mkspecs/irix-cc-64/qmake.conf
-share/qt/mkspecs/irix-cc-64/qplatformdefs.h
-share/qt/mkspecs/irix-cc-o32/qmake.conf
-share/qt/mkspecs/irix-cc-o32/qplatformdefs.h
-share/qt/mkspecs/irix-cc/qmake.conf
-share/qt/mkspecs/irix-cc/qplatformdefs.h
-share/qt/mkspecs/irix-g++/qmake.conf
-share/qt/mkspecs/irix-g++/qplatformdefs.h
-share/qt/mkspecs/linux-cxx/qmake.conf
-share/qt/mkspecs/linux-cxx/qplatformdefs.h
-share/qt/mkspecs/linux-ecc-64/qmake.conf
-share/qt/mkspecs/linux-ecc-64/qplatformdefs.h
-share/qt/mkspecs/linux-g++-32/qmake.conf
-share/qt/mkspecs/linux-g++-32/qplatformdefs.h
-share/qt/mkspecs/linux-g++-64/qmake.conf
-share/qt/mkspecs/linux-g++-64/qplatformdefs.h
-share/qt/mkspecs/linux-g++/qmake.conf
-share/qt/mkspecs/linux-g++/qplatformdefs.h
-share/qt/mkspecs/linux-icc/qmake.conf
-share/qt/mkspecs/linux-icc/qplatformdefs.h
-share/qt/mkspecs/linux-kcc/qmake.conf
-share/qt/mkspecs/linux-kcc/qplatformdefs.h
-share/qt/mkspecs/linux-kylix/qmake.conf
-share/qt/mkspecs/linux-kylix/qplatformdefs.h
-share/qt/mkspecs/linux-pgcc/qmake.conf
-share/qt/mkspecs/linux-pgcc/qplatformdefs.h
-share/qt/mkspecs/lynxos-g++/qmake.conf
-share/qt/mkspecs/lynxos-g++/qplatformdefs.h
-share/qt/mkspecs/macx-g++/Info.plist.app
-share/qt/mkspecs/macx-g++/qmake.conf
-share/qt/mkspecs/macx-g++/qplatformdefs.h
-share/qt/mkspecs/macx-mwerks/README
-share/qt/mkspecs/macx-mwerks/mwerkstmpl.xml
-share/qt/mkspecs/macx-mwerks/qmake.conf
-share/qt/mkspecs/macx-mwerks/qplatformdefs.h
-share/qt/mkspecs/macx-pbuilder/Info.plist.app
-share/qt/mkspecs/macx-pbuilder/qmake.conf
-share/qt/mkspecs/macx-pbuilder/qplatformdefs.h
-share/qt/mkspecs/macx-xlc/qmake.conf
-share/qt/mkspecs/macx-xlc/qplatformdefs.h
-share/qt/mkspecs/netbsd-g++/qmake.conf
-share/qt/mkspecs/netbsd-g++/qplatformdefs.h
-share/qt/mkspecs/openbsd-g++/qmake.conf
-share/qt/mkspecs/openbsd-g++/qplatformdefs.h
-share/qt/mkspecs/qnx-g++/qmake.conf
-share/qt/mkspecs/qnx-g++/qplatformdefs.h
-share/qt/mkspecs/reliant-cds-64/qmake.conf
-share/qt/mkspecs/reliant-cds-64/qplatformdefs.h
-share/qt/mkspecs/reliant-cds/qmake.conf
-share/qt/mkspecs/reliant-cds/qplatformdefs.h
-share/qt/mkspecs/sco-cc/qmake.conf
-share/qt/mkspecs/sco-cc/qplatformdefs.h
-share/qt/mkspecs/sco-g++/qmake.conf
-share/qt/mkspecs/sco-g++/qplatformdefs.h
-share/qt/mkspecs/solaris-cc-64/qmake.conf
-share/qt/mkspecs/solaris-cc-64/qplatformdefs.h
-share/qt/mkspecs/solaris-cc/qmake.conf
-share/qt/mkspecs/solaris-cc/qplatformdefs.h
-share/qt/mkspecs/solaris-g++-64/qmake.conf
-share/qt/mkspecs/solaris-g++-64/qplatformdefs.h
-share/qt/mkspecs/solaris-g++/qmake.conf
-share/qt/mkspecs/solaris-g++/qplatformdefs.h
-share/qt/mkspecs/tru64-cxx/qmake.conf
-share/qt/mkspecs/tru64-cxx/qplatformdefs.h
-share/qt/mkspecs/tru64-g++/qmake.conf
-share/qt/mkspecs/tru64-g++/qplatformdefs.h
-share/qt/mkspecs/unixware-cc/qmake.conf
-share/qt/mkspecs/unixware-cc/qplatformdefs.h
-share/qt/mkspecs/unixware-g++/qmake.conf
-share/qt/mkspecs/unixware-g++/qplatformdefs.h
-share/qt/mkspecs/win32-borland/qmake.conf
-share/qt/mkspecs/win32-borland/qplatformdefs.h
-share/qt/mkspecs/win32-g++/qmake.conf
-share/qt/mkspecs/win32-g++/qplatformdefs.h
-share/qt/mkspecs/win32-g++/qtcrtentrypoint.cpp
-share/qt/mkspecs/win32-icc/qmake.conf
-share/qt/mkspecs/win32-icc/qplatformdefs.h
-share/qt/mkspecs/win32-icc/win32app.dsp
-share/qt/mkspecs/win32-icc/win32dll.dsp
-share/qt/mkspecs/win32-icc/win32lib.dsp
-share/qt/mkspecs/win32-msvc.net/qmake.conf
-share/qt/mkspecs/win32-msvc.net/qplatformdefs.h
-share/qt/mkspecs/win32-msvc/qmake.conf
-share/qt/mkspecs/win32-msvc/qplatformdefs.h
-share/qt/mkspecs/win32-msvc/win32app.dsp
-share/qt/mkspecs/win32-msvc/win32dll.dsp
-share/qt/mkspecs/win32-msvc/win32lib.dsp
-share/qt/mkspecs/win32-msvc2005/qmake.conf
-share/qt/mkspecs/win32-msvc2005/qplatformdefs.h
-share/qt/mkspecs/win32-watcom/qmake.conf
-%%PORTDOCS%%%%DOCSDIR%%/html/qmake.dcf
-%%PORTDOCS%%%%DOCSDIR%%/html/qmake-manual.html
-%%PORTDOCS%%%%DOCSDIR%%/html/qmake-manual-1.html
-%%PORTDOCS%%%%DOCSDIR%%/html/qmake-manual-2.html
-%%PORTDOCS%%%%DOCSDIR%%/html/qmake-manual-3.html
-%%PORTDOCS%%%%DOCSDIR%%/html/qmake-manual-4.html
-%%PORTDOCS%%%%DOCSDIR%%/html/qmake-manual-5.html
-%%PORTDOCS%%%%DOCSDIR%%/html/qmake-manual-6.html
-%%PORTDOCS%%%%DOCSDIR%%/html/qmake-manual-7.html
-%%PORTDOCS%%%%DOCSDIR%%/html/qmake-manual-8.html