aboutsummaryrefslogtreecommitdiff
path: root/textproc/htmltolatex/Makefile
blob: d3111109b0e7e4c272ee0c69fb9adc0b7e0060ea (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
# 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=	ftp://crydee.sai.msu.ru/zeus/unix/WWW/tools/converters/
DISTNAME=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org

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

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

post-patch:
	@${REINPLACE_CMD} -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>