openbsd-ports/www/chive/Makefile

47 lines
1.0 KiB
Makefile
Raw Normal View History

2011-12-19 17:18:59 -05:00
# $OpenBSD: Makefile,v 1.6 2011/12/19 22:18:59 sthen Exp $
COMMENT= web-based MySQL management
2011-12-19 17:18:59 -05:00
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
2011-12-19 17:18:59 -05:00
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
2011-07-12 06:50:59 -04:00
INSTDIR= ${TRUEPREFIX}/chive
2011-12-19 17:18:59 -05:00
WRKDIST= ${WRKDIR}/chive
do-extract:
mkdir ${WRKDIST}
cd ${WRKDIST} && ${TAR} xzf ${FULLDISTDIR}/${EXTRACT_ONLY}
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>