Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2014 12:21:12 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370696 - head/finance/weberp
Message-ID:  <201410121221.s9CCLCab018364@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Sun Oct 12 12:21:12 2014
New Revision: 370696
URL: https://svnweb.freebsd.org/changeset/ports/370696
QAT: https://qat.redports.org/buildarchive/r370696/

Log:
  - Update to 4.11.4
  - Add LICENSE
  - Pet portlint

Deleted:
  head/finance/weberp/pkg-plist
Modified:
  head/finance/weberp/Makefile
  head/finance/weberp/distinfo
  head/finance/weberp/pkg-descr

Modified: head/finance/weberp/Makefile
==============================================================================
--- head/finance/weberp/Makefile	Sun Oct 12 11:33:12 2014	(r370695)
+++ head/finance/weberp/Makefile	Sun Oct 12 12:21:12 2014	(r370696)
@@ -2,32 +2,35 @@
 # $FreeBSD$
 
 PORTNAME=	weberp
-PORTVERSION=	4.08.4
+PORTVERSION=	4.11.4
 CATEGORIES=	finance www
 MASTER_SITES=	SF/web-erp/
-DISTNAME=	webERP${PORTVERSION}
+DISTNAME=	webERP_${PORTVERSION}
 
 MAINTAINER=	wen@FreeBSD.org
 COMMENT=	Open-Source Web-Based ERP System
 
+LICENSE=	GPLv2
+
 PORTSCOUT=	skipv:3.12
 
 USES=		gettext zip
 USE_PHP=	mysql gettext
-WRKSRC=		${WRKDIR}/webERP${PORTVERSION}
+WRKSRC=		${WRKDIR}/webERP
 
 NO_BUILD=	yes
 SUB_FILES=	pkg-message
+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}
 
 do-install:
 	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
 	@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
 
-post-install:
-	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
-		>> ${TMPPLIST}
-	@${ECHO_CMD} '@exec ${CHMOD} 755 -R ${WWWDIR}' \
-		>> ${TMPPLIST}
-
 .include <bsd.port.mk>

Modified: head/finance/weberp/distinfo
==============================================================================
--- head/finance/weberp/distinfo	Sun Oct 12 11:33:12 2014	(r370695)
+++ head/finance/weberp/distinfo	Sun Oct 12 12:21:12 2014	(r370696)
@@ -1,2 +1,2 @@
-SHA256 (webERP4.08.4.zip) = 03c39e8853529b7aa49717381ade9dac6cfe059a3f1920cabc72dc4324b7b0a4
-SIZE (webERP4.08.4.zip) = 19190129
+SHA256 (webERP_4.11.4.zip) = 9dab03bb4ff5922d6ea27bd22f1515b8ec81418948a4eaf788b6bc987887040d
+SIZE (webERP_4.11.4.zip) = 26379517

Modified: head/finance/weberp/pkg-descr
==============================================================================
--- head/finance/weberp/pkg-descr	Sun Oct 12 11:33:12 2014	(r370695)
+++ head/finance/weberp/pkg-descr	Sun Oct 12 12:21:12 2014	(r370696)
@@ -8,4 +8,4 @@ download to use. The feature set is cont
 as new businesses and developers adopt it.There have
 been in excess of 80,000 downloads to date.
 
-WWW:	http://www.weberp.org/
+WWW: http://www.weberp.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410121221.s9CCLCab018364>