From cbf953c68aef2348dc987ad3cd38b235ad976808 Mon Sep 17 00:00:00 2001 From: fjoe Date: Fri, 8 Feb 2002 10:10:39 +0000 Subject: Add an ability to build licq plugins using licq-devel port: - licq-console, licq-qt-gui: conditionally include licq-devel/Makefile.inc instead of licq/Makefile.inc if -DWITH_LICQ_DEVEL is specified - dynamically generated plists (currently used in licq-qt-gui port only) --- net-im/licq-console/Makefile | 4 ++++ net-im/licq-qt-gui/Makefile | 4 ++++ net-im/licq-qt-gui/pkg-plist | 1 + net-im/licq/Makefile.inc | 1 + 4 files changed, 10 insertions(+) (limited to 'net-im') diff --git a/net-im/licq-console/Makefile b/net-im/licq-console/Makefile index 28a0d7bd5ea1..2a3c6e3b7757 100644 --- a/net-im/licq-console/Makefile +++ b/net-im/licq-console/Makefile @@ -25,5 +25,9 @@ post-install: ${PREFIX}/etc/licq_console.conf.sample .include +.if defined(WITH_LICQ_DEVEL) +.include "${PORTSDIR}/net/licq-devel/Makefile.inc" +.else .include "${PORTSDIR}/net/licq/Makefile.inc" +.endif .include diff --git a/net-im/licq-qt-gui/Makefile b/net-im/licq-qt-gui/Makefile index 272ad66c9293..58781eeb5c26 100644 --- a/net-im/licq-qt-gui/Makefile +++ b/net-im/licq-qt-gui/Makefile @@ -40,5 +40,9 @@ post-install: ${RM} -rf ${PREFIX}/share/licq/qt-gui/locale .include +.if defined(WITH_LICQ_DEVEL) +.include "${PORTSDIR}/net/licq-devel/Makefile.inc" +.else .include "${PORTSDIR}/net/licq/Makefile.inc" +.endif .include diff --git a/net-im/licq-qt-gui/pkg-plist b/net-im/licq-qt-gui/pkg-plist index 3f96f6e8b6fd..cb5ec2200c0b 100644 --- a/net-im/licq-qt-gui/pkg-plist +++ b/net-im/licq-qt-gui/pkg-plist @@ -167,6 +167,7 @@ share/licq/qt-gui/skin.shale/status.png @dirrm share/licq/qt-gui/icons.mark @dirrm share/licq/qt-gui/icons.icq2 @dirrm share/licq/qt-gui/icons.icq +%%LICQ_DEVEL%%@dirrm share/licq/qt-gui/icons.dots @dirrm share/licq/qt-gui/icons.computer @dirrm share/licq/qt-gui/dock.pli @dirrm share/licq/qt-gui/dock.kde2 diff --git a/net-im/licq/Makefile.inc b/net-im/licq/Makefile.inc index 5efe120b1617..5d1ad736d3ec 100644 --- a/net-im/licq/Makefile.inc +++ b/net-im/licq/Makefile.inc @@ -27,3 +27,4 @@ USE_GMAKE= yes USE_NEWGCC= yes USE_BZIP2= yes WRKSRC?= ${WRKDIR}/${DISTNAME}/plugins/${PORTNAME}-${PORTVERSION} +PLIST_SUB+= LICQ_DEVEL="@comment " -- cgit