diff -u apsfilter.old/Makefile apsfilter/Makefile --- apsfilter.old/Makefile Fri Feb 7 16:29:12 2003 +++ apsfilter/Makefile Fri Feb 7 16:33:41 2003 @@ -37,7 +37,13 @@ # - APSFILTER_ALL build and install all supported filter utilities # - WITHOUT_X11 toggles not to build tools that need X11, even if # APSFILTER_ALL is set +# - A4_PAPER sets the default paper size to A4 for dependencies # +.if defined(A4_PAPER) +PAPER_SIZE=a4 +.else +PAPER_SIZE=letter +.endif .if defined(BATCH) && defined(APSFILTER_ALL) # # Build and install all filter apsfilter knows about (rather expensive) @@ -55,8 +61,8 @@ RUN_DEPENDS+= melt:${PORTSDIR}/archivers/freeze RUN_DEPENDS+= lzop:${PORTSDIR}/archivers/lzop # all needed "ASCII to ps" filter utilities -RUN_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps-letter -RUN_DEPENDS+= enscript:${PORTSDIR}/print/enscript-letter +RUN_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps-${PAPER_SIZE} +RUN_DEPENDS+= enscript:${PORTSDIR}/print/enscript-${PAPER_SIZE} RUN_DEPENDS+= mpage:${PORTSDIR}/print/mpage RUN_DEPENDS+= recode:${PORTSDIR}/converters/recode # all needed "ARCHIVE" extraction utilities @@ -71,7 +77,7 @@ # all needed "xxx to ps" filter utilities RUN_DEPENDS+= fitstopnm:${PORTSDIR}/graphics/netpbm RUN_DEPENDS+= htmldoc:${PORTSDIR}/textproc/htmldoc -RUN_DEPENDS+= psnup:${PORTSDIR}/print/psutils-letter +RUN_DEPENDS+= psnup:${PORTSDIR}/print/psutils-${PAPER_SIZE} .if !defined(WITHOUT_X11) # "xxx to ps" filter utilities that require X RUN_DEPENDS+= acroread4:${PORTSDIR}/print/acroread4 @@ -101,8 +107,8 @@ RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu .endif # most important "xxx to ps" filter utilities -RUN_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps-letter -RUN_DEPENDS+= psnup:${PORTSDIR}/print/psutils-letter +RUN_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps-${PAPER_SIZE} +RUN_DEPENDS+= psnup:${PORTSDIR}/print/psutils-${PAPER_SIZE} .endif # needed for aps2file :-/ Common subdirectories: apsfilter.old/scripts and apsfilter/scripts