freebsd-ports/finance/prestashop/Makefile
Wen Heping afe2db8680 - Update to 1.6.1.1 and unbreak
- Add missing PHP module
2015-10-26 08:08:32 +00:00

31 lines
893 B
Makefile

# Created by: Wen Heping <wen@FreeBSD.org>
# $FreeBSD$
PORTNAME= prestashop
PORTVERSION= 1.6.1.1
CATEGORIES= finance www
MASTER_SITES= http://www.prestashop.com/download/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= Open-Source e-Commerce Software for Web 2.0
USES= cpe zip
NO_BUILD= yes
PRESTADIR= www/${PORTNAME}
PLIST= ${WRKDIR}/plist
USE_PHP= dom gd mysql
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= pkg-message
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>