Index: head/print/apsfilter6/Makefile =================================================================== --- head/print/apsfilter6/Makefile (revision 32451) +++ head/print/apsfilter6/Makefile (revision 32452) @@ -1,53 +1,67 @@ # New ports collection makefile for: apsfilter # Date created: Tue Nov 14 18:29:48 MET 1995 # Whom: Andreas Klemm # # $FreeBSD$ # PORTNAME= apsfilter PORTVERSION= 6.0.0 CATEGORIES= print MASTER_SITES= http://www.apsfilter.org/download/ -DISTFILES= apsfilter-current-07.09.2000.tar.bz2 +DISTFILES= apsfilter-current-09.09.2000.tar.bz2 MAINTAINER= andreas@FreeBSD.org -RUN_DEPENDS= recode:${PORTSDIR}/converters/recode -.if defined(BATCH) -RUN_DEPENDS+= gs:${PORTSDIR}/print/ghostscript6 -RUN_DEPENDS+= html2ps:${PORTSDIR}/print/html2ps-letter -RUN_DEPENDS+= transfig:${PORTSDIR}/print/transfig -RUN_DEPENDS+= cjpeg:${PORTSDIR}/graphics/jpeg -RUN_DEPENDS+= anytopnm:${PORTSDIR}/graphics/netpbm +.if defined(BATCH) && defined(APSFILTER_ALL) +# Please note: this might be needed only in rare cases or for testing +# all of apsfilters capabilities +# ps emulator +RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript6 +# all needed decompression utilities RUN_DEPENDS+= bunzip2:${PORTSDIR}/archivers/bzip2 +RUN_DEPENDS+= melt:${PORTSDIR}/archivers/freeze +# all needed "xxx to ps" filter utilities RUN_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps-letter +RUN_DEPENDS+= acroread4:${PORTSDIR}/print/acroread4 +RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick +RUN_DEPENDS+= dvips:${PORTSDIR}/print/teTeX +RUN_DEPENDS+= html2ps:${PORTSDIR}/print/html2ps-letter RUN_DEPENDS+= psnup:${PORTSDIR}/print/psutils-letter -RUN_DEPENDS+= smbclient:${PORTSDIR}/net/samba +RUN_DEPENDS+= transfig:${PORTSDIR}/print/transfig +# all possible remote printing support RUN_DEPENDS+= pap:${PORTSDIR}/net/netatalk +RUN_DEPENDS+= smbclient:${PORTSDIR}/net/samba +.elif defined(BATCH) +# ps emulator +RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript6 +# most important "xxx to ps" filter utilities +RUN_DEPENDS+= a2ps:${PORTSDIR}/print/a2ps-letter +RUN_DEPENDS+= psnup:${PORTSDIR}/print/psutils-letter +RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick .endif USE_BZIP2= yes WRKSRC= ${WRKDIR}/apsfilter SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" # make a2ps port happy in this early stage PAPERSIZE?=letter .if !defined(BATCH) pre-configure: @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc post-clean: @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc .if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) .include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" .endif .else post-install: @${MKDIR} ${PREFIX}/apsfilter/filter @${TOUCH} ${PREFIX}/apsfilter/filter/.keep_me .endif .include Property changes on: head/print/apsfilter6/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.77 \ No newline at end of property +1.78 \ No newline at end of property Index: head/print/apsfilter6/distinfo =================================================================== --- head/print/apsfilter6/distinfo (revision 32451) +++ head/print/apsfilter6/distinfo (revision 32452) @@ -1 +1 @@ -MD5 (apsfilter-current-07.09.2000.tar.bz2) = 2b478d1d606540aac1e734aa47983477 +MD5 (apsfilter-current-09.09.2000.tar.bz2) = 86340abc2d75be8215a54b225f3fc5db Property changes on: head/print/apsfilter6/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.43 \ No newline at end of property +1.44 \ No newline at end of property Index: head/print/apsfilter6/scripts/configure =================================================================== --- head/print/apsfilter6/scripts/configure (revision 32451) +++ head/print/apsfilter6/scripts/configure (revision 32452) @@ -1,172 +1,172 @@ #! /bin/sh # $FreeBSD$ if [ "$BATCH" != "yes" ]; then # # configure - apsfilter package dependency configuration # /usr/bin/dialog --title "supported file types" --clear \ --checklist "\n\ Select file types you want to print:" -1 -1 14 \ -LETTER "LETTER printing" OFF \ -LETTERDJ "LETTERDJ printing" ON \ -A4 "A4 printing" OFF \ -PS "Postscript and PDF files" ON \ -SAMBA "Windows Remote-Print Support" ON \ -ATALK "AppleTalk Remote-Print Support" OFF \ -ENCRYPTED_PDF "Encrypted PDF files" ON \ -ASCII "ASCII/English Text/Scripts" ON \ -MAIL "Mail/News articles" ON \ -DVI "TeX DVI files" OFF \ -HTML "HTML documents" OFF \ -TROFF "Troff documents" ON \ -JPEG "JPEG pictures" OFF \ -TIFF "TIFF pictures" OFF \ -PBM "GIF/PNM/PBM/PPM/BMP pictures" ON \ -FIG "XFIG drawings" OFF \ -FAXG3 "Fax Group 3 files" OFF \ +A4 "A4 papersize" ON \ +LETTER "letter papersize" OFF \ +LETTERDJ "letter + special DeskJet adjustements" OFF \ +GS "Postscript for non-PS printer, needs X11" ON \ +GS_PDF_CRYPT "print encrypted PDF files using gs" ON \ +PSUTILS "for pseudo duplex printing + paper handling" ON \ +A2PS "ASCII files in different styles/orientation" ON \ +ACROREAD4 "PDF files, needs Linux emulation" ON \ +CONVERT "support for lots of graphic file formats" ON \ +DVIPS "TeX DVI files" OFF \ +FIG2DEV "XFIG drawings" OFF \ +HTML2PS "HTML documents" OFF \ +TROFF "Troff documents" OFF \ +ATALK "remote printing on AppleTalk remote printer" OFF \ +SAMBA "remote printing on Windows remote printer" OFF \ +BZIP2 "print bunzip2 compressed documents" OFF \ +FREEZE "print freeze compressed documents" OFF \ 2> /tmp/apsfilter-checklist.$$ retval=$? if [ -s /tmp/apsfilter-checklist.$$ ]; then set `cat /tmp/apsfilter-checklist.$$` fi rm -f /tmp/apsfilter-checklist.$$ case $retval in 0) if [ -z "$*" ]; then echo "Nothing selected" fi ;; 1) echo "Cancel pressed." exit 1 ;; esac /bin/mkdir -p ${WRKDIRPREFIX}${CURDIR} exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc while [ "$1" ]; do case $1 in + \"A4\") + PAPERSIZE=a4 + echo "PAPERSIZE=a4" + ;; \"LETTER\") PAPERSIZE=letter echo "PAPERSIZE=letter" ;; \"LETTERDJ\") PAPERSIZE=letterdj echo "PAPERSIZE=letterdj" ;; - \"A4\") - PAPERSIZE=a4 - echo "PAPERSIZE=a4" - ;; - \"PS\") + \"GS\") echo RUN_DEPENDS+=gs:${PORTSDIR}/print/ghostscript6 ;; - \"SAMBA\") - echo RUN_DEPENDS+=smbclient:${PORTSDIR}/net/samba - ;; - \"ATALK\") - echo RUN_DEPENDS+=pap:${PORTSDIR}/net/netatalk - ;; - \"ENCRYPTED_PDF\") + \"GS_PDF_CRYPT\") echo RUN_DEPENDS+=gs:${PORTSDIR}/print/ghostscript6 echo PDFENCRYPT=YES ;; - \"ASCII\") + \"PSUTILS\") case $PAPERSIZE in letter) - echo RUN_DEPENDS+=a2ps:${PORTSDIR}/print/a2ps-letter + echo RUN_DEPENDS+=psnup:${PORTSDIR}/print/psutils-letter ;; letterdj) - echo RUN_DEPENDS+=a2ps:${PORTSDIR}/print/a2ps-letterdj + echo RUN_DEPENDS+=psnup:${PORTSDIR}/print/psutils-letter ;; a4) - echo RUN_DEPENDS+=a2ps:${PORTSDIR}/print/a2ps-a4 + echo RUN_DEPENDS+=psnup:${PORTSDIR}/print/psutils-a4 ;; esac ;; - \"MAIL\") + \"A2PS\") case $PAPERSIZE in letter) - echo RUN_DEPENDS+=psnup:${PORTSDIR}/print/psutils-letter + echo RUN_DEPENDS+=a2ps:${PORTSDIR}/print/a2ps-letter ;; letterdj) - echo RUN_DEPENDS+=psnup:${PORTSDIR}/print/psutils-letter + echo RUN_DEPENDS+=a2ps:${PORTSDIR}/print/a2ps-letterdj ;; a4) - echo RUN_DEPENDS+=psnup:${PORTSDIR}/print/psutils-a4 + echo RUN_DEPENDS+=a2ps:${PORTSDIR}/print/a2ps-a4 ;; esac ;; - \"DVI\") + \"ACROREAD4\") + echo RUN_DEPENDS+=acroread4:${PORTSDIR}/print/acroread4 + ;; + \"CONVERT\") + echo RUN_DEPENDS+=convert:${PORTSDIR}/graphics/ImageMagick + ;; + \"DVIPS\") echo RUN_DEPENDS+=dvips:${PORTSDIR}/print/teTeX ;; - \"HTML\") + \"FIG2DEV\") + echo RUN_DEPENDS+=fig2dev:${PORTSDIR}/print/transfig + ;; + \"HTML2PS\") case $PAPERSIZE in letter) echo RUN_DEPENDS+=html2ps:${PORTSDIR}/print/html2ps-letter ;; letterdj) echo RUN_DEPENDS+=html2ps:${PORTSDIR}/print/html2ps-letter ;; a4) echo RUN_DEPENDS+=html2ps:${PORTSDIR}/print/html2ps-a4 ;; esac ;; \"TROFF\") TROFF=YES ;; - \"JPEG\") - echo RUN_DEPENDS+=cjpeg:${PORTSDIR}/graphics/jpeg + \"ATALK\") + echo RUN_DEPENDS+=pap:${PORTSDIR}/net/netatalk ;; - \"TIFF\") - echo LIB_DEPENDS+=tiff.4:${PORTSDIR}/graphics/tiff + \"SAMBA\") + echo RUN_DEPENDS+=smbclient:${PORTSDIR}/net/samba ;; - \"PBM\") - echo RUN_DEPENDS+=anytopnm:${PORTSDIR}/graphics/netpbm + \"BZIP2\") + echo RUN_DEPENDS+=bunzip2:${PORTSDIR}/archivers/bzip2 ;; - \"FIG\") - echo RUN_DEPENDS+=fig2dev:${PORTSDIR}/print/transfig - ;; - \"FAXG3\") - echo RUN_DEPENDS+=g3cat:${PORTSDIR}/comms/mgetty+sendfax + \"FREEZE\") + echo RUN_DEPENDS+=smbclient:${PORTSDIR}/archivers/freeze ;; esac shift done fi # if $BATCH # if batch, then start creating Makefile.inc here if [ "$BATCH" = "yes" ]; then /bin/mkdir -p ${WRKDIRPREFIX}${CURDIR} exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc fi echo "post-install:" echo " @\${MKDIR} ${PREFIX}/apsfilter/filter" echo " @touch ${PREFIX}/apsfilter/filter/.keep_me" echo " @\${ECHO} \"========================================================\"" echo " @\${ECHO} \"************ Post Installation Tasks *******************\"" echo " @\${ECHO} \"========================================================\"" if [ $TROFF ] then echo " @\${ECHO} \"If running FreeBSD < 4.0 and you want to print troff \"" echo " @\${ECHO} \"files then you have to install the grog utility \"" echo " @\${ECHO} \"from the groff sources: \"" echo " @\${ECHO} \" cp /usr/src/contrib/groff/grog/grog.sh /usr/bin/grog\"" echo " @\${ECHO} \" chmod 555 /usr/bin/grog \"" echo " @\${ECHO} \"--------------------------------------------------------\"" fi echo " @\${ECHO} \"*** Please Note *** \"" echo " @\${ECHO} \"To enable so called CLASS support without printing \"" echo " @\${ECHO} \"the banner page (/etc/printcap: :sh:) \"" echo " @\${ECHO} \"apply the patch for lpr.c, see file INSTALL !!! \"" echo " @\${ECHO} \"--------------------------------------------------------\"" echo " @\${ECHO} \"*** Printer installation / apsfilter setup *** \"" echo " @\${ECHO} \" cd ${PREFIX}/share/apsfilter; ./SETUP \"" Property changes on: head/print/apsfilter6/scripts/configure ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.16 \ No newline at end of property +1.17 \ No newline at end of property