openbsd-ports/www/chive/Makefile
2011-12-19 22:18:59 +00:00

47 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.6 2011/12/19 22:18:59 sthen Exp $
COMMENT= web-based MySQL management
DISTNAME= chive_1.0.0
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/1.0/1.0/+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-extract:
mkdir ${WRKDIST}
cd ${WRKDIST} && ${TAR} xzf ${FULLDISTDIR}/${EXTRACT_ONLY}
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>