2010-10-05 11:17:13 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2010/10/05 15:17:13 sebastia Exp $
|
2004-12-07 08:21:43 -05:00
|
|
|
|
2010-07-28 14:03:00 -04:00
|
|
|
SHARED_ONLY = Yes
|
2004-12-07 08:21:43 -05:00
|
|
|
|
2010-07-28 14:03:00 -04:00
|
|
|
COMMENT = XMPP client with whiteboard
|
2004-12-07 08:21:43 -05:00
|
|
|
|
2010-10-05 11:17:13 -04:00
|
|
|
REVISION = 0
|
2010-10-01 09:09:54 -04:00
|
|
|
DISTNAME = Coccinella-0.96.20Src
|
2010-07-28 14:03:00 -04:00
|
|
|
PKGNAME = ${DISTNAME:S/Src$//:L}
|
|
|
|
CATEGORIES = net
|
2004-12-07 08:21:43 -05:00
|
|
|
|
2010-07-28 14:03:00 -04:00
|
|
|
HOMEPAGE = http://www.coccinella.im
|
|
|
|
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
|
2004-12-07 08:21:43 -05:00
|
|
|
|
2010-07-28 14:03:00 -04:00
|
|
|
# GPLv3
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2004-12-07 08:21:43 -05:00
|
|
|
|
2010-07-28 14:03:00 -04:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=coccinella/}
|
2004-12-07 08:21:43 -05:00
|
|
|
|
2010-07-28 14:03:00 -04:00
|
|
|
MODULES = x11/tk
|
2004-12-07 08:21:43 -05:00
|
|
|
|
2010-07-28 14:03:00 -04:00
|
|
|
# No dependencies to sound and telephony yet, due to the reason those
|
|
|
|
# need to be ported to sndio first
|
|
|
|
RUN_DEPENDS = ::devel/itcl \
|
|
|
|
::graphics/tkpng \
|
|
|
|
::graphics/tkimg \
|
|
|
|
::misc/memchan \
|
|
|
|
::net/tcludp \
|
|
|
|
::security/tcltls \
|
|
|
|
::x11/tkdnd \
|
|
|
|
::x11/tkhtml \
|
|
|
|
::x11/tktray \
|
|
|
|
::x11/tktreectrl
|
|
|
|
|
|
|
|
NO_BUILD = Yes
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
SEPARATE_BUILD = simple
|
|
|
|
COCCINELLALIB = ${LOCALBASE}/lib/coccinella
|
|
|
|
SUBST_VARS = COCCINELLALIB
|
2004-12-07 08:21:43 -05:00
|
|
|
|
2006-02-07 23:54:48 -05:00
|
|
|
pre-configure:
|
2010-07-28 14:03:00 -04:00
|
|
|
${MODTCL_WISH_ADJ} ${WRKSRC}/Coccinella.tcl
|
|
|
|
${SUBST_CMD} ${WRKSRC}/Coccinella.tcl \
|
|
|
|
${WRKSRC}/lib/Init.tcl
|
2004-12-07 08:21:43 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT_DIR} ${PREFIX}/lib/coccinella
|
2010-10-05 11:17:13 -04:00
|
|
|
cd ${WRKSRC} && find TclXML [c-z]* -type d -exec ${INSTALL_DATA_DIR} \
|
|
|
|
${PREFIX}/lib/coccinella/{} \; && \
|
|
|
|
find TclXML [c-z]* ! -type d -exec ${INSTALL_DATA} {} \
|
|
|
|
${PREFIX}/lib/coccinella/{} \; && \
|
|
|
|
${INSTALL_DATA} pkgIndex.tcl ${PREFIX}/lib/coccinella
|
2010-10-01 09:09:54 -04:00
|
|
|
rm ${PREFIX}/lib/coccinella/lib/Init.tcl.* \
|
|
|
|
${PREFIX}/lib/coccinella/show_own_jid.patch
|
2010-07-28 14:03:00 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/Coccinella.tcl ${PREFIX}/bin/coccinella
|
2004-12-07 08:21:43 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/coccinella
|
2010-07-28 14:03:00 -04:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} README.txt READMEs/README-xmpp \
|
|
|
|
READMEs/README-sounds \
|
2005-04-18 17:59:51 -04:00
|
|
|
${PREFIX}/share/doc/coccinella/
|
|
|
|
|
2004-12-07 08:21:43 -05:00
|
|
|
.include <bsd.port.mk>
|