aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-POE-Loop-Glib/Makefile
blob: d7ceeb1c86a8bb8a73aae16284faa7d08d07af89 (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
# New ports collection makefile for:    POE-Loop-Glib
# Date created:    Jul 30 2010
# Whom:        Jase Thew <freebsd@beardz.net>
#
# $FreeBSD$
#

PORTNAME=   POE-Loop-Glib
PORTVERSION=    0.038
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:APOCAL
PKGNAMEPREFIX=  p5-

MAINTAINER= jase@FreeBSD.org
COMMENT=    A bridge that supports Glib event loop from POE

LICENSE=    GPLv2

BUILD_DEPENDS=  p5-POE>=1.288:${PORTSDIR}/devel/p5-POE \
        p5-Glib2>=1.222:${PORTSDIR}/devel/p5-Glib2
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PLIST_SUB=  EXAMPLESDIR="share/examples/${PORTNAME}"
PERL_CONFIGURE= yes

MAN3=       POE::Loop::Glib.3

post-install:
.ifndef(NOPORTEXAMPLES)
    @${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>