aboutsummaryrefslogtreecommitdiff
path: root/devel/fb303
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2013-03-13 06:51:06 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2013-03-13 06:51:06 +0000
commit82a1a810bae29c841748d99b224209825445d3dd (patch)
tree96d56dbe00726a4872752db4b32bab456d087712 /devel/fb303
parent52acc72fdf75dca9b3a8445bcc315d5c6fd67657 (diff)
downloadports-82a1a810bae29c841748d99b224209825445d3dd.tar.gz
ports-82a1a810bae29c841748d99b224209825445d3dd.zip
- trim Makefile header
- remove indefinite article from COMMENT - remove unused PYTHON_VERSION_SHORTNAME from Makefile - tab -> space change in pkg-descr:WWW - do not hardcode python versions in pkg-plist - do not try to remove directories, that we didn't created Submitted by: rm (myself) Approved by: Valery Komarov <komarov@valerka.net> (maintainer)
Notes
Notes: svn path=/head/; revision=314031
Diffstat (limited to 'devel/fb303')
-rw-r--r--devel/fb303/Makefile8
-rw-r--r--devel/fb303/pkg-descr2
-rw-r--r--devel/fb303/pkg-plist5
3 files changed, 5 insertions, 10 deletions
diff --git a/devel/fb303/Makefile b/devel/fb303/Makefile
index 9beffffbaeaa..bc4a171e3470 100644
--- a/devel/fb303/Makefile
+++ b/devel/fb303/Makefile
@@ -1,9 +1,9 @@
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
-#
PORTNAME= fb303
PORTVERSION= ${THRIFT_PORTVERSION}
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= APACHE
@@ -11,7 +11,7 @@ MASTER_SITE_SUBDIR= thrift/${PORTVERSION}
DISTNAME= thrift-${PORTVERSION}
MAINTAINER= komarov@valerka.net
-COMMENT= The Facebook Bassline
+COMMENT= Facebook Bassline
LICENSE= AL2
@@ -21,15 +21,13 @@ LIB_DEPENDS= boost_system:${PORTSDIR}/devel/boost-libs \
ACLOCAL_ARGS= -I ./aclocal
AUTOMAKE_ARGS= -a
CONFIGURE_ARGS= PY_PREFIX="${PREFIX}"
-PLIST_SUB+= PYTHON_VERSION_SHORTNAME="${PYTHON_VERSION_SHORTNAME}"
-PYTHON_VERSION_SHORTNAME= ${PYTHON_VERSION:S/thon//}
USE_AUTOTOOLS= aclocal automake autoconf
USE_GMAKE= yes
USE_PERL5_RUN= yes
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/contrib/fb303
-PLIST_SUB+= PORTVERSION="${PORTVERSION}"
+PLIST_SUB+= PORTVERSION="${PORTVERSION}" PYTHON_VER="${PYTHON_VER}"
post-build:
(cd ${WRKSRC} && ${LOCALBASE}/bin/thrift --gen perl ${WRKSRC}/if/fb303.thrift)
diff --git a/devel/fb303/pkg-descr b/devel/fb303/pkg-descr
index 705dae07a9c9..f70b26b2efb1 100644
--- a/devel/fb303/pkg-descr
+++ b/devel/fb303/pkg-descr
@@ -1,4 +1,4 @@
A standard interface to monitoring, dynamic options and
configuration, uptime reports, activity, etc.
-WWW: http://incubator.apache.org/thrift/
+WWW: http://incubator.apache.org/thrift/
diff --git a/devel/fb303/pkg-plist b/devel/fb303/pkg-plist
index 73d0928e9a12..76daa51b9e6f 100644
--- a/devel/fb303/pkg-plist
+++ b/devel/fb303/pkg-plist
@@ -21,15 +21,12 @@ lib/libfb303.a
%%PYTHON_SITELIBDIR%%/fb303_scripts/__init__.pyc
%%PYTHON_SITELIBDIR%%/fb303_scripts/fb303_simple_mgmt.py
%%PYTHON_SITELIBDIR%%/fb303_scripts/fb303_simple_mgmt.pyc
-%%PYTHON_SITELIBDIR%%/thrift-%%PORTVERSION%%-py2.7.egg-info
+%%PYTHON_SITELIBDIR%%/thrift-%%PORTVERSION%%-py%%PYTHON_VER%%.egg-info
%%DATADIR%%/if/fb303.thrift
@dirrm %%DATADIR%%/if
@dirrm %%DATADIR%%
@dirrm %%PYTHON_SITELIBDIR%%/fb303_scripts
@dirrm %%PYTHON_SITELIBDIR%%/fb303
-@dirrm %%PYTHON_SITELIBDIR%%
-@dirrm lib/python2.7
@dirrm %%SITE_PERL%%/Facebook/FB303
@dirrm %%SITE_PERL%%/Facebook
@dirrm include/thrift/fb303
-@dirrm include/thrift