aboutsummaryrefslogtreecommitdiffstats
path: root/mail/renattach/Makefile
blob: f1ef83fd5aa94bf55e690c7753ded41a9b08a7f8 (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.3
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

USE_GETOPT_LONG=    yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

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>