blob: 99e74f7bd9d7e7d433572996dbb3253a3d5b7c45 (
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
59
60
|
# Created by: Francisco Cabrita <include@npf.pt.freebsd.org>
# $FreeBSD$
PORTNAME= mambo
PORTVERSION= 4.6.5
CATEGORIES= www
MASTER_SITES= http://mambo-code.org/gf/download/frsrelease/388/790/
DISTNAME= MamboV${PORTVERSION}
MAINTAINER= tabmow@freenode.net
COMMENT= A dynamic web content management system (CMS)
BROKEN= Unfetchable due to expired DNS on MASTER_SITES
NO_BUILD= yes
SUB_FILES+= pkg-message
OPTIONS_DEFAULT= MYSQLI
OPTIONS_MULTI= DB
DB_DESC= database back-end
OPTIONS_MULTI_DB= MYSQLI MYSQL
MYSQLI_DESC= MySQL 4.1+ back-end (use mysqli PHP extension)
MYSQL_DESC= MySQL back-end (use mysql PHP extension)
NO_STAGE= yes
.include <bsd.port.options.mk>
USE_PHP= session zlib gd pdf xml pcre
.if ${PORT_OPTIONS:MMYSQL}
USE_PHP+= mysql
.endif
.if ${PORT_OPTIONS:MMYSQLI}
USE_PHP+= mysqli
.endif
do-extract:
@${MKDIR} ${WRKSRC}
@if ! (cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTFILES} ${EXTRACT_AFTER_ARGS});\
then \
exit 1; \
fi
post-patch:
@${FIND} ${WRKSRC} -name '*.orig' -delete
do-install:
@${MKDIR} ${WWWDIR}
@cd ${WRKSRC} && \
${FIND} . -type d -exec ${MKDIR} ${WWWDIR}/{} \; \
-exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \;
@cd ${WRKSRC} && \
${FIND} . \! -type d -exec ${INSTALL_DATA} {} ${WWWDIR}/{} \; \
-exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \;
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|