freebsd-ports/devel/p5-POE-Loop-Glib/Makefile
2014-02-05 16:24:27 +00:00

31 lines
749 B
Makefile

# Created by: 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}"
USES= perl5
USE_PERL5= configure
post-install:
.ifndef(NOPORTEXAMPLES)
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>