aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/tnef2txt/Makefile
blob: 10d1276306f8b5934750556248e92c9d79b92347 (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
# New ports collection makefile for:    tnef2txt
# Date created:         14 Jan 2002
# Whom:             Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   tnef2txt
PORTVERSION=    1.4
CATEGORIES= textproc converters
MASTER_SITES=   http://www.fiction.net/blong/programs/tnef2txt/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A portable application/ms-tnef parser

ALL_TARGET= tnef2txt
MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS}"

PLIST_FILES=    bin/tnef2txt
PORTDOCS=   README

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/tnef2txt ${PREFIX}/bin

post-install:
.if !defined(NOPORTDOCS)
    @${ECHO} "===>   Installing README in ${PREFIX}/share/doc/tnef2txt"
    @${MKDIR} ${PREFIX}/share/doc/tnef2txt && \
        ${CHMOD} a+rx ${PREFIX}/share/doc/tnef2txt
    @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tnef2txt
.endif

.include <bsd.port.mk>