diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2007-03-06 03:09:36 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2007-03-06 03:09:36 +0000 |
commit | f46957385f4cb97f88e2115533b5d4c992dc483e (patch) | |
tree | acc83e8117dca2b88d4cffe5eeb4dd0c5eeed76a /www/trac-webadmin | |
parent | - fix build error when configured with FLEXRESP2 (diff) |
- Upgrade to 0.1.2dev (svn r4429).
PR: ports/109341 (based on)
Submitted by: Li-Wen Hsu <lwhsu@lwhsu.org>
Notes
Notes:
svn path=/head/; revision=186622
Diffstat (limited to 'www/trac-webadmin')
-rw-r--r-- | www/trac-webadmin/Makefile | 37 | ||||
-rw-r--r-- | www/trac-webadmin/distinfo | 6 | ||||
-rw-r--r-- | www/trac-webadmin/pkg-plist | 53 |
3 files changed, 77 insertions, 19 deletions
diff --git a/www/trac-webadmin/Makefile b/www/trac-webadmin/Makefile index e20516b4c13b..b44803a3d00e 100644 --- a/www/trac-webadmin/Makefile +++ b/www/trac-webadmin/Makefile @@ -6,31 +6,38 @@ # PORTNAME= webadmin -PORTVERSION= 0.1.1.2765 -PORTREVISION= 1 +PORTVERSION= 0.1.2.4429 CATEGORIES= www devel python -#MASTER_SITES= http://projects.edgewall.com/trac/attachment/wiki/WebAdmin/TracWebAdmin-0.1.1dev_r2765-py2.4.egg.zip?format=raw +#MASTER_SITES= http://trac.edgewall.org/browser/sandbox/webadmin MASTER_SITES= http://dist.bsdlab.org/ PKGNAMEPREFIX= trac- -DISTNAME= TracWebAdmin-${VERSION_ID}.egg +DISTNAME= TracWebAdmin-${PORTVERSION} MAINTAINER= kuriyama@FreeBSD.org COMMENT= Web Administering plugin for trac -RUN_DEPENDS= tracd:${PORTSDIR}/www/trac \ - easy_install:${PORTSDIR}/devel/py-setuptools +BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \ + tracd:${PORTSDIR}/www/trac +RUN_DEPENDS= ${BUILD_DEPENDS} -USE_ZIP= yes -USE_PYTHON= yes -WRKSRC= ${WRKDIR}/${PORTNAME} -PLIST_SUB= VERSION=${VERSION_ID} -NO_BUILD= yes +USE_PYTHON= yes +USE_PYDISTUTILS= yes +WRKSRC= ${WRKDIR}/${PORTNAME} -VERSION_ID= 0.1.1dev_r2765-py2.4 +EASY_INSTALL_CMD?= easy_install-${PYTHON_VER} -do-install: - ${INSTALL_DATA} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ - ${PYTHON_SITELIBDIR}/${DISTNAME} +PYDISTUTILS_BUILD_TARGET= bdist_egg +PYDISTUTILS_INSTALL_TARGET= easy_install +PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${TRACWEBADMIN_EGG} + +TRACWEBADMIN_EGG= TracWebAdmin-${PORTVERSION:R}dev-py${PYTHON_VER}.egg + +PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \ + TRACWEBADMIN_EGG=${TRACWEBADMIN_EGG} \ + TRACWEBADMIN_EGG_VER="TracWebAdmin==${PORTVERSION:R}dev" + +post-install: + ${LN} -s ${TRACWEBADMIN_EGG} ${PYTHON_SITELIBDIR}/webadmin # --- trac.ini # [components] diff --git a/www/trac-webadmin/distinfo b/www/trac-webadmin/distinfo index 46b50b3fe758..f76b2cc069f7 100644 --- a/www/trac-webadmin/distinfo +++ b/www/trac-webadmin/distinfo @@ -1,3 +1,3 @@ -MD5 (TracWebAdmin-0.1.1dev_r2765-py2.4.egg.zip) = c23b27749a9ba092cc69610db9e7414a -SHA256 (TracWebAdmin-0.1.1dev_r2765-py2.4.egg.zip) = 2c894c5ac8bd5734e1e19ee0db06ad389884005d637afdd559a4e81f3bba17df -SIZE (TracWebAdmin-0.1.1dev_r2765-py2.4.egg.zip) = 34348 +MD5 (TracWebAdmin-0.1.2.4429.tar.gz) = 2c0b14f76fb1729997573657fe739829 +SHA256 (TracWebAdmin-0.1.2.4429.tar.gz) = 6edca5a3be52c70c89d112e820b2105501eea530e4de5e4f1ee19b4f76842b63 +SIZE (TracWebAdmin-0.1.2.4429.tar.gz) = 14262 diff --git a/www/trac-webadmin/pkg-plist b/www/trac-webadmin/pkg-plist index fc6ab26b5fdf..de090fd6fbc7 100644 --- a/www/trac-webadmin/pkg-plist +++ b/www/trac-webadmin/pkg-plist @@ -1 +1,52 @@ -%%PYTHON_SITELIBDIR%%/TracWebAdmin-%%VERSION%%.egg +@unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%TRACWEBADMIN_EGG_VER%% +@unexec rm -f %D/%%PYTHON_SITELIBDIR%%/webadmin +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/EGG-INFO/entry_points.txt +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/__init__.py +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/basics.py +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/basics.pyc +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/basics.pyo +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/htdocs/css/admin.css +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/htdocs/img/collapsed.png +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/htdocs/img/expanded.png +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/htdocs/js/admin.js +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/logging.py +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/logging.pyc +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/logging.pyo +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/perm.py +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/perm.pyc +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/perm.pyo +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/plugin.py +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/plugin.pyc +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/plugin.pyo +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/templates/admin.cs +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/templates/admin_basics.cs +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/templates/admin_component.cs +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/templates/admin_enum.cs +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/templates/admin_log.cs +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/templates/admin_milestone.cs +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/templates/admin_perm.cs +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/templates/admin_plugin.cs +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/templates/admin_version.cs +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/ticket.py +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/ticket.pyc +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/ticket.pyo +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/web_ui.py +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/web_ui.pyc +%%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/web_ui.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/templates +@dirrm %%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/htdocs/js +@dirrm %%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/htdocs/img +@dirrm %%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/htdocs/css +@dirrm %%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin/htdocs +@dirrm %%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/webadmin +@dirrm %%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%TRACWEBADMIN_EGG%% +@exec ln -s %%TRACWEBADMIN_EGG%% %D/%%PYTHON_SITELIBDIR%%/webadmin +@exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%TRACWEBADMIN_EGG_VER%% |