2010-07-28 14:03:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2010/07/28 18:03:00 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-07-28 14:03:00 -04:00
|
|
|
DISTNAME = Coccinella-0.96.18Src
|
|
|
|
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-07-28 14:03:00 -04:00
|
|
|
cd ${WRKSRC} ; tar cf - TclXML [c-z]* | \
|
2004-12-07 08:21:43 -05:00
|
|
|
tar xf - -C ${PREFIX}/lib/coccinella/
|
2010-07-28 14:03:00 -04:00
|
|
|
rm ${PREFIX}/lib/coccinella/lib/Init.tcl.*
|
|
|
|
${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>
|