aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/licq-qt-gui/Makefile
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-03-27 01:49:07 +0800
committerdinoex <dinoex@FreeBSD.org>2004-03-27 01:49:07 +0800
commit94cb17f8abab42c8d414add48edd4037f38433f8 (patch)
tree9a754371e4ad43a6b06493f289688f191f3bd8e5 /net-im/licq-qt-gui/Makefile
parent99a0325a2a289cca2d769412f8fde08650b300fb (diff)
downloadfreebsd-ports-gnome-94cb17f8abab42c8d414add48edd4037f38433f8.tar.gz
freebsd-ports-gnome-94cb17f8abab42c8d414add48edd4037f38433f8.tar.zst
freebsd-ports-gnome-94cb17f8abab42c8d414add48edd4037f38433f8.zip
- make PKGNAMESUFFIX more flexible
- LICQ_PORT without PORTSDIR
Diffstat (limited to 'net-im/licq-qt-gui/Makefile')
-rw-r--r--net-im/licq-qt-gui/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/net-im/licq-qt-gui/Makefile b/net-im/licq-qt-gui/Makefile
index 0728221aca42..73e1133e0a58 100644
--- a/net-im/licq-qt-gui/Makefile
+++ b/net-im/licq-qt-gui/Makefile
@@ -9,18 +9,17 @@ PORTNAME= qt-gui
PORTVERSION= ${QT_LICQ_VER}
PORTREVISION= 2
CATEGORIES= net
-.if defined(WITH_KDE)
-PKGNAMESUFFIX= -kde
-.endif
+PKGNAMESUFFIX?= ${KDE_SUFFIX}${PKGNAMESUFFIX2}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Qt plugin for licq
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
LIBS="${PTHREAD_LIBS}"
-LICQ_PORT?= ${PORTSDIR}/net/licq
+LICQ_PORT?= net/licq
.if defined(WITH_KDE)
+KDE_SUFFIX= -kde
USE_KDELIBS_VER=3
CONFIGURE_ARGS+=--with-kde
CONFIGURE_ENV+= KDEDIR="${LOCALBASE}"
@@ -48,5 +47,5 @@ post-install:
.endif
.include <bsd.port.pre.mk>
-.include "${LICQ_PORT}/Makefile.inc"
+.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc"
.include <bsd.port.post.mk>