blob: 2b42c02c68fc6b58edb46b2dd8e347a9e59fb8d2 (
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
37
38
39
40
41
42
43
44
45
46
47
|
# $NetBSD: Makefile,v 1.3 2001/07/13 07:09:19 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:../../www/php4-mcrypt
DEPENDS+= squirrelmail>=1.0.6:../../mail/squirrelmail
SMDIR= ${PREFIX}/share/squirrelmail
MESSAGE_SUBST+= SMDIR=${SMDIR}
NO_CONFIGURE= # defined
NO_BUILD= # defined
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
INSTALL_FILE= ${WRKDIR}/INSTALL
FILES_SUBST= SMDIR=${SMDIR:S/^${PREFIX}\///}
FILES_SUBST+= CAT=${CAT:Q}
FILES_SUBST+= CHMOD=${CHMOD:Q}
FILES_SUBST+= CMP=${CMP:Q}
FILES_SUBST+= CP=${CP:Q}
FILES_SUBST+= RM=${RM:Q}
FILES_SUBST+= RMDIR=${RMDIR:Q}
FILES_SUBST+= TRUE=${TRUE:Q}
FILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
pre-install:
${SED} ${FILES_SUBST_SED} ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
${SED} ${FILES_SUBST_SED} ${PKGDIR}/INSTALL > ${INSTALL_FILE}
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.mk"
|