- Add Perl support
PR: ports/139451 Submitted by: Gea-Suan Lin <gslin@gslin.org> (maintainer) Approved by: miwi(mentor)
This commit is contained in:
parent
b410e731a8
commit
77886f03aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=242659
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= fb303
|
||||
PORTVERSION= 20090622
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= bms
|
||||
@ -26,11 +27,21 @@ PYTHON_VERSION_SHORTNAME= ${PYTHON_VERSION:S/thon//}
|
||||
USE_AUTOTOOLS= aclocal:19 automake:19 autoconf:262
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
USE_PERL5_RUN= yes
|
||||
USE_PYTHON= yes
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/contrib/fb303
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-build:
|
||||
(cd ${WRKSRC} && ${LOCALBASE}/bin/thrift --gen perl ${WRKSRC}/if/fb303.thrift)
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${PREFIX}/${SITE_PERL_REL}/Facebook/FB303
|
||||
.for FILE in Constants.pm FacebookService.pm Types.pm
|
||||
${INSTALL_DATA} ${WRKSRC}/gen-perl/Facebook/FB303/${FILE} ${PREFIX}/${SITE_PERL_REL}/Facebook/FB303
|
||||
.endfor
|
||||
|
||||
.if ${OSVERSION} < 700000
|
||||
IGNORE= not supported
|
||||
.endif
|
||||
|
@ -15,6 +15,9 @@
|
||||
%%PYTHON_SITELIBDIR%%/fb303_scripts/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/fb303_scripts/fb303_simple_mgmt.py
|
||||
%%PYTHON_SITELIBDIR%%/fb303_scripts/fb303_simple_mgmt.pyc
|
||||
%%SITE_PERL%%/Facebook/FB303/Constants.pm
|
||||
%%SITE_PERL%%/Facebook/FB303/FacebookService.pm
|
||||
%%SITE_PERL%%/Facebook/FB303/Types.pm
|
||||
include/thrift/fb303/FacebookBase.h
|
||||
include/thrift/fb303/FacebookService.h
|
||||
include/thrift/fb303/ServiceTracker.h
|
||||
@ -23,6 +26,8 @@ include/thrift/fb303/fb303_types.h
|
||||
lib/libfb303.a
|
||||
@dirrmtry include/thrift/fb303
|
||||
@dirrmtry include/thrift
|
||||
@dirrmtry %%SITE_PERL%%/Facebook/FB303
|
||||
@dirrmtry %%SITE_PERL%%/Facebook
|
||||
@dirrmtry %%PYTHON_SITELIBDIR%%/fb303_scripts
|
||||
@dirrmtry %%PYTHON_SITELIBDIR%%/fb303
|
||||
@dirrmtry %%DATADIR%%/if
|
||||
|
Loading…
Reference in New Issue
Block a user