pkgsrc-wip/xchat2-perl/Makefile
2008-03-08 18:42:37 +00:00

32 lines
863 B
Makefile

# $NetBSD: Makefile,v 1.4 2008/03/08 18:42:37 tnn2 Exp $
.include "../../chat/xchat/Makefile.common"
PKGNAME= ${DISTNAME:S/-/-perl-/}
COMMENT= Perl scripting plugin for xchat
INSTALLATION_DIRS= share/examples/xchat share/doc/xchat
DEPENDS+= xchat>=2.0.0:../../chat/xchat
BUILD_DIRS= plugins/perl
CONFIGURE_ARGS+= --disable-gtkfe
CONFIGURE_ARGS+= --enable-tcl=no
CONFIGURE_ARGS+= --enable-perl
CONFIGURE_ARGS+= --disable-python
USE_TOOLS+= perl
REPLACE_PERL= plugins/perl/alt_completion.pl
.include "../../lang/perl5/buildlink3.mk"
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/plugins/perl/alt_completion.pl \
${PREFIX}/share/examples/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"