blob: 3f24c0d2218c0195c8af1d9304f702e38d24aa38 (
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
|
# $NetBSD: Makefile,v 1.6 2011/12/25 03:35:39 ryoon Exp $
#
DISTNAME= tiki-6.5
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME:S/tiki-/tiki6-/}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tikiwiki/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://info.tiki.org/
COMMENT= Tiki Wiki CMS Groupware web-based application
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=5.2.0:../../converters/php-iconv
DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=5.2.0:../../databases/php-mysqli
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.2.0:../../graphics/php-gd
DEPENDS+= ${PHP_PKG_PREFIX}-xmlrpc>=5.2.0:../../net/php-xmlrpc
DEPENDS+= ${PHP_PKG_PREFIX}-pear>=1.9.4:../../lang/pear
USE_LANGUAGES= # none
NO_BUILD= yes
USE_TOOLS+= pax
BUILD_DEFS+= APACHE_GROUP APACHE_USER
TIKIDIR= share/tiki6
INSTALLATION_DIRS= ${TIKIDIR}
FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
TIKIDIR=${TIKIDIR}
do-install:
${RM} ${WRKSRC}/*orig
cd ${WRKSRC} && sh setup.sh -u ${APACHE_USER} -g ${APACHE_GROUP} -n
cd ${WRKSRC} && pax -rw -pmp * \
${DESTDIR}${PREFIX}/${TIKIDIR}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"
|