aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2002-02-08 18:10:39 +0800
committerfjoe <fjoe@FreeBSD.org>2002-02-08 18:10:39 +0800
commitcbf953c68aef2348dc987ad3cd38b235ad976808 (patch)
tree62d6512a96ba35592cf4ddf6cdff2bf2912366e7 /net
parent7b7f67a98e5b0867fe7ec984076b40f678db0a13 (diff)
downloadfreebsd-ports-gnome-cbf953c68aef2348dc987ad3cd38b235ad976808.tar.gz
freebsd-ports-gnome-cbf953c68aef2348dc987ad3cd38b235ad976808.tar.zst
freebsd-ports-gnome-cbf953c68aef2348dc987ad3cd38b235ad976808.zip
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)
Diffstat (limited to 'net')
-rw-r--r--net/licq-console/Makefile4
-rw-r--r--net/licq-devel/Makefile.inc2
-rw-r--r--net/licq-qt-gui/Makefile4
-rw-r--r--net/licq-qt-gui/pkg-plist1
-rw-r--r--net/licq/Makefile.inc1
5 files changed, 12 insertions, 0 deletions
diff --git a/net/licq-console/Makefile b/net/licq-console/Makefile
index 28a0d7bd5ea1..2a3c6e3b7757 100644
--- a/net/licq-console/Makefile
+++ b/net/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/licq-devel/Makefile.inc b/net/licq-devel/Makefile.inc
index d636db808af5..2e42d1261362 100644
--- a/net/licq-devel/Makefile.inc
+++ b/net/licq-devel/Makefile.inc
@@ -48,3 +48,5 @@ pre-patch:
.else
WRKSRC?= ${WRKDIR}/licq-${TIMESTAMP}/plugins/${PORTNAME}
.endif
+
+PLIST_SUB+= LICQ_DEVEL=""
diff --git a/net/licq-qt-gui/Makefile b/net/licq-qt-gui/Makefile
index 272ad66c9293..58781eeb5c26 100644
--- a/net/licq-qt-gui/Makefile
+++ b/net/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/licq-qt-gui/pkg-plist b/net/licq-qt-gui/pkg-plist
index 3f96f6e8b6fd..cb5ec2200c0b 100644
--- a/net/licq-qt-gui/pkg-plist
+++ b/net/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/licq/Makefile.inc b/net/licq/Makefile.inc
index 5efe120b1617..5d1ad736d3ec 100644
--- a/net/licq/Makefile.inc
+++ b/net/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 "