- Make use of CPAN:USER macro
- Use versioned checks for (BUILD|RUN)_DEPENDS - Add LICENSE - Add installing examples output PR: ports/159565 Submitted by: Jase Thew <freebsd@beardz.net> (maintainer)
This commit is contained in:
parent
099e24d34e
commit
65f943168e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=279075
1 changed files with 7 additions and 4 deletions
|
@ -9,15 +9,17 @@ PORTNAME= POE-Loop-Glib
|
|||
PORTVERSION= 0.038
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
MASTER_SITE_SUBDIR= CPAN:APOCAL
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= freebsd@beardz.net
|
||||
COMMENT= A bridge that supports Glib event loop from POE
|
||||
|
||||
BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \
|
||||
${SITE_PERL}/${PERL_ARCH}/Glib.pm:${PORTSDIR}/devel/p5-Glib2
|
||||
RUN_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \
|
||||
${SITE_PERL}/${PERL_ARCH}/Glib.pm:${PORTSDIR}/devel/p5-Glib2
|
||||
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
|
||||
|
@ -26,6 +28,7 @@ MAN3= POE::Loop::Glib.3
|
|||
|
||||
post-install:
|
||||
.ifndef(NOPORTEXAMPLES)
|
||||
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue