openbsd-ports/www/chive/Makefile

44 lines
977 B
Makefile
Raw Normal View History

2011-11-16 10:56:36 -05:00
# $OpenBSD: Makefile,v 1.5 2011/11/16 15:56:37 robert Exp $
COMMENT= web-based MySQL management
V= 0.4.2
2011-11-16 10:56:36 -05:00
REVISION= 3
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
2011-07-12 06:50:59 -04:00
INSTDIR= ${TRUEPREFIX}/chive
do-install:
2011-07-12 06:50:59 -04:00
${INSTALL_DATA_DIR} ${WRKINST}${INSTDIR} ${PREFIX}/conf/modules.samples
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>