aboutsummaryrefslogtreecommitdiff
path: root/www/oscommerce/Makefile
blob: d0c2ed3464ae53dc4a0979212c798c0d3ed6dd57 (plain) (blame)
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
37
38
39
40
41
#
# New ports collection makefile for: osCommerce
#
# Date Created:	Dec  5 2003
# Whom:		Travis Campbell <hcoyote@ghostar.org>
#
# $FreeBSD$
#

PORTNAME=	oscommerce
DISTVERSION=	2.2rc1
PORTEPOCH=	2
CATEGORIES=	www
MASTER_SITES=	http://oscommerce.sunsite.dk/downloads/
DISTNAME=	${PORTNAME}-${DISTVERSION}

MAINTAINER=	vlad@vlad.uz.ua
COMMENT=	An full-featured open source e-commerce system

USE_ZIP=	yes
USE_PHP=	mysql session pcre
WANT_PHP_WEB=	yes
NO_BUILD=	yes
SUB_FILES=	pkg-message
DOCS=		CHANGELOG LICENSE STANDARD documentation.pdf upgrade.html

do-install:
	${MKDIR} ${WWWDIR}
	${CP} -R ${WRKSRC}/catalog ${WWWDIR}
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>