blob: 2338df8fbd2eb1fc659ac6ae5b8e0e8955827986 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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>
|