c8ce88087d
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
52 lines
1.1 KiB
Makefile
52 lines
1.1 KiB
Makefile
# Created by: Janky Jay <ek@purplehat.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= frontaccounting
|
|
DISTVERSION= 2.3.24
|
|
CATEGORIES= finance www
|
|
MASTER_SITES= SF/${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= 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
|
|
|
|
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}
|
|
WANT_PHP_WEB=yes
|
|
.endif
|
|
|
|
.if !${PORT_OPTIONS:MDOCS}
|
|
PORTDOCSARGS= '-not -path "./doc*"'
|
|
.endif
|
|
|
|
.if !${PORT_OPTIONS:MMYSQL_SERVER}
|
|
USE_MYSQL= client
|
|
.endif
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} . \
|
|
${STAGEDIR}${WWWDIR} ${PORTDOCSARGS})
|
|
|
|
.include <bsd.port.mk>
|