update Tue May 25 18:37:00 PDT 2010
[pkgsrc.git] / chat / xchat-perl / Makefile
1 # $NetBSD: Makefile,v 1.6 2009/12/20 10:09:42 tron Exp $
2
3 .include "../../chat/xchat/Makefile.common"
4
5 PKGNAME=                ${DISTNAME:S/-/-perl-/}
6 OWNER=                  tron@NetBSD.org
7 PKGREVISION=            1
8
9 COMMENT=                Perl scripting plugin for XChat
10
11 DEPENDS+=               xchat>=2.0.0:../../chat/xchat
12
13 BUILD_DIRS?=            plugins/perl
14
15 CONFIGURE_ARGS+=        --disable-gtkfe
16 CONFIGURE_ARGS+=        --enable-tcl=no
17 CONFIGURE_ARGS+=        --enable-perl
18 CONFIGURE_ARGS+=        --disable-python
19
20 USE_PERL5=      YES
21 USE_TOOLS+=     perl
22
23 .include "../../lang/perl5/buildlink3.mk"
24
25 post-install:
26         ${INSTALL_DATA_DIR} ${DESTDIR}/${PREFIX}/share/examples/xchat
27         ${INSTALL_DATA} ${WRKSRC}/plugins/perl/alt_completion.pl \
28                 ${DESTDIR}/${PREFIX}/share/examples/xchat
29         ${INSTALL_DATA_DIR} ${DESTDIR}/${PREFIX}/share/doc/xchat
30         ${INSTALL_DATA} ${WRKSRC}/plugins/perl/xchat2-perl.html \
31                 ${DESTDIR}/${PREFIX}/share/doc/xchat
32         ${INSTALL_DATA} ${WRKSRC}/plugins/perl/xchat2-perldocs.html \
33                 ${DESTDIR}/${PREFIX}/share/doc/xchat
34
35 .include "../../mk/bsd.pkg.mk"