summaryrefslogtreecommitdiffstats
path: root/net/licq-qt-gui
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-01-02 04:06:58 +0000
committerdinoex <dinoex@FreeBSD.org>2003-01-02 04:06:58 +0000
commitc0d6bce6225afbcf98a28d2dffbe6cc9337e3022 (patch)
tree93ca0b8e97a63534a8154dd5118ff3ca980845f3 /net/licq-qt-gui
parenteb0e45c01c3b5797df163653d2809e14481f7119 (diff)
downloadFreeBSD-ports-c0d6bce6225afbcf98a28d2dffbe6cc9337e3022.zip
FreeBSD-ports-c0d6bce6225afbcf98a28d2dffbe6cc9337e3022.tar.gz
- new feature GUI_KDE
PR: 45840 Submitted by: lev@serebryakov.spb.ru, fjoe
Diffstat (limited to 'net/licq-qt-gui')
-rw-r--r--net/licq-qt-gui/Makefile25
-rw-r--r--net/licq-qt-gui/pkg-plist4
2 files changed, 26 insertions, 3 deletions
diff --git a/net/licq-qt-gui/Makefile b/net/licq-qt-gui/Makefile
index 02ccc76..a9b6484 100644
--- a/net/licq-qt-gui/Makefile
+++ b/net/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/licq-qt-gui/pkg-plist b/net/licq-qt-gui/pkg-plist
index 3f96f6e..8aac9a2 100644
--- a/net/licq-qt-gui/pkg-plist
+++ b/net/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
OpenPOWER on IntegriCloud