aboutsummaryrefslogtreecommitdiffstats
path: root/mail/renattach/Makefile
blob: c8ef4cadd5105491b8ee674d0ec95a7126ac5b33 (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
# New ports collection makefile for:    renattach
# Date created:             20 June 2004
# Whom:                 Stefan A. Deutscher (sad@mailaps.org)
#
# $FreeBSD$
#

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

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

MAKE_JOBS_SAFE=  yes

GNU_CONFIGURE=  yes

MAN1=       renattach.1
PORTDOCS=   INSTALL
PLIST_FILES=    bin/renattach etc/renattach.conf.ex

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

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
    @${ECHO_MSG} "===================="
    @${ECHO_MSG} "Check with ${DOCSDIR}/INSTALL"
    @${ECHO_MSG} "After that you may need to adjust renattach.conf to your needs"
.endif

.include <bsd.port.mk>