2012-12-24 22:49:21 +01:00
|
|
|
# Created by: Janky Jay <ek@purplehat.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= frontaccounting
|
2016-02-28 16:07:24 +01:00
|
|
|
DISTVERSION= 2.3.25
|
2012-12-24 22:49:21 +01:00
|
|
|
CATEGORIES= finance www
|
2015-04-23 15:51:58 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/FrontAccounting-2.3/${PORTVERSION}
|
2012-12-24 22:49:21 +01:00
|
|
|
|
2014-10-18 17:27:22 +02:00
|
|
|
MAINTAINER= ek@purplehat.org
|
2012-12-24 22:49:21 +01:00
|
|
|
COMMENT= Simple, powerful system for the entire ERP chain
|
|
|
|
|
2013-03-10 05:17:01 +01:00
|
|
|
LICENSE= GPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/doc/license.txt
|
|
|
|
|
2015-05-21 12:08:46 +02:00
|
|
|
USES= cpe
|
2016-02-28 07:46:23 +01:00
|
|
|
USE_PHP+= mysqli openssl session hash ctype zlib
|
2012-12-24 22:49:21 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
2014-08-16 20:21:10 +02:00
|
|
|
SUB_FILES= pkg-deinstall pkg-message
|
2015-05-21 12:08:46 +02:00
|
|
|
PORTDOCSARGS=
|
|
|
|
|
2016-02-28 16:07:24 +01:00
|
|
|
OPTIONS_DEFINE= APACHE LIGHTTPD NGINX MYSQL_SERVER NLS DOCS
|
2015-05-21 12:08:46 +02:00
|
|
|
OPTIONS_DEFAULT= APACHE MYSQL_SERVER
|
2012-12-24 22:49:21 +01:00
|
|
|
|
2015-05-21 12:08:46 +02:00
|
|
|
MYSQL_SERVER_DESC= MySQL server support
|
2016-02-28 16:07:24 +01:00
|
|
|
NGINX_DESC= NGINX web server
|
2016-04-01 16:00:51 +02:00
|
|
|
LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd
|
|
|
|
NGINX_RUN_DEPENDS= nginx:www/nginx
|
2015-05-21 12:08:46 +02:00
|
|
|
MYSQL_SERVER_USE= MYSQL=server
|
|
|
|
APACHE_USE= APACHE_RUN=22+
|
|
|
|
NLS_USES= gettext
|
2012-12-24 22:49:21 +01:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MAPACHE}
|
2014-10-18 17:27:22 +02:00
|
|
|
WANT_PHP_WEB=yes
|
2012-12-24 22:49:21 +01:00
|
|
|
.endif
|
|
|
|
|
2016-02-28 16:07:24 +01:00
|
|
|
.if ${PORT_OPTIONS:MLIGHTTPD}
|
|
|
|
WANT_PHP_WEB=yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNGINX}
|
|
|
|
WANT_PHP_WEB=yes
|
2012-12-24 22:49:21 +01:00
|
|
|
.endif
|
|
|
|
|
2016-02-28 16:07:24 +01:00
|
|
|
.if !${PORT_OPTIONS:MDOCS}
|
|
|
|
PORTDOCSARGS= '-not -path "./doc*"'
|
2012-12-24 22:49:21 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2014-08-16 20:21:10 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
2015-05-21 12:08:46 +02:00
|
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} . \
|
|
|
|
${STAGEDIR}${WWWDIR} ${PORTDOCSARGS})
|
2012-12-24 22:49:21 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|