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 |
|