pkgsrc-wip/xchat2-perl/Makefile
Min Sik Kim 001e3bfb6e Import xchat2-perl.
XChat is a graphical IRC client that runs on UNIX-like systems.  This
is a Perl scripting plugin for XChat.
2004-12-28 00:10:18 +00:00

35 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2004/12/28 00:10:18 minskim Exp $
.include "../../chat/xchat2/Makefile.common"
PKGNAME= ${DISTNAME:S/-/-perl-/}
COMMENT= Perl scripting plugin for xchat2
DEPENDS+= xchat>=2.0.0:../../chat/xchat2
BUILD_DIRS?= ${WRKSRC}/plugins/perl
CONFIGURE_ARGS+= --disable-gtkfe
CONFIGURE_ARGS+= --enable-tcl=no
CONFIGURE_ARGS+= --enable-perl
CONFIGURE_ARGS+= --disable-python
USE_PERL5= YES
REPLACE_PERL= plugins/perl/sample_script.pl plugins/perl/ignore.pl
.include "../../lang/perl5/buildlink3.mk"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xchat
${INSTALL_SCRIPT} ${WRKSRC}/plugins/perl/sample_script.pl \
${PREFIX}/share/examples/xchat
${INSTALL_SCRIPT} ${WRKSRC}/plugins/perl/ignore.pl \
${PREFIX}/share/examples/xchat
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xchat
${INSTALL_DATA} ${WRKSRC}/plugins/perl/xchat2-perl.html \
${PREFIX}/share/doc/xchat
${INSTALL_DATA} ${WRKSRC}/plugins/perl/xchat2-perldocs.html \
${PREFIX}/share/doc/xchat
.include "../../mk/bsd.pkg.mk"