summaryrefslogtreecommitdiff
path: root/www/efront/Makefile
blob: 0722fb7329d1c5d9ed3c2363864fbb1e25790979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Created by: Wen heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=	efront
DISTVERSION=	3.6.14
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	SF/${PORTNAME}learning/${PORTNAME}learning/eFront%20v3.6.14/
DISTNAME=	${PORTNAME}_${PORTVERSION}_build18016_community

MAINTAINER=	wen@FreeBSD.org
COMMENT=	Elearning and Human Capital Development platform

BROKEN_powerpc64=	Does not build

USES=		cpe shebangfix zip
SHEBANG_FILES=	www/phplivedocx/samples/mail-merge/supported-file-formats/generate-documents.php \
		www/phplivedocx/samples/mail-merge/supported-file-formats/show-supported-file-formats.php \
		www/phplivedocx/samples/mail-merge/template-info/list-template-info.php \
		www/phplivedocx/samples/mail-merge/convert-batch/run-job.php \
		www/phplivedocx/samples/mail-merge/templates/download.php \
		www/phplivedocx/samples/mail-merge/templates/upload.php \
		www/phplivedocx/samples/mail-merge/templates/template-exists.php \
		www/phplivedocx/samples/mail-merge/templates/list.php \
		www/phplivedocx/samples/mail-merge/templates/delete-all.php \
		www/phplivedocx/samples/mail-merge/license-agreement/generate-document.php \
		www/phplivedocx/samples/mail-merge/telephone-bill/generate-document.php

CPE_VENDOR=	efrontlearning
USE_PHP=	mbstring zip iconv zlib spl ldap
EFRONT_FILES=	CHANGELOG.txt index.php INSTALL.txt \
		LICENSE.txt  README.txt
EFRONT_DIRS=	libraries PEAR \
		upload www backups

NO_WRKSUBDIR=	yes
NO_BUILD=	yes
PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_FILES=	pkg-message

do-install:
	${MKDIR} ${STAGEDIR}${WWWDIR}
.for i in ${EFRONT_FILES}
	@cd ${WRKSRC} && ${CP} ${i} ${STAGEDIR}${WWWDIR}
.endfor
.for i in ${EFRONT_DIRS}
	@cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${WWWDIR}
.endfor
	@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}

.include <bsd.port.mk>