openbsd-ports/net/coccinella/Makefile
david f85600afe0 move any perl or sed substitutions from post-patch to pre-configure
(fixes make update-patches)
ok sturm@; "looks reasonable" steven@
2006-02-08 04:54:48 +00:00

44 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2006/02/08 04:54:49 david 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= *
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>