summaryrefslogtreecommitdiff
path: root/mail/sq-squirrelspell/Makefile
blob: c5e6a5d2e757caae35f84e4287a1be5dddad3182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $NetBSD: Makefile,v 1.5 2001/11/19 16:23:11 jlam Exp $

DISTNAME=	squirrelspell.0.3.5-1.0.6
PKGNAME=	sq-squirrelspell-0.3.5
WRKSRC=		${WRKDIR}/squirrelspell
CATEGORIES=	mail
MASTER_SITES=	http://www.squirrelmail.org/plugins/

MAINTAINER=	jlam@netbsd.org
HOMEPAGE=	http://mricon.com/xmlparse/SM/index.xml
COMMENT=	SquirrelMail spell-checker plugin

DEPENDS+=	ispell-base-[0-9]*:../../textproc/ispell-base
DEPENDS+=	php-mcrypt>=4.0.4.1:../../security/php4-mcrypt
DEPENDS+=	squirrelmail>=1.0.6:../../mail/squirrelmail

SMDIR=		${PREFIX}/share/squirrelmail
MESSAGE_SUBST+=	SMDIR=${SMDIR}

NO_BUILD=	# defined

CONF_FILES=	${SMDIR}/plugins/squirrelspell/sqspell_config.dist	\
		${SMDIR}/plugins/squirrelspell/sqspell_config.php
OWN_DIRS=	${SMDIR}/plugins/squirrelspell

pre-install:
	PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL

do-install:
	${CP} -R ${WRKSRC} ${SMDIR}/plugins

post-install:
	PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL

.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"