diff options
author | Wen Heping <wen@FreeBSD.org> | 2009-10-11 09:00:39 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2009-10-11 09:00:39 +0000 |
commit | 77886f03aa6df903d7189b1735776f3a89fcd2f8 (patch) | |
tree | 1c538797256124de9c6395a98bfd79bc630ba721 /devel/fb303/Makefile | |
parent | b410e731a83bf2bb7ac662f2780aaa1fd6d6f571 (diff) | |
download | ports-77886f03aa6df903d7189b1735776f3a89fcd2f8.tar.gz ports-77886f03aa6df903d7189b1735776f3a89fcd2f8.zip |
Notes
Diffstat (limited to 'devel/fb303/Makefile')
-rw-r--r-- | devel/fb303/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/fb303/Makefile b/devel/fb303/Makefile index 30d3ce37a5e6..f513a7cb868c 100644 --- a/devel/fb303/Makefile +++ b/devel/fb303/Makefile @@ -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 |