1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Support STAGE (in preparation to commit PR/181691)..

PR:		ports/181691
Submitted by:	Matthias Petermann <matthias@petermann-it.de> (maintainer)
Patch by:	bsam (me)
Approved by:	Matthias Petermann <matthias@petermann-it.de> (maintainer)
This commit is contained in:
Boris Samorodov 2013-11-18 09:43:15 +00:00
parent c6689ad04c
commit 51060fe14c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334164
63 changed files with 4 additions and 72 deletions

View File

@ -19,11 +19,10 @@ CONFLICTS= tryton-2.[68].*
USES= desktop-file-utils gettext
USE_PYTHON= -2.7
USE_PYDISTUTILS=easy_install
USE_GNOME= gtk20 desktopfileutils pygtk2
USE_GNOME= gtk20 pygtk2
NO_STAGE= yes
post-install:
${INSTALL_DATA} ${WRKSRC}/tryton.desktop ${PREFIX}/share/applications/tryton.desktop
${INSTALL_DATA} ${WRKSRC}/share/pixmaps/tryton/tryton-icon.png ${PREFIX}/share/pixmaps/tryton-icon.png
${INSTALL_DATA} ${WRKSRC}/tryton.desktop ${STAGEDIR}${PREFIX}/share/applications/tryton.desktop
${INSTALL_DATA} ${WRKSRC}/share/pixmaps/tryton/tryton-icon.png ${STAGEDIR}${PREFIX}/share/pixmaps/tryton-icon.png
.include <bsd.port.mk>

View File

@ -44,7 +44,6 @@ LOGDIR?= /var/log
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%PIDDIR%%|${PIDDIR}|g' -e 's|%%LOGDIR%%|${LOGDIR}|g' \
${WRKSRC}/etc/${PORTNAME}.conf
@ -68,11 +67,6 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytz>=0:${PORTSDIR}/devel/py-pytz
.endif
post-install:
${CP} -p ${WRKSRC}/etc/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
@if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; then \
${CP} -p ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf ; \
fi
@${CAT} ${PKGMESSAGE}
${CP} -p ${WRKSRC}/etc/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
.include <bsd.port.mk>

View File

@ -20,5 +20,4 @@ CONFLICTS= trytond_account-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_account-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_account_invoice-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_account_invoice_history-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_account_invoice_line_standalone-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_account_product-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_account_statement-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -20,5 +20,4 @@ CONFLICTS= trytond_account_stock_anglo_saxon-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -20,5 +20,4 @@ CONFLICTS= trytond_account_stock_continental-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -21,5 +21,4 @@ CONFLICTS= trytond_analytic_account-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -20,5 +20,4 @@ CONFLICTS= trytond_analytic_invoice-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -20,5 +20,4 @@ CONFLICTS= trytond_analytic_purchase-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -20,5 +20,4 @@ CONFLICTS= trytond_analytic_sale-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -21,5 +21,4 @@ CONFLICTS= trytond_calendar-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_calendar_classification-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_calendar_scheduling-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_calendar_todo-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_carrier-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_carrier_percentage-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_carrier_weight-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_company-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_company_work_time-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -17,5 +17,4 @@ CONFLICTS= trytond_country-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -17,5 +17,4 @@ CONFLICTS= trytond_currency-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -17,5 +17,4 @@ CONFLICTS= trytond_dashboard-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_ldap_authentication-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_ldap_connection-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_party-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_party_siret-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -21,5 +21,4 @@ CONFLICTS= trytond_party_vcarddav-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -17,5 +17,4 @@ CONFLICTS= trytond_product-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_product_cost_fifo-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_product_cost_history-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_product_measurements-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -20,5 +20,4 @@ CONFLICTS= trytond_product_price_list-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -21,5 +21,4 @@ CONFLICTS= trytond_production-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_project-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_project_plan-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_project_revenue-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -20,5 +20,4 @@ CONFLICTS= trytond_purchase-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_purchase_invoice_line_standalone-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -21,5 +21,4 @@ CONFLICTS= trytond_purchase_shipment_cost-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -20,5 +20,4 @@ CONFLICTS= trytond_sale-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_sale_opportunity-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -20,5 +20,4 @@ CONFLICTS= trytond_sale_price_list-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -22,5 +22,4 @@ CONFLICTS= trytond_sale_shipment_cost-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -22,5 +22,4 @@ CONFLICTS= trytond_stock-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -22,5 +22,4 @@ CONFLICTS= trytond_stock_forecast-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_stock_inventory_location-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_stock_location_sequence-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -20,5 +20,4 @@ CONFLICTS= trytond_stock_lot-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_stock_product_location-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_stock_split-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -20,5 +20,4 @@ CONFLICTS= trytond_stock_supply-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_stock_supply_day-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -20,5 +20,4 @@ CONFLICTS= trytond_stock_supply_forecast-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_stock_supply_production-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -19,5 +19,4 @@ CONFLICTS= trytond_timesheet-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_account_fr-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_account_de_skr03-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -18,5 +18,4 @@ CONFLICTS= trytond_google_maps-2.[68].*
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
NO_STAGE= yes
.include <bsd.port.mk>