View | Details | Raw Unified | Return to bug 164704
Collapse All | Expand All

(-)/nfs/home/10.4.1.1/vol/home/admin/stephon/ports/net/scribe/Makefile (-4 / +5 lines)
Lines 6-11 Link Here
6
6
7
PORTNAME=	scribe
7
PORTNAME=	scribe
8
DISTVERSION=	2.2.2011.07.27
8
DISTVERSION=	2.2.2011.07.27
9
PORTREVISION=	1
9
CATEGORIES=	net
10
CATEGORIES=	net
10
MASTER_SITES=	https://github.com/facebook/scribe/tarball/${GITVERSION}/
11
MASTER_SITES=	https://github.com/facebook/scribe/tarball/${GITVERSION}/
11
DISTNAME=	facebook-scribe-${GITVERSION}
12
DISTNAME=	facebook-scribe-${GITVERSION}
Lines 21-27 Link Here
21
		p5-Thrift>0:${PORTSDIR}/devel/p5-Thrift \
22
		p5-Thrift>0:${PORTSDIR}/devel/p5-Thrift \
22
		${PYTHON_SITELIBDIR}/thrift/__init__.py:${PORTSDIR}/devel/py-thrift
23
		${PYTHON_SITELIBDIR}/thrift/__init__.py:${PORTSDIR}/devel/py-thrift
23
24
24
GITVERSION=	6600084
25
GITVERSION=	63e4824
25
FETCH_ARGS=	-pRr
26
FETCH_ARGS=	-pRr
26
WRKSRC=		${WRKDIR}/${DISTNAME}
27
WRKSRC=		${WRKDIR}/${DISTNAME}
27
28
Lines 37-48 Link Here
37
USE_PYTHON=	yes
38
USE_PYTHON=	yes
38
USE_RC_SUBR=	${PORTNAME}
39
USE_RC_SUBR=	${PORTNAME}
39
40
40
post-patch:
41
post-build:
41
	${REINPLACE_CMD} -e 's|/usr/local/scribe|${LOCALBASE}/etc|' ${WRKSRC}/src/env_default.h
42
	${LOCALBASE}/bin/thrift -o ${WRKSRC} -I ${LOCALBASE}/share --gen "perl" ${WRKSRC}/if/scribe.thrift
42
43
43
post-install:
44
post-install:
44
	${MKDIR} ${PREFIX}/${SITE_PERL_REL}/Scribe/Thrift
45
	${MKDIR} ${PREFIX}/${SITE_PERL_REL}/Scribe/Thrift
45
	${CP} -R ${WRKSRC}/src/gen-perl/ ${PREFIX}/${SITE_PERL_REL}
46
	${CP} -R ${WRKSRC}/gen-perl/ ${PREFIX}/${SITE_PERL_REL}
46
	${MKDIR} ${EXAMPLESDIR}
47
	${MKDIR} ${EXAMPLESDIR}
47
	${CP} ${WRKSRC}/examples/* ${EXAMPLESDIR}
48
	${CP} ${WRKSRC}/examples/* ${EXAMPLESDIR}
48
49
(-)/nfs/home/10.4.1.1/vol/home/admin/stephon/ports/net/scribe/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (facebook-scribe-6600084.tar.gz) = a10b7d360bc2946d50d30b4e8e8fd0b1ba8338a45ac040b2373435d9d7ab21f5
1
SHA256 (facebook-scribe-63e4824.tar.gz) = e4fd56649e35b8ff508d8f915cd29bd15b888c301043a7d930acf83b9ee5aa2f
2
SIZE (facebook-scribe-6600084.tar.gz) = 97096
2
SIZE (facebook-scribe-63e4824.tar.gz) = 97107
(-)/nfs/home/10.4.1.1/vol/home/admin/stephon/ports/net/scribe/files/patch-global_header.mk (-11 lines)
Lines 1-11 Link Here
1
--- ./global_header.mk.orig	2011-06-27 09:59:22.000000000 +0400
2
+++ ./global_header.mk	2011-10-19 18:00:32.000000000 +0400
3
@@ -4,7 +4,7 @@
4
 #endef
5
 
6
 define thrift_template
7
-XTARGET := $(shell perl -e '@val = split("\/","$(2)"); $$last = pop(@val);split("\\.",$$last);print "$(1)/"."gen-cpp/"."@_[0]"."_types.cpp\n"' )
8
+XTARGET := $(shell perl -e '@val = split("\/","$(2)");$$last = pop(@val);@fields = split("\\.",$$last);print "$(1)/gen-cpp/@fields[0]_types.cpp\n"')
9
 
10
 ifneq ($$(XBUILT_SOURCES),) 
11
     XBUILT_SOURCES := $$(XBUILT_SOURCES) $$(XTARGET)
(-)/nfs/home/10.4.1.1/vol/home/admin/stephon/ports/net/scribe/pkg-plist (-1 lines)
Lines 1-7 Link Here
1
bin/scribed
1
bin/scribed
2
lib/libdynamicbucketupdater.a
2
lib/libdynamicbucketupdater.a
3
lib/libscribe.a
3
lib/libscribe.a
4
%%SITE_PERL%%/Scribe/Thrift/BucketStoreMapping.pm
5
%%SITE_PERL%%/Scribe/Thrift/Constants.pm
4
%%SITE_PERL%%/Scribe/Thrift/Constants.pm
6
%%SITE_PERL%%/Scribe/Thrift/Types.pm
5
%%SITE_PERL%%/Scribe/Thrift/Types.pm
7
%%SITE_PERL%%/Scribe/Thrift/scribe.pm
6
%%SITE_PERL%%/Scribe/Thrift/scribe.pm

Return to bug 164704