mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
bc04eea4d4
- Add missing PHP modules
36 lines
1.0 KiB
Makefile
36 lines
1.0 KiB
Makefile
# Created by: Wen Heping <wen@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= prestashop
|
|
PORTVERSION= 1.6.1.5
|
|
CATEGORIES= finance www
|
|
MASTER_SITES= http://www.prestashop.com/download/old/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
COMMENT= Open-Source e-Commerce Software for Web 2.0
|
|
|
|
BROKEN_powerpc64= Does not build
|
|
|
|
USES= cpe shebangfix zip
|
|
NO_BUILD= yes
|
|
PRESTADIR= www/${PORTNAME}
|
|
PLIST= ${WRKDIR}/plist
|
|
USE_PHP= ctype dom gd mcrypt mysqli session simplexml
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
SUB_FILES= pkg-message
|
|
|
|
SHEBANG_FILES= tools/swift/swiftmailer_generate_mimes_config.php
|
|
|
|
pre-install:
|
|
@${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST}
|
|
@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${PRESTADIR}?g" >> ${PLIST}
|
|
@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${PRESTADIR}?g" >> ${PLIST}
|
|
@${ECHO_CMD} -e '@owner root\n@group wheel' >> ${PLIST}
|
|
|
|
do-install:
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
|
|
@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
|
|
|
|
.include <bsd.port.mk>
|