blob: bfedc63163225c3fa9d143075bbfacdfd4739248 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# New ports collection makefile for: fluxcms
# Date created: 31 December 2005
# Whom: beat
#
# $FreeBSD$
#
PORTNAME= fluxcms
PORTVERSION= 1.4.0
CATEGORIES= www
MASTER_SITES= http://bitflux.org/download/ \
http://www.chruetertee.ch/files/download/
EXTRACT_SUFX= .tgz
MAINTAINER= beat@chruetertee.ch
COMMENT= An extensible and flexible CMS based on PHP 5 and XML/XSLT
NO_BUILD= yes
FLUXCMSDIR= www/fluxcms
INSTALLDIR= ${PREFIX}/${FLUXCMSDIR}
PLIST_SUB= INSTALLDIR=${FLUXCMSDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
SUB_FILES= pkg-deinstall pkg-message
SUB_LIST= INSTALLDIR=${INSTALLDIR}
OPTIONS= GD "Use GD support instead of ImageMagick" on \
TIDY "Configure with tidy support" off
USE_PHP= dom xml simplexml iconv mysql xsl session pcre
IGNORE_WITH_PHP= 4
DEFAULT_PHP_VER= 5
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
.include <bsd.port.pre.mk>
BROKEN_WITH_PHP= 4
.if !defined(WITHOUT_GD)
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/gd.so:${PORTSDIR}/${gd_DEPENDS}
.else
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/${imagick_DEPENDS}
.endif
.if defined(WITH_TIDY)
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/tidy.so:${PORTSDIR}/${tidy_DEPENDS}
.endif
do-install:
@${MKDIR} ${INSTALLDIR}
@${CP} -R ${WRKSRC}/* ${INSTALLDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${INSTALLDIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|