aboutsummaryrefslogtreecommitdiffstats
path: root/irc/p5-POE-Session-Irssi/Makefile
blob: d581c211f5bcfd034c5c47dc0ab17598c15332b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Created by: Jase Thew <freebsd@beardz.net>
# $FreeBSD$

PORTNAME=   POE-Session-Irssi
PORTVERSION=    0.50
PORTREVISION=   3
CATEGORIES= irc perl5 devel
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:MARTIJN
PKGNAMEPREFIX=  p5-

MAINTAINER= ports@FreeBSD.org
COMMENT=    Emit POE events for Irssi signals

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/LICENSE

BUILD_DEPENDS=  p5-POE>=1.003:devel/p5-POE \
        p5-Sub-Uplevel>0:devel/p5-Sub-Uplevel \
        p5-POE-Loop-Glib>=0.036:devel/p5-POE-Loop-Glib
RUN_DEPENDS=    p5-POE>=1.003:devel/p5-POE \
        p5-Sub-Uplevel>0:devel/p5-Sub-Uplevel \
        p5-POE-Loop-Glib>=0.036:devel/p5-POE-Loop-Glib \
        irssi:irc/irssi

PLIST_SUB=  EXAMPLESDIR="share/examples/${PORTNAME}"
CONFIGURE_ARGS+=    INSTALLDIRS=site
USES=       perl5 shebangfix
SHEBANG_FILES=  samples/clean-backlog.pl
USE_PERL5=  configure
NO_ARCH=    yes

OPTIONS_DEFINE= EXAMPLES

post-install:
    @${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>