openbsd-ports/databases/mnemo/Makefile
2008-10-30 09:55:27 +00:00

43 lines
921 B
Makefile

# $OpenBSD: Makefile,v 1.9 2008/10/30 09:55:27 mbalmer Exp $
COMMENT= memo application
HORDE_MODULE= mnemo
HORDE_NAME= Mnemo
DISTNAME= ${HORDE_MODULE}-h3-2.2.1
CATEGORIES= databases
HOMEPAGE= http://www.horde.org/${HORDE_MODULE}/
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_HORDE:=mnemo/}
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->=3.0:devel/horde \
:php5-imap-*:www/php5/extensions,-imap
pre-fake:
${INSTALL_DATA_DIR} ${INSTDIR}
do-install:
@cd ${INSTDIR} && tar zxf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}
@chown -R ${BINOWN}:${BINGRP} ${INSTDIR}/${DISTNAME}
@mv ${INSTDIR}/${DISTNAME} ${INSTDIR}/${HORDE_MODULE}
.include <bsd.port.mk>