2013-09-20 19:18:38 +02:00
|
|
|
# Created by: Wen heping <wenheping@gmail.com>
|
2008-10-11 17:25:14 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= weberp
|
2016-11-28 09:21:53 +01:00
|
|
|
PORTVERSION= 4.13.1
|
2008-10-11 17:25:14 +02:00
|
|
|
CATEGORIES= finance www
|
2011-04-01 03:13:36 +02:00
|
|
|
MASTER_SITES= SF/web-erp/
|
2014-10-12 14:21:12 +02:00
|
|
|
DISTNAME= webERP_${PORTVERSION}
|
2008-10-11 17:25:14 +02:00
|
|
|
|
2009-09-30 12:23:07 +02:00
|
|
|
MAINTAINER= wen@FreeBSD.org
|
2014-06-10 09:39:01 +02:00
|
|
|
COMMENT= Open-Source Web-Based ERP System
|
2008-10-11 17:25:14 +02:00
|
|
|
|
2014-10-12 14:21:12 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2010-12-29 01:51:53 +01:00
|
|
|
PORTSCOUT= skipv:3.12
|
|
|
|
|
2015-08-31 20:40:31 +02:00
|
|
|
USES= gettext shebangfix zip
|
|
|
|
SHEBANG_FILES= report_runner.php
|
2016-02-28 07:50:43 +01:00
|
|
|
USE_PHP= mysqli gettext
|
2014-10-12 14:21:12 +02:00
|
|
|
WRKSRC= ${WRKDIR}/webERP
|
2008-10-11 17:25:14 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
SUB_FILES= pkg-message
|
2014-10-12 14:21:12 +02:00
|
|
|
PLIST= ${WRKDIR}/plist
|
|
|
|
ERPDIR= www/weberp
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST}
|
|
|
|
@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${ERPDIR}?g" >> ${PLIST}
|
|
|
|
@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${ERPDIR}?g" >> ${PLIST}
|
|
|
|
@${ECHO_CMD} -e '@owner root\n@group wheel' >> ${PLIST}
|
2008-10-11 17:25:14 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-02-06 11:47:47 +01:00
|
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
|
|
|
|
@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
|
2008-10-11 17:25:14 +02:00
|
|
|
|
2014-02-06 11:47:47 +01:00
|
|
|
.include <bsd.port.mk>
|