blob: 07c3b44ef949f819aeccc8ba42a6e55c88b859ac (
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
|
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= squirrelmail-decode
PORTVERSION= 1.2
CATEGORIES= mail www
MASTER_SITES= SF/squirrelmail/decode/${PORTVERSION}
DIST_SUBDIR= squirrelmail
MAINTAINER= adamw@FreeBSD.org
COMMENT= Decoders to display extra character sets in SquirrelMail
RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail
USE_BZIP2= yes
NO_BUILD= yes
DOCSDIR= ${PREFIX}/share/doc/squirrelmail/decode
PORTDOCS= *
# if you were using WITHOUT_WWWDIR, use SQUIRRELDIR=${PREFIX}/${PORTNAME}
SQUIRRELDIR?= ${PREFIX}/www/squirrelmail
PLIST_SUB= SQUIRRELDIR="${SQUIRRELDIR:S,^${PREFIX}/,,}"
NO_STAGE= yes
do-install:
${MKDIR} ${SQUIRRELDIR}/functions/decode
.for DIR in eastasia x-mac
cd ${WRKSRC}/${DIR} && ${FIND} . | ${CPIO} -pdmu --quiet ${SQUIRRELDIR}/functions/decode
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.decode ${DOCSDIR}
.endif
.include <bsd.port.mk>
|