# Created by: Janky Jay # $FreeBSD$ PORTNAME= frontaccounting DISTVERSION= 2.3.15 CATEGORIES= finance www MASTER_SITES= SF MASTER_SITE_SUBDIR= ${PORTNAME}/FrontAccounting-2.3/${PORTVERSION} MAINTAINER= ek@purplehat.org COMMENT= Simple, powerful system for the entire ERP chain LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/doc/license.txt USES= gettext USE_MYSQL= yes USE_PHP+= mysql mysqli openssl session WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes SUB_FILES= pkg-install pkg-deinstall pkg-message SHAREOWN= ${WWWOWN} SHAREGRP= ${WWWGRP} OPTIONS_DEFINE= APACHE LIGHTTPD MYSQL OPTIONS_DEFAULT= APACHE MYSQL .include .if ${PORT_OPTIONS:MAPACHE} USE_APACHE_RUN= 22+ .endif .if ${PORT_OPTIONS:MLIGHTTPD} RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd .endif .if ${PORT_OPTIONS:MMYSQL} RUN_DEPENDS+= mysqld_safe:${PORTSDIR}/databases/mysql55-server .endif .if ${PORT_OPTIONS:MDOCS} PORTDOCSARGS= .else PORTDOCSARGS= '-not -path "./doc*"' .endif do-install: @${MKDIR} ${WWWDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR} ${PORTDOCSARGS} post-install: @${CAT} ${PKGMESSAGE} .include