openbsd-ports/net/coccinella/Makefile
alek 470be3178b - Update to 0.95.4
- Patch sources so @(un)exec is no longer needed

Mostly from Marc Bruenink <marc@bruenink.de> (MAINTAINER)
2005-04-18 21:59:51 +00:00

44 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2005/04/18 21:59:51 alek 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= wish8.4::x11/tk/8.4
USE_X11= Yes
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
post-patch:
@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>