summaryrefslogtreecommitdiff
path: root/www/php-tiki6/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/php-tiki6/Makefile')
-rw-r--r--www/php-tiki6/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/www/php-tiki6/Makefile b/www/php-tiki6/Makefile
new file mode 100644
index 00000000000..4ff644da905
--- /dev/null
+++ b/www/php-tiki6/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/12/07 13:29:32 ryoon Exp $
+#
+
+DISTNAME= tiki-6.4
+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.3.8:../../converters/php-iconv
+DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=5.3.8:../../databases/php-mysqli
+DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.3.8:../../graphics/php-gd
+DEPENDS+= ${PHP_PKG_PREFIX}-xmlrpc>=5.3.8:../../net/php-xmlrpc
+
+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"