summaryrefslogtreecommitdiffstats
path: root/www/siteframe/Makefile
blob: bfcd2c6db9bde3eb194f1b05fc9721da2065bea1 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# New ports collection makefile for:	siteframe
# Date created:				9 January 2006
# Whom:					Glen Campbell
#
# $FreeBSD$
#

PORTNAME=	siteframe
PORTVERSION=	5.0.1a
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.broadpool.net/pub/siteframe/

MAINTAINER=	glen@broadpool.com
COMMENT=	A web community content management system in PHP5 and MySQL

RUN_DEPENDS=	${LOCALBASE}/share/smarty/Smarty.class.php:${PORTSDIR}/www/smarty

USE_APACHE=	yes
WITH_APACHE2=	yes
USE_PHP=	mysqli simplexml xml session gd
DEFAULT_PHP_VER=	5
BROKEN_WITH_PHP=	4
USE_MYSQL=	yes
DEFAULT_MYSQL_VER=	41
BROKEN_WITH_MYSQL=	40

NO_PACKAGE=	Conflicting Apache dependencies

# where to install
NO_BUILD=	yes
NO_WRKSUBDIR=	yes
WWWDIR?=	${PREFIX}/www
.ifndef SITEFRAMEDIR
.ifdef APACHE_DATADIR
SITEFRAMEDIR=	${APACHE_DATADIR}/siteframe
.else
SITEFRAMEDIR=	${WWWDIR}/siteframe
.endif
.endif

SUB_FILES=	pkg-message
SUB_LIST=	DIR=${SITEFRAMEDIR}

do-install:
	${MKDIR} ${SITEFRAMEDIR}
	${CP} -R ${WRKSRC}/ ${SITEFRAMEDIR}
	${CHOWN} -R ${WWWOWN} ${SITEFRAMEDIR}/

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud