aboutsummaryrefslogtreecommitdiffstats
path: root/mail/squirrelmail-spam-buttons-plugin/Makefile
blob: f0c5caa20d38526222daadf3dbc2422655e896fa (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
31
32
33
34
# New ports collection makefile for:    squirrelmail-spam-buttons-plugin
# Date created:             2008-02-16
# Whom:                 Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   spam-buttons
PORTVERSION=    2.3.1
DISTNAME=   ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.4.0
DIST_SUBDIR=    squirrelmail

MAINTAINER= itetcu@FreeBSD.org
COMMENT=    Provides buttons with customizable action (for reporting spam, etc.)

USE_SM_COMPAT=  yes
USE_PERL5_RUN=  yes

SQUIRREL_PLUGIN_NAME=   ${PORTNAME:S/-/_/}

.include <bsd.port.pre.mk>

.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"

post-extract:
    @${MV} ${WRKSRC}/${_SMSRCDIR}/config_example.php ${WRKSRC}/${_SMSRCDIR}/config.sample.php
    @${RM} ${WRKSRC}/${_SMSRCDIR}/README
.ifdef NOPORTDOCS
    @${RM} -R ${WRKSRC}/${_SMSRCDIR}/docs
.else
    @${MV} ${WRKSRC}/${_SMSRCDIR}/docs ${WRKSRC}/${_SMSRCDIR}/doc
.endif

.include <bsd.port.post.mk>