diff options
author | Wen Heping <wen@FreeBSD.org> | 2010-03-08 06:26:53 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2010-03-08 06:26:53 +0000 |
commit | e077419b03285c45e1dae87178737ed83e37a479 (patch) | |
tree | 75f6f195eafffa03488efd7e669a234ffbb08b27 /finance/openerp-server/Makefile | |
parent | ba730ceffbd4bd9f2e2824667127e0ebe284d36f (diff) | |
download | ports-e077419b03285c45e1dae87178737ed83e37a479.tar.gz ports-e077419b03285c45e1dae87178737ed83e37a479.zip |
Notes
Diffstat (limited to 'finance/openerp-server/Makefile')
-rw-r--r-- | finance/openerp-server/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/finance/openerp-server/Makefile b/finance/openerp-server/Makefile index 5f277e6f5de7..163da9ad91a3 100644 --- a/finance/openerp-server/Makefile +++ b/finance/openerp-server/Makefile @@ -7,7 +7,7 @@ PORTNAME= openerp-server PORTVERSION= 5.0.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= finance python MASTER_SITES= http://openerp.com/download/stable/source/ @@ -27,6 +27,10 @@ BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imag ${PYTHON_SITELIBDIR}/reportlab/__init__.py:${PORTSDIR}/print/py-reportlab2 RUN_DEPENDS= ${BUILD_DEPENDS} +USE_RC_SUBR= openerpd +SUB_FILES= openerp-server.conf pkg-message +SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} + USE_PYTHON= 2.4+ USE_PYDISTUTILS= yes PYDISTUTILS_EGGINFO= openerp_server-5.0.6-${PYTHON_VERSION:S/thon//}.egg-info @@ -47,10 +51,15 @@ post-install: ${INSTALL_MAN} ${WRKSRC}/man/openerp-server.1 ${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/man/openerp_serverrc.5 ${PREFIX}/man/man5 + ${INSTALL_DATA} ${WRKDIR}/openerp-server.conf ${PREFIX}/etc/openerp-server.conf + @${ECHO} etc/openerp-server.conf >> ${TMPPLIST} + @${ECHO} bin/openerp-server >> ${TMPPLIST} @${FIND} -s -d ${PYTHON_SITELIBDIR}/${PORTNAME} \ -type f | ${SED} 's#${PREFIX}/##g' >> ${TMPPLIST} @${FIND} -s -d ${PYTHON_SITELIBDIR}/${PORTNAME} \ -type d | ${SED} 's#${PREFIX}/#@dirrm #g' >> ${TMPPLIST} + @${CAT} ${PKGMESSAGE} + .include <bsd.port.post.mk> |