1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/www/oscommerce/Makefile
Wen Heping c19419fca4 - Update to 2.3.3.4
- Convert to optionsNG
- Support stage build
- Update pkg-message
2013-10-04 04:59:44 +00:00

37 lines
942 B
Makefile

# Created by: Travis Campbell <hcoyote@ghostar.org>
# $FreeBSD$
PORTNAME= oscommerce
DISTVERSION= 2.3.3.4
PORTEPOCH= 2
CATEGORIES= www
MASTER_SITES= http://www.oscommerce.com/files/
MAINTAINER= wen@FreeBSD.org
COMMENT= Full-featured open source e-commerce system
USE_ZIP= yes
USE_PHP= mysql session pcre gd curl openssl
WANT_PHP_WEB= yes
NO_BUILD= yes
SUB_FILES= pkg-message
DOCS= CHANGELOG LICENSE STANDARD release_notes.pdf documentation.pdf
.include <bsd.port.options.mk>
do-install:
${MKDIR} ${STAGEDIR}/${WWWDIR}
${CP} -R ${WRKSRC}/catalog ${STAGEDIR}/${WWWDIR}
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}/${WWWDIR}
${CHMOD} 777 ${STAGEDIR}/${WWWDIR}/catalog/includes/configure.php
${CHMOD} 777 ${STAGEDIR}/${WWWDIR}/catalog/admin/includes/configure.php
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}/${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>