openbsd-ports/net/coccinella/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.4 2006/11/20 13:07:20 espie Exp $
COMMENT= "Jabber client with whiteboard communication"
DISTNAME= Coccinella-0.95.4Src
PKGNAME= ${DISTNAME:S/Src$//:L}
CATEGORIES= net
HOMEPAGE= http://hem.fyristorg.com/matben/
MAINTAINER= Marc Bruenink <marc@bruenink.de>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=coccinella/}
RUN_DEPENDS= ::x11/tk/8.4
USE_X11= Yes
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
pre-configure:
@perl -pi -e 's,!!COCCINELLALIB!!,${LOCALBASE}/lib/coccinella,'\
${WRKSRC}/Coccinella.tcl ${WRKSRC}/lib/Init.tcl
do-install:
${INSTALL_SCRIPT_DIR} ${PREFIX}/lib/coccinella
@cd ${WRKSRC} ; tar cf - TclXML [c-z]* | \
tar xf - -C ${PREFIX}/lib/coccinella/
${INSTALL_SCRIPT} ${WRKSRC}/Coccinella.tcl ${PREFIX}/lib/coccinella/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/coccinella
@cd ${WRKSRC} && ${INSTALL_DATA} README.txt READMEs/README-jabber \
READMEs/README-smileys msgs/README_encodings \
sounds/README-sounds \
${PREFIX}/share/doc/coccinella/
.include <bsd.port.mk>