aboutsummaryrefslogtreecommitdiffstats
path: root/mail/renattach/Makefile
blob: 2398260939466b10b05894bfbbcc9ebf17148d97 (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
35
36
# Created by: Stefan A. Deutscher (sad@mailaps.org)
# $FreeBSD$

PORTNAME=   renattach
PORTVERSION=    1.2.4
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   http://www.pc-tools.net/files/unix/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Rename or remove certain attachments or kill entire messages

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

GNU_CONFIGURE=  yes

PORTDOCS=   AUTHORS ChangeLog INSTALL NEWS README
PLIST_FILES=    bin/renattach \
        "@sample etc/renattach.conf.sample" \
        man/man1/renattach.1.gz

OPTIONS_DEFINE= DOCS

post-extract:
    @${RM} ${WRKSRC}/src/getopt*

post-install:
    ${MV} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.ex \
        ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>