Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2001 06:00:38 -0700 (PDT)
From:      papowell@lprng.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31286: ifhp-3.4.7 port (LPRng) update
Message-ID:  <200110151300.f9FD0ch39057@h110.private>

next in thread | raw e-mail | index | archive | help

>Number:         31286
>Category:       ports
>Synopsis:       ifhp-3.4.7 port (LPRng) update
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 15 06:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Powell
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
LPRng.com
>Environment:
System: FreeBSD h110.private 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001 jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC i386


	
>Description:
	 ifhp-3.4.7 port (LPRng) update
>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ifhp
#	ifhp/pkg-comment
#	ifhp/README.html
#	ifhp/distinfo
#	ifhp/files-pkg-message
#	ifhp/pkg-plist
#	ifhp/pkg-message
#	ifhp/pkg-install
#	ifhp/pkg-descr
#	ifhp/Makefile
#
echo c - ifhp
mkdir -p ifhp > /dev/null 2>&1
echo x - ifhp/pkg-comment
sed 's/^X//' >ifhp/pkg-comment << 'END-of-ifhp/pkg-comment'
Xifhp - A highly configurable print filter for LPRng
END-of-ifhp/pkg-comment
echo x - ifhp/README.html
sed 's/^X//' >ifhp/README.html << 'END-of-ifhp/README.html'
X<html>
X<title> The FreeBSD Ports Collection (print/ifhp)</title>
X<head><h1> The FreeBSD Ports Collection ("print/ifhp")</h1> </head> <hr>
X<body>
X
X<p>You are now in the directory for the port "print/ifhp" (package name "ifhp-3.4.8").
X
X<p>This is the one-line description for this port:
X
X<p><hr><p>
Xifhp - A highly configurable print filter for LPRng
X<p><hr>
X
X<p>Please read the file "<a href="pkg-descr">pkg-descr</a>" for a
Xlonger description.
X
X<p>Go to the <a href="../../README.html">top of the ports tree</a> for
Xa summary on how to use the ports collection.
X
X<p><hr><p>
X<a href="../README.html"> Go up one level</a>
X|
X<a href="../../README.html"> Go to top of ports tree</a>
X</body>
X</html>
END-of-ifhp/README.html
echo x - ifhp/distinfo
sed 's/^X//' >ifhp/distinfo << 'END-of-ifhp/distinfo'
XMD5 (ifhp-3.4.7.tgz) = af0d8e805838d6d6a8846daa142876c4
END-of-ifhp/distinfo
echo x - ifhp/files-pkg-message
sed 's/^X//' >ifhp/files-pkg-message << 'END-of-ifhp/files-pkg-message'
XThe ifhp configuration file is @@sysconfdir@@/ifhp.conf
X
XFor further information, have a look at:
X  @@PREFIX@@/share/doc/@@DISTNAME@@
Xalso:
X  WWW: http://www.lprng.com
END-of-ifhp/files-pkg-message
echo x - ifhp/pkg-plist
sed 's/^X//' >ifhp/pkg-plist << 'END-of-ifhp/pkg-plist'
Xlibexec/filters/ifhp
Xlibexec/filters/textps
Xlibexec/filters/wrapper
Xetc/ifhp.conf.sample
Xshare/doc/ifhp-3.4.7/IFHP-HOWTO.dsl
Xshare/doc/ifhp-3.4.7/updatesgmlmirrors
Xshare/doc/ifhp-3.4.7/updatehtmlmirrors
Xshare/doc/ifhp-3.4.7/supported
Xshare/doc/ifhp-3.4.7/dict
Xshare/doc/ifhp-3.4.7/Makefile.in
Xshare/doc/ifhp-3.4.7/Makefile
Xshare/doc/ifhp-3.4.7/IFHP-HOWTO.sgml
Xshare/doc/ifhp-3.4.7/IFHP-HOWTO.pdf
Xshare/doc/ifhp-3.4.7/IFHP-HOWTO.html
Xshare/doc/ifhp-3.4.7/IFHP-HOWTO.dtd
Xshare/doc/ifhp-3.4.7/updateversion
X@dirrm share/doc/ifhp-3.4.7
END-of-ifhp/pkg-plist
echo x - ifhp/pkg-message
sed 's/^X//' >ifhp/pkg-message << 'END-of-ifhp/pkg-message'
XThe ifhp configuration file is /etc/ifhp.conf
X
XFor further information, have a look at:
X  /usr/local/share/doc/ifhp-3.4.7
Xalso:
X  WWW: http://www.lprng.com
END-of-ifhp/pkg-message
echo x - ifhp/pkg-install
sed 's/^X//' >ifhp/pkg-install << 'END-of-ifhp/pkg-install'
X#!/bin/sh
XSYSCONFDIR=/etc
XIFHP_CONF=/etc/ifhp.conf
XVERSION=3.4.7
X#
X# -- START --
X# $Id: postinstall.freebsd.sh,v 1.8 2000/11/27 20:09:31 papowell Exp papowell $
X#
X#  If you are building a PORT, see the
X#  DISTRIBUTIONS/Freebsd directory for a complete port
X#  building package.
X# 
X# This is the shell script that does the postinstall
X# dynamic fixup
X#  It needs to be massaged with the information for
X#  various paths.
X# If you are building a package,  then you do NOT want
X#  to have this executed - it will put the sample files
X#  in place.  You need to do this during the postinstall
X#  step in the package installation.
X#
Xecho RUNNING postinstall.freebsd.sh MAKEPACKAGE="$MAKEPACKAGE" MAKEINSTALL="$MAKEINSTALL" PREFIX="$PREFIX" cwd `pwd`
Xfix () {
X	v=`echo $1 | sed -e 's/[:;].*//'`;
X    p=`echo $2 | sed -e 's/:.*//'`; d=`dirname $p`;
X	if expr "$p" : "\|" >/dev/null ; then
X		echo "$v is a filter '$p'" 
X		exit 0
X	fi
X    echo "Putting $p in $d, using $v.sample"
X	if [ ! -d "$d" ] ; then
X		echo "Directory $d does not exist!"
X		mkdir -p $d
X	fi
X	if [ -f $v.sample ] ; then
X		if [ $v.sample != $p.sample ] ; then cp $v.sample $p.sample; fi
X	elif [ -f $v ] ; then
X		if [ $v != $p.sample ] ; then cp $v $p.sample; fi
X	else
X		echo "Do not have $v.sample or $v"
X	fi
X	if [ ! -f $p.sample ] ; then
X		echo "Do not have $p.sample"
X	else
X		if [ -f $p ] ; then
X			date=`date | awk '{ print $6, $2, $3, $4;}' | sed -e 's/  */_/g' `
X			echo "Saving $p in $p.$date"
X			mv $p $p.$date
X		fi
X		chmod 644 $p.sample
X		cp $p.sample $p;
X		chmod 644 $p;
X	fi;
X}
X# we use the /usr/local/etc/rc.d method to start
X# lpd
X# we have to take them from one place and put in another
Xif [ "X$MAKEPACKAGE" = "XYES" ] ; then
X	hold=${PREFIX}/etc
X	echo "Setting up configuration files path" ${hold}
X    if [ ! -d ${hold} ] ; then mkdir -p ${hold} ; fi;
X    cp ifhp.conf ${hold}/ifhp.conf.sample
Xelif [ X$MAKEINSTALL = XYES ] ; then
X	hold=${DESTDIR}${PREFIX}/etc
X	echo "Setting up configuration files path" ${hold}
X    if [ ! -d ${hold} ] ; then mkdir -p ${hold} ; fi;
X    cp ifhp.conf ${hold}/ifhp.conf.sample
X    fix ifhp.conf "${DESTDIR}${IFHP_CONF}"
Xelse
X	# when doing an install from a package we get the file from the package
X	hold=etc
X    if [ -f ${hold}/ifhp.conf.sample ] ; then
X        fix ${hold}/ifhp.conf "${IFHP_CONF}"
X    else
X        echo "WARNING: configuration files missing from package! CWD " `pwd`
X		ls
X		exit 1
X    fi
Xfi
Xexit 0
END-of-ifhp/pkg-install
echo x - ifhp/pkg-descr
sed 's/^X//' >ifhp/pkg-descr << 'END-of-ifhp/pkg-descr'
Xifhp is a highly versatile print filter for BSD based print spoolers.
XIt can be configured to handle text,  PostScript, PJL, PCL, and
Xraster printers, supports conversion from one format to another,
Xand can be used as a stand-alone print utility.  It is the primary
Xsupported print filter for the LPRng print spooler.
X
XSee http://www.lprng.com/ for more information.
END-of-ifhp/pkg-descr
echo x - ifhp/Makefile
sed 's/^X//' >ifhp/Makefile << 'END-of-ifhp/Makefile'
X# New ports collection makefile for:	ifhp
X# Version required:	3.6.7
X# Date created:		10 Oct 2001
X# Whom:			papowell@astart.com
X#
X## $FreeBSD: ports/print/ifhp/Makefile,v 1.3 2000/04/09 17:49:58 cpiazza Exp $
X#
X
XPORTNAME=ifhp
XPORTVERSION=3.4.7
XCATEGORIES=	    print
XMASTER_SITES=	ftp://ftp.lprng.com/pub/LPRng/FILTERS/ \
X    ftp://ftp.sage-au.org.au/pub/printing/spooler/lprng/FILTERS/ \
X    ftp://mirror.aarnet.edu.au/pub/LPRng/FILTERS/ \
X    http://mirror.aarnet.edu.au/pub/LPRng/FILTERS/ \
X    ftp://gwynne.cs.ualberta.ca/pub/LPRng/FILTERS/ \
X    ftp://ftp.informatik.uni-hamburg.de/pub/os/unix/utils/LPRng/FILTERS/ \
X    ftp://ftp.uni-paderborn.de/pub/unix/printer/plp/LPRng/FILTERS/ \
X    ftp://ftp.chembio.ntnu.no/pub/mirrors/LPRng/FILTERS/ \
X    ftp://ftp.mono.org/pub/LPRng/FILTERS/ \
X    ftp://ftp.cs.columbia.edu/pub/archives/pkg/LPRng/FILTERS/ \
X    ftp://ftp.cs.umn.edu/pub/LPRng/FILTERS/ \
X    ftp://uiarchive.uiuc.edu/pub/packages/LPRng/FILTERS/ \
X    ftp://uabgate.uab.ericsson.se/pub/unix/LPRng/FILTERS/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=papowell@astart.com
X
X# RUN_DEPENDS=
X
Xsysconfdir=/etc
XFILTERDIR=${PREFIX}/libexec/filters
X
XHAS_CONFIGURE=	yes
XCONFIGURE_ARGS= \
X	--prefix=${PREFIX} \
X	--sysconfdir=${sysconfdir} \
X	--with-filterdir=${FILTERDIR}
X
XMAN8=ifhp.8 textps.8
X
Xpost-install:
X.if !defined(NOPORTSDOCS)
X	${MKDIR} ${PREFIX}/share/doc/${DISTNAME}
X	${CP} ${WRKSRC}/HOWTO/* ${PREFIX}/share/doc/${DISTNAME};
X.endif
X	@${CAT} pkg-message
X
X.include <bsd.port.mk>
END-of-ifhp/Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110151300.f9FD0ch39057>