openbsd-ports/www/tikiwiki/Makefile
2008-04-09 08:52:52 +00:00

42 lines
974 B
Makefile

# $OpenBSD: Makefile,v 1.8 2008/04/09 08:52:52 ajacoutot Exp $
COMMENT= all-in-one wiki/groupware/CMS solution
V= 1.9.11
DISTNAME= tikiwiki-${V}
CATEGORIES= www
HOMEPAGE= http://tikiwiki.org/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tikiwiki/}
EXTRACT_ONLY=
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/tikiwiki
SUBST_VARS= INSTDIR
RUN_DEPENDS= :php5-gd-*:www/php5/extensions,-gd \
:php5-xmlrpc-*:www/php5/extensions,-xmlrpc \
:php5-mbstring-*:www/php5/extensions,-mbstring \
:php5-mysqli-*:www/php5/extensions,-mysqli
do-install:
@cd ${PREFIX} && tar zxf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}
@mv ${INSTDIR}-${V} ${INSTDIR}
@${INSTALL_DATA} ${FILESDIR}/README.OpenBSD ${INSTDIR}
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>