John Marino d417455b24 graphics/GraphicsMagick: Upgrade version 1.3.21 => 1.3.22
GraphicsMagick was just updated, but there was as newer, second
PR to upgrade it once more.  And again, the shared library version
has been bumped (haven't these guys heard of symbol versioning?)

While the INDEX references 114 users of GraphicksMagick, I'm going to
only bump the same 8 ports as yesterday.   The bump script appears to
be obsolete (still uses CVS!)

PR:		203547
Submitted by:	Walter Schwarzenfeld
2015-10-11 16:20:41 +00:00

43 lines
1.0 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= htmltolatex
PORTVERSION= 1
PORTREVISION= 21
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>