blob: 1a8745e2fe57cda130d13b31e6ac6f0d64fd7312 (
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
|
PORTNAME= squirrelmail-decode
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= mail www
MASTER_SITES= SF/squirrelmail/decode/${PORTVERSION}
DIST_SUBDIR= squirrelmail
MAINTAINER= ports@FreeBSD.org
COMMENT= Decoders to display extra character sets in SquirrelMail
WWW= https://www.squirrelmail.org/
LICENSE= GPLv2
RUN_DEPENDS= ${SQUIRRELDIR:S,^${PREFIX}/,${LOCALBASE}/,}/index.php:mail/squirrelmail
USES= tar:bzip2
NO_BUILD= yes
DOCSDIR= ${PREFIX}/share/doc/squirrelmail/decode
# if you were using WITHOUT_WWWDIR, use SQUIRRELDIR=${PREFIX}/squirrelmail
SQUIRRELDIR?= ${PREFIX}/www/squirrelmail
PLIST_SUB= SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}"
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${SQUIRRELDIR}/functions/decode
.for DIR in eastasia x-mac
${INSTALL_DATA} ${WRKSRC}/${DIR}/*.php ${STAGEDIR}${SQUIRRELDIR}/functions/decode
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.decode ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|