# /usr/ports/print/Makefile.local by jhs@berklix .if ( defined(BERKLIX_MINIMAL) || \ defined(BERKLIX_CLIENT) || defined(BERKLIX_GATE) || \ defined(BERKLIX_SERVER) || defined(BERKLIX_AMBITIOUS ) ) #{ .undef SUBDIR .endif #} .if defined(BERKLIX_CLIENT) #{ SUBDIR += acroread9 # companieshouse.gov.uk PDF V1.6 & 7 gets a bit further then crashes # Can print single pages, unlike xpdf. uses linux_base SUBDIR += acroreadwrapper # for acroread9 SUBDIR += cdlabelgen SUBDIR += cups # lots of new printers .endif #} .if ( defined(BERKLIX_CLIENT) || defined(BERKLIX_MINIMAL)) #{ # SUBDIR += dvips # for ~/pu*l/bim/leaflet/ # # prevents all these packages installing: # docproj-jadetex-1.13.tgz # dvipsk-tetex-5.92b_2.tgz # jadetex-3.13.tgz # latex2html-2002.2.1_3.tgz # lyx-1.3.5.tgz # teTeX-2.0.2_7.tgz # teTeX-base-2.0.2_8.tgz # teTeX-latex2e-1.0.20031201.tgz # xdvik-tetex-22.84.8.tgz # so as no package I install depend on dvips, # I need to see if I can live without it. SUBDIR += dvips2ascii # for ~/pu*l/bim/leaflet/ # It has always been a pain figuring which ghostscript I wanted, so after # { # On host=lapl 4.11-RELEASE with gv *.ps 2009.03.04 I saw error: # Unknown device: x11 Error: PostScript interpreter failed in main window. # With /var/db/pkg/ # XFree86-fontEncodings-4.4.0 # ghostscript-gnu-7.07_11 # ghostscript-gnu-nox11-7.07_11 # ghostview-1.5 # gsfonts-8.11_2 # libgsf-1.10.1 # p5-HTML-Tagset-3.03 # } So I investigated & listed all the various gs: # SUBDIR += ghostscript-afpl/ # in 4.11-RELEASE, not in 7.1-RELEASE # SUBDIR += ghostscript-afpl-nox11/ # in 4.11-RELEASE, not in 7.1-RELEASE # .include # Import ${OSVERSION} # include above hashed out after 7.2 amd64 errors with # "/usr/share/mk/bsd.own.mk", line 267: Too many nested if's. 30 max # it has 702000 from elsewhere. .if ${OSVERSION} <= 492000 # { SUBDIR += ghostscript-gnu/ # in 4.11-RELEASE version 7. Not in 7.1-RELEASE # ghostscript-gnu-7.07_17 & ghostscript-gpl-8.60 conflict. .endif # SUBDIR += ghostscript-gnu-commfont/ # in 4.11-RELEASE, not in 7.1-RELEASE # SUBDIR += ghostscript-gnu-nox11/ # in 4.11-RELEASE, not in 7.1-RELEASE # SUBDIR += ghostscript-gpl # in 4.11-RELEASE version 8. Not in 7.1-RELEASE # SUBDIR += ghostscript-gpl-nox11/ # in 4.11-RELEASE, not in 7.1-RELEASE # SUBDIR += ghostscript7 # not in 4.11-RELEASE, in 7.1-RELEASE # SUBDIR += ghostscript7-commfont # not in 4.11-RELEASE, in 7.1-RELEASE, Common files for Ghostscript 7.x CJK font support # SUBDIR += ghostscript7-jpnfont # Japanese. # SUBDIR += ghostscript7-korfont # Korean # SUBDIR += ghostscript7-nox11 # No use for me, I want X11 .if ${OSVERSION} > 492000 # { SUBDIR += ghostscript8 # not in 4.11-RELEASE, in 7.1-RELEASE # SUBDIR += ghostscript8-nox11 # No use for me, I want X11 .endif # } # Test code to detect Version Numbers: # .include # Import ${OSREL} ${OSVERSION} # honk: # @echo "${OSREL} ${OSVERSION}" # @# 7.1-RELEASE answers: 7.1 701000 # @# 4.11-RELEASE answers 4.11 492000 # .if ${OSVERSION} >= 701000 # # echo new # .else # echo old # .endif SUBDIR += ghostview # companieshouse.gov.uk PDF V1.6 & 1.7 shows start # NO_IGNORE=yes to override FORBIDDEN= .endif #} .if defined(BERKLIX_CLIENT) #{ SUBDIR += gsfonts # Warning contains Type1, if that happens to zero # # /usr/local/lib/X11/fonts/Type1/fonts.cache-1, # # it will kill mozilla. SUBDIR += gv # fails on companieshouse.gov.uk PDF V1.6 & 1.7 # SUBDIR += hpijs # For RAS HP DeskJet 670C # install fails on 7 & current until # mkdir -p /usr/local/libexec/cups/filter/ SUBDIR += hplip # For my HP Deskjet 2050 J510 series SUBDIR += kpdftool # Fails on companieshouse.gov.uk PDF V1.6 & 7 # renders and merges PDFs ? No exit button .if defined(BERKLIX_AMBITIOUS) #{ Only played with it. # SUBDIR += lyx # Rec. by Ernst & Gary. Collides with dvips .endif # } SUBDIR += pdfmerge SUBDIR += pdfmod # companieshouse.gov.uk PDF V1.6 & 7 fails SUBDIR += pdftk # companieshouse.gov.uk PDF V1.6 & 7 not tried, as CLI # SUBDIR += pdf-renderer # library, not tried with companieshouse.gov.uk PDF V1.6 & 7 SUBDIR += psutils-a4 SUBDIR += texinfo # http://www.gnu.org/software/texinfo/ # # for bin/texi2pdf # # for /usr/src/contrib/cvs/doc/cvs.texinfo SUBDIR += teTeX-base # for cd /usr/doc/en_US.ISO8859-1/slides;make FORMATS=pdf .endif #}