aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/rtf2htm/Makefile
blob: 24cdab7bdd4fab7174f12685c68ffb354b8e3109 (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
# ex:ts=8
# New ports collection makefile for:    rtf2htm
# Date created:         Sep 3, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   rtf2htm
PORTVERSION=    0.17.1
CATEGORIES= textproc
MASTER_SITES=   http://www.geocities.com/tuorfa/

MAINTAINER= ports@FreeBSD.org

WRKSRC=     ${WRKDIR}/${PORTNAME}
MAKEFILE=   makefile

MANCOMPRESSED=  no
MAN1=   rtf2htm.1

post-patch:
    @${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/${MAKEFILE}
    @${PERL} -pi -e 's|malloc.h|stdlib.h|' ${WRKSRC}/malloc.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/rtf2htm ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1

.include <bsd.port.mk>