diff options
Diffstat (limited to 'print')
-rw-r--r-- | print/papersize/Makefile | 4 | ||||
-rw-r--r-- | print/papersize/files/getpapersize | 8 | ||||
-rw-r--r-- | print/papersize/files/setpapersize | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/print/papersize/Makefile b/print/papersize/Makefile index ca2b85f9437..207d8cbda02 100644 --- a/print/papersize/Makefile +++ b/print/papersize/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.14 2003/08/15 12:51:38 reed Exp $ +# $NetBSD: Makefile,v 1.15 2003/09/08 17:38:34 jmmv Exp $ # -DISTNAME= papersize-1.0.6 +DISTNAME= papersize-1.0.7 WRKSRC= ${WRKDIR} CATEGORIES= print MASTER_SITES= # empty diff --git a/print/papersize/files/getpapersize b/print/papersize/files/getpapersize index 92a25f11d6b..52d018cf5b0 100644 --- a/print/papersize/files/getpapersize +++ b/print/papersize/files/getpapersize @@ -1,6 +1,6 @@ #!@SH@ # -# $NetBSD: getpapersize,v 1.7 2003/08/15 12:51:39 reed Exp $ +# $NetBSD: getpapersize,v 1.8 2003/09/08 17:38:34 jmmv Exp $ # # Small shell script to show the default papersize for packages # @@ -15,7 +15,7 @@ set $pkgs while [ $# -gt 0 ]; do case $1 in a2ps) - f=@LOCALBASE@/etc/a2ps-site.cfg + f=@PKG_SYSCONFDIR@/a2ps-site.cfg if [ -s "$f" ]; then @ECHO@ -n "$1 has default papersize: " @AWK@ '/^Options: --medium=/ { gsub(".*=", "", $0); print $0; }' $f @@ -29,7 +29,7 @@ while [ $# -gt 0 ]; do fi ;; enscript) - f=@LOCALBASE@/etc/enscript.cfg + f=@PKG_SYSCONFDIR@/enscript.cfg if [ -s "$f" ]; then @ECHO@ -n "$1 has default papersize: " @AWK@ '/^DefaultMedia:.*/ { gsub(".*:", "", $0); print $0; }' $f @@ -68,7 +68,7 @@ while [ $# -gt 0 ]; do fi ;; psutils) - f=@LOCALBASE@/etc/psutils.cfg + f=@PKG_SYSCONFDIR@/psutils.cfg if [ -s "$f" ]; then @ECHO@ -n "$1 has default papersize: " @AWK@ '/^PAPERSIZE=/ { gsub(".*=", "", $0); print $0; }' $f diff --git a/print/papersize/files/setpapersize b/print/papersize/files/setpapersize index 8557544e0c2..8df4b03e53e 100644 --- a/print/papersize/files/setpapersize +++ b/print/papersize/files/setpapersize @@ -1,6 +1,6 @@ #!@SH@ # -# $NetBSD: setpapersize,v 1.8 2003/08/15 12:51:39 reed Exp $ +# $NetBSD: setpapersize,v 1.9 2003/09/08 17:38:34 jmmv Exp $ # # Small shell script to set the default papersize for packages # @@ -46,7 +46,7 @@ set $pkgs while [ $# -gt 0 ]; do case $1 in a2ps) - a2psfile=@LOCALBASE@/etc/a2ps-site.cfg + a2psfile=@PKG_SYSCONFDIR@/a2ps-site.cfg if [ -s "$a2psfile" ]; then @MV@ $a2psfile $a2psfile.old @SED@ -e 's|^Options: --medium=.*|Options: --medium='$papersize'|' $a2psfile.old > $a2psfile && @RM@ $a2psfile.old @@ -62,7 +62,7 @@ while [ $# -gt 0 ]; do fi ;; enscript) - enscriptfile=@LOCALBASE@/etc/enscript.cfg + enscriptfile=@PKG_SYSCONFDIR@/enscript.cfg if [ -s "$enscriptfile" ]; then @MV@ $enscriptfile $enscriptfile.old @SED@ -e 's|^DefaultMedia:.*|DefaultMedia: '$papersize'|' $enscriptfile.old > $enscriptfile && @RM@ $enscriptfile.old @@ -97,7 +97,7 @@ while [ $# -gt 0 ]; do fi ;; psutils) - psutilsfile=@LOCALBASE@/etc/psutils.cfg + psutilsfile=@PKG_SYSCONFDIR@/psutils.cfg if [ -s "$psutilsfile" ]; then @MV@ $psutilsfile $psutilsfile.old @SED@ -e 's|^PAPERSIZE.*|PAPERSIZE='$lowpaper'|' $psutilsfile.old > $psutilsfile && @RM@ $psutilsfile.old |