openbsd-ports/www/chive/Makefile

40 lines
842 B
Makefile
Raw Normal View History

2013-03-11 07:35:43 -04:00
# $OpenBSD: Makefile,v 1.11 2013/03/11 11:44:41 espie Exp $
COMMENT= web-based MySQL management
V= 1.2
2012-02-16 16:20:11 -05:00
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
2012-06-28 12:31:14 -04:00
MASTER_SITES= http://launchpad.net/chive/1.1/$V/+download/
MODULES= lang/php
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-pdo_mysql
NO_BUILD= Yes
2013-03-11 07:35:43 -04:00
NO_TEST= Yes
PKG_ARCH= *
PREFIX= /var/www
SUBST_VARS= INSTDIR
2011-07-12 06:50:59 -04:00
INSTDIR= ${TRUEPREFIX}/chive
2011-12-19 17:18:59 -05:00
WRKDIST= ${WRKDIR}/chive
do-install:
2011-12-19 17:18:59 -05:00
${INSTALL_DATA_DIR} ${WRKINST}${INSTDIR}
2011-07-12 06:50:59 -04:00
cd ${WRKSRC} && pax -rw * ${WRKINST}${INSTDIR}
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} \
2011-07-12 06:50:59 -04:00
-c ${FILESDIR}/chive.conf ${WRKINST}${INSTDIR}/chive.conf.default
.include <bsd.port.mk>