mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
0685b3e969
Note that graphics/GraphicsMagick12 was removed on 2014-05-20 because it is no longer maintained upstream. Detailed/other changes: * graphics/GraphicsMagick : - Copy contents from graphics/GraphicsMagick13 - Remove PORTREVISION and PKGNAMESUFFIX - Keep original pkg-descr, do not copy whitespace-only changes. * graphics/pecl-gmagick : - Use modern LIB_DEPENDS * graphics/vips : - Stage support - Use modern LIB_DEPENDS - USES libtool, pathfix * multimedia/bombono : - Update BUILD_DEPENDS and RUN_DEPENDS * textproc/htmltolatex : - Use modern LIB_DEPENDS Phabric: D108 162 Approved by: portmgr (antoine, bapt)
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= htmltolatex
|
|
PORTVERSION= 1
|
|
PORTREVISION= 18
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://people.FreeBSD.org/~foxfair/distfiles/
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= pi@FreeBSD.org
|
|
COMMENT= HTML to LaTeX to PDF Converter
|
|
|
|
LIB_DEPENDS= libGraphicsMagick++.so:${PORTSDIR}/graphics/GraphicsMagick
|
|
|
|
USES= bison gmake
|
|
MAKEFILE= GNUmakefile
|
|
MAKE_JOBS_UNSAFE= yes
|
|
MAKE_ARGS= CXX="${CXX}" \
|
|
CXXFLAGS="${CXXFLAGS} -DUNIX \
|
|
`GraphicsMagick++-config --cppflags`"
|
|
|
|
post-configure:
|
|
${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
|
|
-e 's,-lMagick,-lGraphicsMagick,g' \
|
|
-e 's,-lstdc++,,' \
|
|
-e 's,{quote},{tightquote},' ${WRKSRC}/QA/test1*_baseline*.tex \
|
|
${WRKSRC}/${MAKEFILE}
|
|
|
|
post-build test:
|
|
@if ! cd ${WRKSRC}/QA && ./run_tests; \
|
|
then \
|
|
${CAT} ${WRKSRC}/QA/*.diff; \
|
|
exit 1; \
|
|
fi
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/h2l ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/nmr.tex ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|