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)
This commit is contained in:
Max Khon 2002-02-08 10:10:39 +00:00
parent 4cbed426c6
commit cafdf2676d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54368
9 changed files with 22 additions and 0 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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

View File

@ -27,3 +27,4 @@ USE_GMAKE= yes
USE_NEWGCC= yes
USE_BZIP2= yes
WRKSRC?= ${WRKDIR}/${DISTNAME}/plugins/${PORTNAME}-${PORTVERSION}
PLIST_SUB+= LICQ_DEVEL="@comment "

View File

@ -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>

View File

@ -48,3 +48,5 @@ pre-patch:
.else
WRKSRC?= ${WRKDIR}/licq-${TIMESTAMP}/plugins/${PORTNAME}
.endif
PLIST_SUB+= LICQ_DEVEL=""

View File

@ -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>

View File

@ -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

View File

@ -27,3 +27,4 @@ USE_GMAKE= yes
USE_NEWGCC= yes
USE_BZIP2= yes
WRKSRC?= ${WRKDIR}/${DISTNAME}/plugins/${PORTNAME}-${PORTVERSION}
PLIST_SUB+= LICQ_DEVEL="@comment "