openbsd-ports/devel/chora/Makefile

42 lines
864 B
Makefile

# $OpenBSD: Makefile,v 1.8 2004/06/12 21:53:50 avsm Exp $
COMMENT= "web-based CVS viewer module for Horde"
V= 1.2.2
HORDE_MODULE= chora
HORDE_NAME= Chora
DISTNAME= ${HORDE_MODULE}-${V}
CATEGORIES= devel www
HOMEPAGE= http://www.horde.org/${HORDE_MODULE}/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_HORDE:=chora/}
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
EXTRACT_ONLY=
PREFIX= /var/www
INSTDIR= ${PREFIX}/horde
SUBST_VARS= INSTDIR HORDE_NAME HORDE_MODULE
RUN_DEPENDS= :horde->=2.2.1:devel/horde
pre-fake:
${INSTALL_DATA_DIR} ${INSTDIR}
do-install:
@cd ${INSTDIR} && tar zxf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}
@mv ${INSTDIR}/${HORDE_MODULE}-${V} ${INSTDIR}/${HORDE_MODULE}
.include <bsd.port.mk>