aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/mysql-navigator/Makefile5
-rw-r--r--ftp/kmago/Makefile10
-rw-r--r--print/ktexshell/Makefile12
-rw-r--r--sysutils/koncd/Makefile10
-rw-r--r--x11-wm/kwix/Makefile14
5 files changed, 8 insertions, 43 deletions
diff --git a/databases/mysql-navigator/Makefile b/databases/mysql-navigator/Makefile
index b09945807c41..245eefafb215 100644
--- a/databases/mysql-navigator/Makefile
+++ b/databases/mysql-navigator/Makefile
@@ -14,10 +14,9 @@ DISTNAME= mysql_navigator_${PORTVERSION}
MAINTAINER= demon@FreeBSD.org
-LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client \
- kdecore.4:${PORTSDIR}/x11/kdelibs2
+LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
-USE_QT2= yes
+USE_KDELIBS_VER=2
INSTALLS_SHLIB= yes
do-install:
diff --git a/ftp/kmago/Makefile b/ftp/kmago/Makefile
index b16446a528e5..9741d054fbc7 100644
--- a/ftp/kmago/Makefile
+++ b/ftp/kmago/Makefile
@@ -14,19 +14,11 @@ MASTER_SITE_SUBDIR= kmago
MAINTAINER= demon@FreeBSD.org
-LIB_DEPENDS= kdecore.4:${PORTSDIR}/x11/kdelibs2
RUN_DEPENDS= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
-USE_QT2= yes
-MOC?= ${X11BASE}/bin/moc2
+USE_KDELIBS_VER=2
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-qt-includes=${X11BASE}/include/qt2 \
- --with-qt-libraries=${X11BASE}/lib \
- --with-extra-libs=${LOCALBASE}/lib
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
- MOC="${MOC}" LIBQT="-lqt2" LIBQTFILE="libqt2" \
- LIBS="-Wl,-export-dynamic -L${LOCALBASE}/lib -ljpeg -lgcc -lstdc++"
post-patch:
@${PERL} -pi -e 's#lqt#lqt2#g' ${WRKSRC}/configure ${WRKSRC}/kmago/Makefile.in
diff --git a/print/ktexshell/Makefile b/print/ktexshell/Makefile
index 2ec63d61ec5a..806c84214989 100644
--- a/print/ktexshell/Makefile
+++ b/print/ktexshell/Makefile
@@ -13,19 +13,11 @@ MASTER_SITE_SUBDIR= ktexshell
MAINTAINER= demon@FreeBSD.org
-LIB_DEPENDS= kdecore.4:${PORTSDIR}/x11/kdelibs2 \
- intl.1:${PORTSDIR}/devel/gettext
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
-USE_QT2= yes
-MOC?= ${X11BASE}/bin/moc2
+USE_KDELIBS_VER=2
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-qt-includes=${X11BASE}/include/qt2 \
- --with-qt-libraries=${X11BASE}/lib \
- --with-extra-libs=${LOCALBASE}/lib
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
- MOC="${MOC}" LIBQT="-lqt2" LIBQTFILE="libqt2" \
- LIBS="-Wl,-export-dynamic -L${LOCALBASE}/lib -ljpeg -lgcc -lstdc++"
post-patch:
@${PERL} -pi -e 's#libqt#libqt2#g' ${WRKSRC}/configure
diff --git a/sysutils/koncd/Makefile b/sysutils/koncd/Makefile
index 3e73c53d061f..ceb090f5c16b 100644
--- a/sysutils/koncd/Makefile
+++ b/sysutils/koncd/Makefile
@@ -13,20 +13,12 @@ MASTER_SITES= http://www.koncd.de/download/ \
MAINTAINER= demon@FreeBSD.org
-LIB_DEPENDS= kdecore.4:${PORTSDIR}/x11/kdelibs2
RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrecord \
mkisofs:${PORTSDIR}/sysutils/mkisofs
-USE_QT2= yes
-MOC?= ${X11BASE}/bin/moc2
+USE_KDELIBS_VER=2
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-qt-includes=${X11BASE}/include/qt2 \
- --with-qt-libraries=${X11BASE}/lib \
- --with-extra-libs=${LOCALBASE}/lib
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
- MOC="${MOC}" LIBQT="-lqt2" LIBQTFILE="libqt2" \
- LIBS="-Wl,-export-dynamic -L${LOCALBASE}/lib -ljpeg -lgcc -lstdc++"
post-patch:
@${PERL} -pi -e 's#lqt#lqt2#g' ${WRKSRC}/configure
diff --git a/x11-wm/kwix/Makefile b/x11-wm/kwix/Makefile
index feecfd1bf013..4f776d4db06a 100644
--- a/x11-wm/kwix/Makefile
+++ b/x11-wm/kwix/Makefile
@@ -14,21 +14,11 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}kb
MAINTAINER= demon@FreeBSD.org
-BUILD_DEPENDS= kwin:${PORTSDIR}/x11/kdebase2
-LIB_DEPENDS= kdecore.4:${PORTSDIR}/x11/kdelibs2 \
- intl.1:${PORTSDIR}/devel/gettext
-RUN_DEPENDS= kwin:${PORTSDIR}/x11/kdebase2
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
-USE_QT2= yes
-MOC?= ${X11BASE}/bin/moc2
+USE_KDEBASE_VER=2
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-qt-includes=${X11BASE}/include/qt2 \
- --with-qt-libraries=${X11BASE}/lib \
- --with-extra-libs=${LOCALBASE}/lib
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
- MOC="${MOC}" LIBQT="-lqt2" LIBQTFILE="libqt2" \
- LIBS="-Wl,-export-dynamic -L${LOCALBASE}/lib -ljpeg -lgcc -lstdc++"
post-patch:
@${PERL} -pi -e 's#lqt#lqt2#g' ${WRKSRC}/configure