diff options
author | reg <reg@FreeBSD.org> | 2000-04-17 00:18:05 +0000 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-04-17 00:18:05 +0000 |
commit | 8b766534122d71052c9f8e5a0752944edf0450f8 (patch) | |
tree | 255862bd3b0c32802317a9ddc3193fd714753916 /japanese/latex2html | |
parent | e0c8ef49d897de0719277097a1e6578f291f493e (diff) | |
download | FreeBSD-ports-8b766534122d71052c9f8e5a0752944edf0450f8.zip FreeBSD-ports-8b766534122d71052c9f8e5a0752944edf0450f8.tar.gz |
Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO. Begin the process of reserving these prefixes for user defined
options.
No comment by: ports
Diffstat (limited to 'japanese/latex2html')
-rw-r--r-- | japanese/latex2html/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/japanese/latex2html/Makefile b/japanese/latex2html/Makefile index 45d3d1f..b3314a3 100644 --- a/japanese/latex2html/Makefile +++ b/japanese/latex2html/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ # # Default image format is GIF. -# If you prefer PNG to GIF, define USE_PNG (`make -DUSE_PNG`). +# If you prefer PNG to GIF, define WITH_PNG (`make -DWITH_PNG`). PORTNAME= latex2html PORTVERSION= ${VERSION}j${JP_VERSION} @@ -24,7 +24,7 @@ RUN_DEPENDS= ${PREFIX}/bin/latex:${PORTSDIR}/print/latex \ ${PREFIX}/bin/gs:${PORTSDIR}/print/ghostscript5 \ ${LOCALBASE}/bin/anytopnm:${PORTSDIR}/graphics/netpbm -.ifdef USE_PNG +.ifdef WITH_PNG RUN_DEPENDS += ${X11BASE}/bin/pnmtopng:${PORTSDIR}/graphics/pnmtopng .endif @@ -55,7 +55,7 @@ post-patch: "s|LATEX2HTMLDIR\s*=.*;|LATEX2HTMLDIR='${L2HDIR}';|; s|^use lib.*;|use lib '${L2HDIR}';|;" \ ${WRKDIR}/$$file; \ done -.ifdef USE_PNG +.ifdef WITH_PNG @${PERL} -pi -e "s|IMAGE_TYPE=.*;|IMAGE_TYPE='png';|" \ ${WRKDIR}/jlatex2html.config .endif |