diff options
author | hrs <hrs@FreeBSD.org> | 2013-05-12 02:38:53 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2013-05-12 02:38:53 +0800 |
commit | be3cd76863b52e7a995ae38eb3b1b875c34148ce (patch) | |
tree | c272033189d138f04b3a272d915015db52aaea68 /textproc | |
parent | 00e9a5d1df2f7e7e1c1be6a5146546595caa4686 (diff) | |
download | freebsd-ports-gnome-be3cd76863b52e7a995ae38eb3b1b875c34148ce.tar.gz freebsd-ports-gnome-be3cd76863b52e7a995ae38eb3b1b875c34148ce.tar.zst freebsd-ports-gnome-be3cd76863b52e7a995ae38eb3b1b875c34148ce.zip |
Use USE_TEX.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/docproj/Makefile | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/textproc/docproj/Makefile b/textproc/docproj/Makefile index e9af1340046f..0a12ade1487a 100644 --- a/textproc/docproj/Makefile +++ b/textproc/docproj/Makefile @@ -37,13 +37,13 @@ RUN_DEPENDS= fixrtf:${PORTSDIR}/textproc/fixrtf \ ${LOCALBASE}/share/xml/xmlcharent/catalog:${PORTSDIR}/textproc/xmlcharent \ p5-XML-Parser>=2.41:${PORTSDIR}/textproc/p5-XML-Parser -OPTIONS_DEFINE= JADETEX OPENJADE CJK SVN IGOR +OPTIONS_DEFINE= X11 JADETEX OPENJADE CJK SVN IGOR JADETEX_DESC= Support building additional document formats (PDF) OPENJADE_DESC= Install textproc/openjade instead of textproc/jade CJK_DESC= CJK (Simplified Chinese Language) support SVN_DESC= Subversion support (required to check out sources) IGOR_DESC= Igor automated proofreader for documentation -OPTIONS_DEFAULT= OPENJADE CJK SVN IGOR +OPTIONS_DEFAULT= X11 OPENJADE CJK SVN IGOR .if !defined(WITHOUT_JADETEX) || defined(PACKAGE_BUILDING) OPTIONS_DEFAULT+= JADETEX @@ -51,15 +51,6 @@ OPTIONS_DEFAULT+= JADETEX .include <bsd.port.options.mk> -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MOPENJADE} || ${ARCH} != "i386" -RUN_DEPENDS+= openjade:${PORTSDIR}/textproc/openjade \ - onsgmls:${PORTSDIR}/textproc/opensp -.else -RUN_DEPENDS+= jade:${PORTSDIR}/textproc/jade -.endif - .if ${PORT_OPTIONS:MSVN} RUN_DEPENDS+= svn:${PORTSDIR}/devel/subversion .endif @@ -69,8 +60,7 @@ RUN_DEPENDS+= igor:${PORTSDIR}/textproc/igor .endif .if ${PORT_OPTIONS:MJADETEX} -RUN_DEPENDS+= ${LOCALBASE}/share/texmf/web2c/jadetex.fmt:${PORTSDIR}/print/jadetex -RUN_DEPENDS+= dvips:${PORTSDIR}/print/dvipsk-tetex +USE_TEX= jadetex dvipsk .if ${PORT_OPTIONS:MCJK} RUN_DEPENDS+= cjktexsty:${PORTSDIR}/chinese/docproj .endif @@ -80,17 +70,13 @@ RUN_DEPENDS+= cjktexsty:${PORTSDIR}/chinese/docproj RUN_DEPENDS+= html2text:${PORTSDIR}/textproc/html2text .endif -.if ${PERL_LEVEL} < 500804 -RUN_DEPENDS+= p5-Digest-MD5>=2.51:${PORTSDIR}/security/p5-Digest-MD5 -.endif - NO_BUILD= yes USE_GHOSTSCRIPT_RUN= yes PLIST_FILES= #empty DEPENDS_ARGS+= BATCH=yes -.if defined(WITHOUT_X11) +.if !${PORT_OPTIONS:MX11} DEPENDS_ARGS+= WITHOUT_X11=${WITHOUT_X11} .endif @@ -102,4 +88,17 @@ minimaldocports: do-install: # empty +.include <bsd.port.pre.mk> + +.if ${PORT_OPTIONS:MOPENJADE} || ${ARCH} != "i386" +RUN_DEPENDS+= openjade:${PORTSDIR}/textproc/openjade \ + onsgmls:${PORTSDIR}/textproc/opensp +.else +RUN_DEPENDS+= jade:${PORTSDIR}/textproc/jade +.endif + +.if ${PERL_LEVEL} < 500804 +RUN_DEPENDS+= p5-Digest-MD5>=2.51:${PORTSDIR}/security/p5-Digest-MD5 +.endif + .include <bsd.port.post.mk> |