blob: ab2d3a90244875ddbc7f249bf0ccddc31c6ae4f8 (
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
29
30
|
# Created by: Matt Emmerton <matt@gsicomp.on.ca>
# $FreeBSD$
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
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>
|