From 60efbc449506f3f0fa1ad35092fddc0ef2048efd Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Thu, 12 Jun 2014 02:03:27 +0000 Subject: [PATCH] 1: Stagify. 2: bump version due pkg-plist changed. --- www/py-webware-component/Makefile | 6 +++--- www/py-webware-component/pkg-plist | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/www/py-webware-component/Makefile b/www/py-webware-component/Makefile index e8c9afb519b7..c4d5a6ee1439 100644 --- a/www/py-webware-component/Makefile +++ b/www/py-webware-component/Makefile @@ -3,6 +3,7 @@ PORTNAME= Component PORTVERSION= 0.2 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= http://www.webwareforpython.org/downloads/${PORTNAME}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}webware- @@ -14,7 +15,6 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}webware>0:${PORTSDIR}/www/py-webware USE_PYTHON= 2 -NO_STAGE= yes do-build: @${ECHO_MSG} -n ">> Compiling ..." @${PYTHON_CMD} -c "import compileall; compileall.compile_dir('${WRKSRC}')" @@ -23,8 +23,8 @@ do-build: do-install: @${ECHO_CMD} -n ">> Installing ..." @cd ${WRKSRC} && \ - ${FIND} . -type d -exec ${MKDIR} "${PREFIX}/share/webware/${PORTNAME}/{}" \; && \ - ${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/webware/${PORTNAME}/{}" \; + ${FIND} . -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/share/webware/${PORTNAME}/{}" \; && \ + ${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/share/webware/${PORTNAME}/{}" \; @${ECHO_MSG} " [ DONE ]" .include diff --git a/www/py-webware-component/pkg-plist b/www/py-webware-component/pkg-plist index 9911baef9a60..e3a416469356 100644 --- a/www/py-webware-component/pkg-plist +++ b/www/py-webware-component/pkg-plist @@ -21,4 +21,3 @@ share/webware/Component/setup.pyc @dirrm share/webware/Component/Component.egg-info @dirrm share/webware/Component/Component @dirrm share/webware/Component -@dirrm share/webware