5fb093f64e
- Stagify - Handle file ownerships via plist macros PR: 192602 Submitted by: Janky@purplehat.org Approved by: mentors (implicit)
56 lines
1.1 KiB
Makefile
56 lines
1.1 KiB
Makefile
# Created by: Janky Jay <ek@purplehat.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= frontaccounting
|
|
DISTVERSION= 2.3.21
|
|
CATEGORIES= finance www
|
|
MASTER_SITES= SF
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/FrontAccounting-2.3/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.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-deinstall pkg-message
|
|
|
|
OPTIONS_DEFINE= APACHE LIGHTTPD MYSQL
|
|
OPTIONS_DEFAULT= APACHE MYSQL
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MAPACHE}
|
|
USE_APACHE_RUN= 24+
|
|
.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} ${STAGEDIR}${WWWDIR}
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} ${PORTDOCSARGS}
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|