freebsd-ports/finance/weberp/Makefile

37 lines
879 B
Makefile
Raw Normal View History

# Created by: Wen heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= weberp
2015-05-18 02:06:46 +02:00
PORTVERSION= 4.12.3
CATEGORIES= finance www
2011-04-01 03:13:36 +02:00
MASTER_SITES= SF/web-erp/
DISTNAME= webERP_${PORTVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= Open-Source Web-Based ERP System
LICENSE= GPLv2
2010-12-29 01:51:53 +01:00
PORTSCOUT= skipv:3.12
2014-03-08 14:21:37 +01:00
USES= gettext zip
USE_PHP= mysql gettext
WRKSRC= ${WRKDIR}/webERP
NO_BUILD= yes
SUB_FILES= pkg-message
PLIST= ${WRKDIR}/plist
ERPDIR= www/weberp
pre-install:
@${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST}
@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${ERPDIR}?g" >> ${PLIST}
@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${ERPDIR}?g" >> ${PLIST}
@${ECHO_CMD} -e '@owner root\n@group wheel' >> ${PLIST}
do-install:
2014-02-06 11:47:47 +01:00
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
2014-02-06 11:47:47 +01:00
.include <bsd.port.mk>