- Enable stagedir support

- Remove easy_install dependency
- Convert to PYDISTUTILS_AUTOPLIST
- Bump PORTREVISION to enforce a cleanup for the easy_install references

With hat:	python@
Approved by:	portmgr (implicit)
This commit is contained in:
Marcus von Appen 2014-06-09 17:40:52 +00:00
parent b1d80b1111
commit 543dd79282
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357187
2 changed files with 8 additions and 1222 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= openerp-web
PORTVERSION= 5.0.11
PORTREVISION= 1
CATEGORIES= finance python
MASTER_SITES= http://openerp.com/download/stable/source/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -24,18 +25,17 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= gettext
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_NOEGGINFO= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USE_RC_SUBR= openerp-web
WRKSRC= ${WRKDIR}/openerp-web-${PORTVERSION}
NO_STAGE= yes
post-install:
@${INSTALL_DATA} ${FILESDIR}/openerp-web.conf ${PREFIX}/etc/openerp-web.conf.sample
@${INSTALL_SCRIPT} ${FILESDIR}/openerp-web.wrapper ${PREFIX}/bin/openerp-web
@${MKDIR} ${PREFIX}/openerp-web
@${INSTALL_SCRIPT} ${FILESDIR}/openerp-web.py ${PREFIX}/openerp-web/openerp-web.py
@${INSTALL_DATA} ${FILESDIR}/openerp-web.conf ${STAGEDIR}${PREFIX}/etc/openerp-web.conf.sample
@${INSTALL_SCRIPT} ${FILESDIR}/openerp-web.wrapper ${STAGEDIR}${PREFIX}/bin/openerp-web
@${MKDIR} ${STAGEDIR}${PREFIX}/openerp-web
@${INSTALL_SCRIPT} ${FILESDIR}/openerp-web.py ${STAGEDIR}${PREFIX}/openerp-web/openerp-web.py
.include <bsd.port.mk>

File diff suppressed because it is too large Load Diff