1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/www/zen-cart/Makefile
Mathieu Arnold dca255c3ce Convert USE_PHP*=yes into USES=php*
PR:		210529
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6936
2016-06-28 14:00:45 +00:00

44 lines
1.4 KiB
Makefile

# Created by: Beech Rintoul <beech@FreeBSD.org>
# $FreeBSD$
PORTNAME= zen-cart
PORTVERSION= 1.3.9h
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://www.akherb.com/FreeBSD/source/ \
LOCAL/beech
DISTNAME= zen-cart-v1.3.9h-full-fileset-10262010
MAINTAINER= ports@FreeBSD.org
COMMENT= PHP-based user-friendly, open source shopping cart
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/license.txt
USES= dos2unix php:web shebangfix zip
SHEBANG_FILES= editors/htmlarea/examples/2-areas.cgi \
editors/htmlarea/examples/test.cgi \
editors/htmlarea/plugins/SpellChecker/spell-check-logic.cgi
DOS2UNIX_REGEX= .*\.php
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
SUB_LIST= WWWDIR="${WWWDIR}" PORTNAME="${PORTNAME}"
PLIST_SUB+= WWWDIR=${WWWDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} PORTNAME=${PORTNAME}
OPTIONS_DEFINE= EXAMPLES
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${EXAMPLESDIR} && ${RM} -rf ${WRKSRC}/docs)
(cd ${WRKSRC} && ${MV} vbv_learn_more.html ${STAGEDIR}${EXAMPLESDIR}/)
(cd ${WRKSRC} && ${MV} mcs_learn_more.html ${STAGEDIR}${EXAMPLESDIR}/)
(cd ${WRKSRC} && ${MV} robots_example.txt ${STAGEDIR}${EXAMPLESDIR}/)
(cd ${WRKSRC} && ${MV} install.txt ${STAGEDIR}${EXAMPLESDIR}/)
(cd ${WRKSRC} && ${MV} nddbc.html ${STAGEDIR}${EXAMPLESDIR}/)
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/)
${CHMOD} -R 0755 ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>