95b81b9de0
Submitted by: blackend
33 lines
705 B
Makefile
33 lines
705 B
Makefile
# 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_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>
|