blob: 45369a88f11190283764a5c2ea8d6874c083cbf1 (
plain) (
blame)
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
|
PORTNAME= vlogin
PORTVERSION= 3.10.2
PORTREVISION= 2
CATEGORIES= mail www
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.2.7
MAINTAINER= ports@FreeBSD.org
COMMENT= Adds multi-site-hosting capabilities to SquirrelMail
WWW= https://www.squirrelmail.org
USE_SM_COMPAT= yes
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
OPTIONS_DEFINE= DOCS
# We need to rearrange, install and cleanup documentation pre-install
# because bsd.squirrelmail.mk installs everything under ${WRKSRC}/${PORTNAME}.
pre-install::
${RM} ${WRKSRC}/${PORTNAME}/docs/.htaccess
${RM} ${WRKSRC}/${PORTNAME}/docs/index.php
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/${PORTNAME}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
${RM} -r ${WRKSRC}/${PORTNAME}/README
${RM} -r ${WRKSRC}/${PORTNAME}/docs
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.mk>
|