aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/licq-qt-gui
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-01-02 12:06:58 +0800
committerdinoex <dinoex@FreeBSD.org>2003-01-02 12:06:58 +0800
commitc0d6bce6225afbcf98a28d2dffbe6cc9337e3022 (patch)
tree93ca0b8e97a63534a8154dd5118ff3ca980845f3 /net-im/licq-qt-gui
parenteb0e45c01c3b5797df163653d2809e14481f7119 (diff)
downloadfreebsd-ports-gnome-c0d6bce6225afbcf98a28d2dffbe6cc9337e3022.tar.gz
freebsd-ports-gnome-c0d6bce6225afbcf98a28d2dffbe6cc9337e3022.tar.zst
freebsd-ports-gnome-c0d6bce6225afbcf98a28d2dffbe6cc9337e3022.zip
- new feature GUI_KDE
PR: 45840 Submitted by: lev@serebryakov.spb.ru, fjoe
Diffstat (limited to 'net-im/licq-qt-gui')
-rw-r--r--net-im/licq-qt-gui/Makefile25
-rw-r--r--net-im/licq-qt-gui/pkg-plist4
2 files changed, 26 insertions, 3 deletions
diff --git a/net-im/licq-qt-gui/Makefile b/net-im/licq-qt-gui/Makefile
index 02ccc76acea5..a9b6484216ae 100644
--- a/net-im/licq-qt-gui/Makefile
+++ b/net-im/licq-qt-gui/Makefile
@@ -8,14 +8,37 @@
PORTNAME= qt-gui
PORTVERSION= ${QT_LICQ_VER}
CATEGORIES= net
+.if defined(WITH_KDE)
+PKGNAMESUFFIX= -kde
+.endif
MAINTAINER= dinoex@FreeBSD.org
-USE_QT_VER= 3
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
LIBS="${PTHREAD_LIBS}"
INCDIR= ${PORTSDIR}/net
+.if defined(WITH_KDE)
+USE_KDELIBS_VER=3
+CONFIGURE_ARGS+=--with-kde
+CONFIGURE_ENV+= KDEDIR="${LOCALBASE}"
+PLIST_SUB+= GUI_NAME=kde
+.else
+USE_QT_VER= 3
+PLIST_SUB+= GUI_NAME=qt
+.endif
+
+pre-fetch:
+.if defined(WITH_KDE)
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "Build with KDE support"
+ @${ECHO_MSG} ""
+.else
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "You could define WITH_KDE if you want KDE support"
+ @${ECHO_MSG} ""
+.endif
+
post-install:
${RM} -rf ${PREFIX}/share/licq/qt-gui/locale
.if exists(${X11BASE}/bin/XFree86)
diff --git a/net-im/licq-qt-gui/pkg-plist b/net-im/licq-qt-gui/pkg-plist
index 3f96f6e8b6fd..8aac9a2d7a0d 100644
--- a/net-im/licq-qt-gui/pkg-plist
+++ b/net-im/licq-qt-gui/pkg-plist
@@ -1,5 +1,5 @@
-lib/licq/licq_qt-gui.la
-lib/licq/licq_qt-gui.so
+lib/licq/licq_%%GUI_NAME%%-gui.la
+lib/licq/licq_%%GUI_NAME%%-gui.so
share/licq/qt-gui/dock.console/away.xpm
share/licq/qt-gui/dock.console/bothmsg.xpm
share/licq/qt-gui/dock.console/console.dock