summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2002-02-08 10:10:39 +0000
committerMax Khon <fjoe@FreeBSD.org>2002-02-08 10:10:39 +0000
commitcafdf2676d8c001dadaf2c3e0d4457b278cfeaec (patch)
tree5df8e1382cc24009683eebcf4b5433ba5e887b7b /net-im
parent* Update modules: postgresql, mysql, proftpd. (diff)
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)
Notes
Notes: svn path=/head/; revision=54368
Diffstat (limited to 'net-im')
-rw-r--r--net-im/licq-console/Makefile4
-rw-r--r--net-im/licq-qt-gui/Makefile4
-rw-r--r--net-im/licq-qt-gui/pkg-plist1
-rw-r--r--net-im/licq/Makefile.inc1
4 files changed, 10 insertions, 0 deletions
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 <bsd.port.pre.mk>
+.if defined(WITH_LICQ_DEVEL)
+.include "${PORTSDIR}/net/licq-devel/Makefile.inc"
+.else
.include "${PORTSDIR}/net/licq/Makefile.inc"
+.endif
.include <bsd.port.post.mk>
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 <bsd.port.pre.mk>
+.if defined(WITH_LICQ_DEVEL)
+.include "${PORTSDIR}/net/licq-devel/Makefile.inc"
+.else
.include "${PORTSDIR}/net/licq/Makefile.inc"
+.endif
.include <bsd.port.post.mk>
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 "