1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/finance/prestashop/Makefile

43 lines
1.5 KiB
Makefile
Raw Normal View History

# Created by: Wen Heping <wen@FreeBSD.org>
PORTNAME= prestashop
2021-06-23 07:43:27 +00:00
PORTVERSION= 1.7.7.5
CATEGORIES= finance www
2020-02-07 07:24:20 +00:00
MASTER_SITES= https://download.prestashop.com/download/releases/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= Open-Source e-Commerce Software for Web 2.0
USES= cpe php shebangfix zip:infozip
NO_BUILD= yes
PRESTADIR= www/${PORTNAME}
PLIST= ${WRKDIR}/plist
USE_PHP= ctype curl dom filter gd hash intl json mcrypt \
mysqli pdo_mysql posix session simplexml soap
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= pkg-message
2016-11-28 07:19:54 +00:00
SHEBANG_FILES= vendor/swiftmailer/swiftmailer/lib/swiftmailer_generate_mimes_config.php \
vendor/doctrine/orm/docs/bin/generate-docs.sh \
vendor/doctrine/orm/docs/bin/install-dependencies.sh \
vendor/symfony/symfony/src/Symfony/Component/Intl/Tests/Data/Bundle/Reader/Fixtures/build.sh \
vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php
post-extract:
@(cd ${WRKDIR} && ${UNZIP_CMD} -d prestashop ${WRKDIR}/prestashop.zip)
${REINPLACE_CMD} -e 's#@prefix@#${PREFIX}#g' \
${WRKSRC}/vendor/pear/archive_tar/scripts/phptar.in
${RM} ${WRKSRC}/vendor/pear/archive_tar/scripts/*.bak
pre-install:
@${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST}
@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${PRESTADIR}?g" >> ${PLIST}
2014-11-13 14:32:39 +00:00
@${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}
.include <bsd.port.mk>