mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= htmltolatex
|
|
PORTVERSION= 1
|
|
PORTREVISION= 25
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://people.FreeBSD.org/~foxfair/distfiles/
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= pi@FreeBSD.org
|
|
COMMENT= HTML to LaTeX to PDF Converter
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/copying.txt
|
|
|
|
LIB_DEPENDS= libGraphicsMagick++.so:graphics/GraphicsMagick
|
|
|
|
USES= bison compiler:c++11-lang 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>
|