From 620e8e9b76415789486fe5c6d38ce0ac8e26352f Mon Sep 17 00:00:00 2001 From: Andreas Klemm Date: Sun, 1 Apr 2001 13:24:00 +0000 Subject: update from apsfilter 6.1.0 to 6.1.1 - a duplex printing password fix turned out incompatibility of BSD od(1) to other flavours of od(1). - apsfilter 6.1.1 contains the duplex password fix + a substitution of od(1) with hexdump which also seems to be available on Linux and Solaris. - no PORTREVISION dump since we have a new release - added pkg-message file for easier handling and addition of notification to apsfilter *package* had to change configure script and Makefile to follow that new infrastructure. - troff notification in dependency to FreeBSD version --- print/apsfilter/Makefile | 18 ++++++++++++++++-- print/apsfilter/distinfo | 2 +- print/apsfilter/pkg-message | 16 ++++++++++++++++ print/apsfilter/scripts/configure | 21 --------------------- 4 files changed, 33 insertions(+), 24 deletions(-) create mode 100644 print/apsfilter/pkg-message (limited to 'print') diff --git a/print/apsfilter/Makefile b/print/apsfilter/Makefile index 3ca7973ba13b..1662055b3d6c 100644 --- a/print/apsfilter/Makefile +++ b/print/apsfilter/Makefile @@ -6,7 +6,7 @@ # PORTNAME= apsfilter -PORTVERSION= 6.1.0 +PORTVERSION= 6.1.1 CATEGORIES= print MASTER_SITES= http://www.apsfilter.org/download/ @@ -18,7 +18,7 @@ MAINTAINER= andreas@FreeBSD.org NO_X= yes .endif -.if defined(NO_X) +.if defined(NO_X) # XXX Hack. If you've done something like "-DNO_X" on the command line # (instead of NO_X=true, or similar) gmake won't pick it up. So make sure # that NO_X is defined *and* has a value. @@ -102,4 +102,18 @@ post-clean: .endif .endif +post-install: +.if defined(OSVERSION) && ${OSVERSION} < 400012 + @${ECHO} "********************************************************" + @${ECHO} "* Please Note: *" + @${ECHO} "********************************************************" + @${ECHO} "You have FreeBSD version <= 4.0. If you want to print " + @${ECHO} "troff files then you have to install the grog utility " + @${ECHO} "from groff sources: " + @${ECHO} " cp /usr/src/contrib/groff/grog/grog.sh /usr/bin/grog" + @${ECHO} " chmod 555 /usr/bin/grog " + @${ECHO} "--------------------------------------------------------" +.endif + @${CAT} ${.CURDIR}/pkg-message + .include diff --git a/print/apsfilter/distinfo b/print/apsfilter/distinfo index a32031c5f1a2..c777ab3de39b 100644 --- a/print/apsfilter/distinfo +++ b/print/apsfilter/distinfo @@ -1 +1 @@ -MD5 (apsfilter-6.1.0.tar.bz2) = 00ab53b799c6b4ee098c1e7608c9d8f1 +MD5 (apsfilter-6.1.1.tar.bz2) = ed7bdb07f6df734906a070f99cb3ded1 diff --git a/print/apsfilter/pkg-message b/print/apsfilter/pkg-message new file mode 100644 index 000000000000..8ebe8e519f28 --- /dev/null +++ b/print/apsfilter/pkg-message @@ -0,0 +1,16 @@ +======================================================== +************ Post Installation Tasks ******************* +======================================================== +*** Printer installation / apsfilter setup *** + root# cd /usr/local/share/apsfilter; ./SETUP +-------------------------------------------------------- +*** In any case of trouble please read *** + the apsfilter handbook: handbook.html + and FAQ, HOWTO-BUGREPORTS + under /usr/local/share/doc/apsfilter/ +-------------------------------------------------------- +*** Support only over apsfilter mailinglists *** + please don't contact authors directly !!! + For more infos see: + http://www.apsfilter.org/support.html + http://www.apsfilter.org/ diff --git a/print/apsfilter/scripts/configure b/print/apsfilter/scripts/configure index ebe666ff2324..eabb2965f7fe 100644 --- a/print/apsfilter/scripts/configure +++ b/print/apsfilter/scripts/configure @@ -151,24 +151,3 @@ if [ "$BATCH" = "yes" ]; then /bin/mkdir -p ${WRKDIRPREFIX}${CURDIR} exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc fi -echo "post-install:" - 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} \"*** Printer installation / apsfilter setup *** \"" - echo " @\${ECHO} \" cd ${PREFIX}/share/apsfilter; ./SETUP \"" - echo " @\${ECHO} \"--------------------------------------------------------\"" - echo " @\${ECHO} \"*** In any case of trouble please read *** \"" - echo " @\${ECHO} \" the apsfilter handbook: handbook.html \"" - echo " @\${ECHO} \" and FAQ, HOWTO-BUGREPORTS \"" - echo " @\${ECHO} \" under ${PREFIX}/share/doc/apsfilter/ \"" - echo " @\${ECHO} \" or visit http://www.apsfilter.org/support.html \"" -- cgit v1.2.3