diff options
author | Chris Rees <crees@FreeBSD.org> | 2012-12-24 21:49:21 +0000 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2012-12-24 21:49:21 +0000 |
commit | 0460b5a6c17c178584129c75a49358e2de653b8a (patch) | |
tree | b6b1d6e948175e3642b217f1fa68d6c442ad7d6a /finance/frontaccounting/Makefile | |
parent | 37eda72c021a5de11fd41b12f8fddce1b3ab4261 (diff) |
Notes
Diffstat (limited to 'finance/frontaccounting/Makefile')
-rw-r--r-- | finance/frontaccounting/Makefile | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/finance/frontaccounting/Makefile b/finance/frontaccounting/Makefile new file mode 100644 index 000000000000..a63d18eb64c3 --- /dev/null +++ b/finance/frontaccounting/Makefile @@ -0,0 +1,59 @@ +# Created by: Janky Jay <ek@purplehat.org> +# +# $FreeBSD$ +# + +PORTNAME= frontaccounting +DISTVERSION= 2.3.13 +CATEGORIES= finance www +MASTER_SITES= SF +MASTER_SITE_SUBDIR= frontaccounting/FrontAccounting-2.3/${PORTVERSION} + +MAINTAINER= ek@purplehat.org +COMMENT= Simple, powerful system for the entire ERP chain + +USE_GETTEXT= yes +USE_MYSQL= yes +USE_PHP+= mysql mysqli openssl session + +WRKSRC= ${WRKDIR}/${PORTNAME} + +NO_BUILD= yes + +SUB_FILES= pkg-install pkg-deinstall pkg-message +PORTDOCS= * + +SHAREOWN= ${WWWOWN} +SHAREGRP= ${WWWGRP} + +OPTIONS_DEFINE= APACHE LIGHTTPD MYSQL +OPTIONS_DEFAULT= APACHE MYSQL + +.include <bsd.port.options.mk> + +.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 "./docs*"' +.endif + +do-install: + @${MKDIR} ${WWWDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR} ${PORTDOCSARGS} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> |