4ebaf0e600
- ui problem with large enums - fix possible problem where default_timezone isn't set in php ini (this one probably doesn't affect us, seems to be php 5.4+ only)
43 lines
923 B
Makefile
43 lines
923 B
Makefile
# $OpenBSD: Makefile,v 1.10 2012/10/30 23:51:49 sthen Exp $
|
|
|
|
COMMENT= web-based MySQL management
|
|
|
|
V= 1.2
|
|
DISTNAME= chive_$V
|
|
PKGNAME= ${DISTNAME:S/_/-/}
|
|
|
|
CATEGORIES= www databases
|
|
|
|
HOMEPAGE= http://www.chive-project.com/
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
# Chive: GPLv3+
|
|
# Yii framework: BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://launchpad.net/chive/1.1/$V/+download/
|
|
|
|
MODULES= lang/php
|
|
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-pdo_mysql
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
|
|
PREFIX= /var/www
|
|
SUBST_VARS= INSTDIR
|
|
INSTDIR= ${TRUEPREFIX}/chive
|
|
WRKDIST= ${WRKDIR}/chive
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${WRKINST}${INSTDIR}
|
|
cd ${WRKSRC} && pax -rw * ${WRKINST}${INSTDIR}
|
|
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} \
|
|
-c ${FILESDIR}/chive.conf ${WRKINST}${INSTDIR}/chive.conf.default
|
|
|
|
.include <bsd.port.mk>
|