svn commit: r386921 - head/finance/frontaccounting
John Marino
marino at FreeBSD.org
Thu May 21 10:08:47 UTC 2015
Author: marino
Date: Thu May 21 10:08:46 2015
New Revision: 386921
URL: https://svnweb.freebsd.org/changeset/ports/386921
Log:
finance/frontaccounting: Upgrade version 2.3.22 => 2.3.24
The version update was done because the port had to address missing PHP
modules anyway. Why here:
* Add the missing hash, ctype, zlib modules
* leverage new options framework to simply options handling
* implement NLS option (was listed, but not implemented)
* explicitly list DOCS option (implemented but unselectable)
* Rename MYSQL option to MYSQL_SERVER because MySQL client is
installed unconditionally so the option name was misleading
* Unsuppress install commands
* Wrap compound commands in parentheses for multijob support
* Wrap to 80 columns
* Remove bogus post-install cat pkgmessage target
* Remove 120 bogus @dir lines introduced in [2]
PR: 200265
PR: 194255 [2]
Reported by: marino
Initial fix: maintainer (ek - purplehat.org)
rest of fixes: marino
Modified:
head/finance/frontaccounting/Makefile
head/finance/frontaccounting/distinfo
head/finance/frontaccounting/pkg-plist
Modified: head/finance/frontaccounting/Makefile
==============================================================================
--- head/finance/frontaccounting/Makefile Thu May 21 09:20:34 2015 (r386920)
+++ head/finance/frontaccounting/Makefile Thu May 21 10:08:46 2015 (r386921)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= frontaccounting
-DISTVERSION= 2.3.22
+DISTVERSION= 2.3.24
CATEGORIES= finance www
MASTER_SITES= SF/${PORTNAME}/FrontAccounting-2.3/${PORTVERSION}
@@ -12,45 +12,41 @@ COMMENT= Simple, powerful system for the
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/doc/license.txt
-USES= cpe gettext
-USE_MYSQL= yes
-USE_PHP+= mysql mysqli openssl session
+USES= cpe
+USE_PHP+= mysql mysqli openssl session hash ctype zlib
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
-
SUB_FILES= pkg-deinstall pkg-message
+PORTDOCSARGS=
+
+OPTIONS_DEFINE= APACHE LIGHTTPD MYSQL_SERVER NLS DOCS
+OPTIONS_DEFAULT= APACHE MYSQL_SERVER
-OPTIONS_DEFINE= APACHE LIGHTTPD MYSQL NLS
-OPTIONS_DEFAULT= APACHE MYSQL
+MYSQL_SERVER_DESC= MySQL server support
+LIGHTTPD_RUN_DEPENDS= lighttpd:${PORTSDIR}/www/lighttpd
+MYSQL_SERVER_USE= MYSQL=server
+APACHE_USE= APACHE_RUN=22+
+NLS_USES= gettext
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAPACHE}
-USE_APACHE_RUN= 22+
WANT_PHP_WEB=yes
.endif
-.if ${PORT_OPTIONS:MLIGHTTPD}
-RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
-.endif
-
-.if ${PORT_OPTIONS:MMYSQL}
-USE_MYSQL= server
+.if !${PORT_OPTIONS:MDOCS}
+PORTDOCSARGS= '-not -path "./doc*"'
.endif
-.if ${PORT_OPTIONS:MDOCS}
-PORTDOCSARGS=
-.else
-PORTDOCSARGS= '-not -path "./doc*"'
+.if !${PORT_OPTIONS:MMYSQL_SERVER}
+USE_MYSQL= client
.endif
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
- @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} ${PORTDOCSARGS}
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} . \
+ ${STAGEDIR}${WWWDIR} ${PORTDOCSARGS})
.include <bsd.port.mk>
Modified: head/finance/frontaccounting/distinfo
==============================================================================
--- head/finance/frontaccounting/distinfo Thu May 21 09:20:34 2015 (r386920)
+++ head/finance/frontaccounting/distinfo Thu May 21 10:08:46 2015 (r386921)
@@ -1,2 +1,2 @@
-SHA256 (frontaccounting-2.3.22.tar.gz) = aa54b3745f70c84ec458a0fc4ce858f8edc46899a51b25aa0b661caff944e481
-SIZE (frontaccounting-2.3.22.tar.gz) = 1294124
+SHA256 (frontaccounting-2.3.24.tar.gz) = a88a460deee9216c23705cfe95c4e5a37adfd9ecfb31f0c5341b18d66959094a
+SIZE (frontaccounting-2.3.24.tar.gz) = 1277783
Modified: head/finance/frontaccounting/pkg-plist
==============================================================================
--- head/finance/frontaccounting/pkg-plist Thu May 21 09:20:34 2015 (r386920)
+++ head/finance/frontaccounting/pkg-plist Thu May 21 10:08:46 2015 (r386921)
@@ -3,6 +3,7 @@
%%WWWDIR%%/.htaccess
%%WWWDIR%%/CHANGELOG.txt
%%WWWDIR%%/FA.pem
+%%WWWDIR%%/README.md
%%WWWDIR%%/access/index.php
%%WWWDIR%%/access/login.php
%%WWWDIR%%/access/logout.php
@@ -641,122 +642,3 @@
%%WWWDIR%%/tmp/index.php
%%WWWDIR%%/update.html
%%WWWDIR%%/version.php
- at dir %%WWWDIR%%/access
- at dir %%WWWDIR%%/admin/db
- at dir %%WWWDIR%%/admin
- at dir %%WWWDIR%%/applications
- at dir %%WWWDIR%%/company/0/backup
- at dir %%WWWDIR%%/company/0/images
- at dir %%WWWDIR%%/company/0/js_cache
- at dir %%WWWDIR%%/company/0/pdf_files
- at dir %%WWWDIR%%/company/0/reporting
- at dir %%WWWDIR%%/company/0
- at dir %%WWWDIR%%/company
- at dir %%WWWDIR%%/dimensions/includes
- at dir %%WWWDIR%%/dimensions/inquiry
- at dir %%WWWDIR%%/dimensions/view
- at dir %%WWWDIR%%/dimensions
- at dir %%WWWDIR%%/doc
- at dir %%WWWDIR%%/gl/includes/db
- at dir %%WWWDIR%%/gl/includes/ui
- at dir %%WWWDIR%%/gl/includes
- at dir %%WWWDIR%%/gl/inquiry
- at dir %%WWWDIR%%/gl/manage
- at dir %%WWWDIR%%/gl/view
- at dir %%WWWDIR%%/gl
- at dir %%WWWDIR%%/includes/db
- at dir %%WWWDIR%%/includes/lang
- at dir %%WWWDIR%%/includes/page
- at dir %%WWWDIR%%/includes/prefs
- at dir %%WWWDIR%%/includes/ui
- at dir %%WWWDIR%%/includes
- at dir %%WWWDIR%%/install/lang/ar_EG/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/ar_EG
- at dir %%WWWDIR%%/install/lang/da_DK/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/da_DK
- at dir %%WWWDIR%%/install/lang/de_DE/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/de_DE
- at dir %%WWWDIR%%/install/lang/el_GR/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/el_GR
- at dir %%WWWDIR%%/install/lang/es_MX/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/es_MX
- at dir %%WWWDIR%%/install/lang/fr_FR/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/fr_FR
- at dir %%WWWDIR%%/install/lang/id_ID/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/id_ID
- at dir %%WWWDIR%%/install/lang/it_IT/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/it_IT
- at dir %%WWWDIR%%/install/lang/ka_GE/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/ka_GE
- at dir %%WWWDIR%%/install/lang/new_language_template/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/new_language_template
- at dir %%WWWDIR%%/install/lang/nl_BE/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/nl_BE
- at dir %%WWWDIR%%/install/lang/pl_PL/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/pl_PL
- at dir %%WWWDIR%%/install/lang/pt_BR/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/pt_BR
- at dir %%WWWDIR%%/install/lang/pt_PT/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/pt_PT
- at dir %%WWWDIR%%/install/lang/sv_SE/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/sv_SE
- at dir %%WWWDIR%%/install/lang/zh_CN/LC_MESSAGES
- at dir %%WWWDIR%%/install/lang/zh_CN
- at dir %%WWWDIR%%/install/lang
- at dir %%WWWDIR%%/install
- at dir %%WWWDIR%%/inventory/includes/db
- at dir %%WWWDIR%%/inventory/includes
- at dir %%WWWDIR%%/inventory/inquiry
- at dir %%WWWDIR%%/inventory/manage
- at dir %%WWWDIR%%/inventory/view
- at dir %%WWWDIR%%/inventory
- at dir %%WWWDIR%%/js
- at dir %%WWWDIR%%/lang/en_US/LC_MESSAGES
- at dir %%WWWDIR%%/lang/en_US
- at dir %%WWWDIR%%/lang/new_language_template/LC_MESSAGES
- at dir %%WWWDIR%%/lang/new_language_template
- at dir %%WWWDIR%%/lang
- at dir %%WWWDIR%%/manufacturing/includes/db
- at dir %%WWWDIR%%/manufacturing/includes
- at dir %%WWWDIR%%/manufacturing/inquiry
- at dir %%WWWDIR%%/manufacturing/manage
- at dir %%WWWDIR%%/manufacturing/view
- at dir %%WWWDIR%%/manufacturing
- at dir %%WWWDIR%%/modules/_cache
- at dir %%WWWDIR%%/modules
- at dir %%WWWDIR%%/purchasing/allocations
- at dir %%WWWDIR%%/purchasing/includes/db
- at dir %%WWWDIR%%/purchasing/includes/ui
- at dir %%WWWDIR%%/purchasing/includes
- at dir %%WWWDIR%%/purchasing/inquiry
- at dir %%WWWDIR%%/purchasing/manage
- at dir %%WWWDIR%%/purchasing/view
- at dir %%WWWDIR%%/purchasing
- at dir %%WWWDIR%%/reporting/fonts
- at dir %%WWWDIR%%/reporting/forms
- at dir %%WWWDIR%%/reporting/includes/fpdi/decoders
- at dir %%WWWDIR%%/reporting/includes/fpdi
- at dir %%WWWDIR%%/reporting/includes
- at dir %%WWWDIR%%/reporting
- at dir %%WWWDIR%%/sales/allocations
- at dir %%WWWDIR%%/sales/includes/db
- at dir %%WWWDIR%%/sales/includes/ui
- at dir %%WWWDIR%%/sales/includes
- at dir %%WWWDIR%%/sales/inquiry
- at dir %%WWWDIR%%/sales/manage
- at dir %%WWWDIR%%/sales/view
- at dir %%WWWDIR%%/sales
- at dir %%WWWDIR%%/sql
- at dir %%WWWDIR%%/taxes/db
- at dir %%WWWDIR%%/taxes
- at dir %%WWWDIR%%/themes/aqua/images
- at dir %%WWWDIR%%/themes/aqua
- at dir %%WWWDIR%%/themes/cool/images
- at dir %%WWWDIR%%/themes/cool
- at dir %%WWWDIR%%/themes/default/images
- at dir %%WWWDIR%%/themes/default
- at dir %%WWWDIR%%/themes
- at dir %%WWWDIR%%/tmp
- at dir %%WWWDIR%%
- at owner root
- at group wheel
More information about the svn-ports-all
mailing list