openbsd-ports/www/chive/Makefile
sthen a4d3775fa4 import ports/www/chive, an alternative to phpMyAdmin (pointed
out by @jedisct1). ok jasper@

Chive is a next generation MySQL database management tool. The
web-based user interface supports most of the common operations
needed by software developers and database admins (databases,
tables, indices, keys, triggers, views, routines, privilege
management, import/export).
2011-07-12 08:18:38 +00:00

43 lines
934 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/07/12 08:18:38 sthen Exp $
COMMENT= web-based MySQL management
V= 0.4.2
DISTNAME= chive_$V
PKGNAME= ${DISTNAME:S/_/-/}
WRKDIST= ${WRKDIR}/chive
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/${V:C/..$//}/$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= ${PREFIX}/chive
do-install:
${INSTALL_DATA_DIR} ${INSTDIR} ${PREFIX}/conf/modules.samples
cd ${WRKSRC} && pax -rw * ${INSTDIR}
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} \
-c ${FILESDIR}/chive.conf ${INSTDIR}/chive.conf.default
.include <bsd.port.mk>