ports/139451: [MAINTAINER] devel/fb303: Add Perl support
Gea-Suan Lin
gslin at gslin.org
Fri Oct 9 13:40:06 UTC 2009
>Number: 139451
>Category: ports
>Synopsis: [MAINTAINER] devel/fb303: Add Perl support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 09 13:40:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Gea-Suan Lin
>Release: FreeBSD 7.2-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD colo-p.gslin.org 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Sat Aug 22 10:48:39 CST 2009
>Description:
- Add perl support.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- fb303-20090622_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/fb303/Makefile /home/staff/gslin/work/ports/fb303/Makefile
--- /usr/ports/devel/fb303/Makefile 2009-09-26 02:23:56.000000000 +0800
+++ /home/staff/gslin/work/ports/fb303/Makefile 2009-10-09 21:29:15.000000000 +0800
@@ -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 @@
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
diff -ruN --exclude=CVS /usr/ports/devel/fb303/pkg-plist /home/staff/gslin/work/ports/fb303/pkg-plist
--- /usr/ports/devel/fb303/pkg-plist 2009-09-26 02:23:56.000000000 +0800
+++ /home/staff/gslin/work/ports/fb303/pkg-plist 2009-10-09 21:29:07.000000000 +0800
@@ -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 @@
lib/libfb303.a
@dirrmtry include/thrift/fb303
@dirrmtry include/thrift
+ at dirrmtry %%SITE_PERL%%/Facebook/FB303
+ at dirrmtry %%SITE_PERL%%/Facebook
@dirrmtry %%PYTHON_SITELIBDIR%%/fb303_scripts
@dirrmtry %%PYTHON_SITELIBDIR%%/fb303
@dirrmtry %%DATADIR%%/if
--- fb303-20090622_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list