aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/htmltolatex/Makefile
blob: b6b9b52d90084f618894dfce559e592c9c850a2e (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
# ex:ts=8
# New ports collection makefile for:    htmltolatex
# Date created:         Jan 19, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   htmltolatex
PORTVERSION=    1
CATEGORIES= textproc
MASTER_SITES=   http://66.108.152.41/~nradisch/docgen/
DISTNAME=   ${PORTNAME}

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    Magick:${PORTSDIR}/graphics/ImageMagick

USE_BISON=  yes
MAKEFILE=   GNUmakefile
CXXFLAGS+=  -I${LOCALBASE}/include -DUNIX
USE_GMAKE=  yes

post-patch:
    @${PERL} -pi -e "s,^CXXFLAGS,#CXXFLAGS,g ; \
        s,^CXX,#CXX,g" ${WRKSRC}/${MAKEFILE}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/h2l ${PREFIX}/bin
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/nmr.tex ${DATADIR}

.include <bsd.port.mk>