From 431e7a7ddad1a9e4611e8e6d4b744301d3730458 Mon Sep 17 00:00:00 2001 From: zuntum Date: Thu, 1 Nov 2001 02:15:23 +0000 Subject: Move pkg/ files into package's toplevel directory --- www/surfraw/DEINSTALL | 65 +++++++++++++++++++++++++++++++++++++++++++++++ www/surfraw/DESCR | 22 ++++++++++++++++ www/surfraw/INSTALL | 56 ++++++++++++++++++++++++++++++++++++++++ www/surfraw/PLIST | 42 ++++++++++++++++++++++++++++++ www/surfraw/pkg/DEINSTALL | 65 ----------------------------------------------- www/surfraw/pkg/DESCR | 22 ---------------- www/surfraw/pkg/INSTALL | 56 ---------------------------------------- www/surfraw/pkg/PLIST | 42 ------------------------------ 8 files changed, 185 insertions(+), 185 deletions(-) create mode 100644 www/surfraw/DEINSTALL create mode 100644 www/surfraw/DESCR create mode 100644 www/surfraw/INSTALL create mode 100644 www/surfraw/PLIST delete mode 100644 www/surfraw/pkg/DEINSTALL delete mode 100644 www/surfraw/pkg/DESCR delete mode 100644 www/surfraw/pkg/INSTALL delete mode 100644 www/surfraw/pkg/PLIST (limited to 'www/surfraw') diff --git a/www/surfraw/DEINSTALL b/www/surfraw/DEINSTALL new file mode 100644 index 00000000000..5d063237fc2 --- /dev/null +++ b/www/surfraw/DEINSTALL @@ -0,0 +1,65 @@ +#!/bin/sh +# +# $NetBSD: DEINSTALL,v 1.1 2001/11/01 02:18:54 zuntum Exp $ + +PKGNAME=$1 +STAGE=$2 + +CAT="@CAT@" +CMP="@CMP@" +RM="@RM@" + +SAMPLECONFDIR=${PKG_PREFIX}/etc +CONFDIR=${PKG_PREFIX}/etc +CONFFILES="surfraw.conf" + +case ${STAGE} in +DEINSTALL) + # Remove configuration files if they don't differ from the default + # config file. + # + for file in ${CONFFILES} + do + FILE=${CONFDIR}/${file} + SAMPLEFILE=${SAMPLECONFDIR}/${file}.dist + if ${CMP} -s ${FILE} ${SAMPLEFILE} + then + ${RM} -f ${FILE} + fi + done + ;; + +POST-DEINSTALL) + modified_files='' + for file in ${CONFFILES} + do + FILE=${CONFDIR}/${file} + if [ -f ${FILE} ] + then + modified_files="${modified_files} ${FILE}" + fi + done + if [ -n "${modified_files}" ] + then + ${CAT} << EOF +=========================================================================== +If you won't be using ${PKGNAME} any longer, you may want to remove +the following files: + +EOF + for file in ${modified_files} + do + echo " ${file}" + done + ${CAT} << EOF +=========================================================================== +EOF + fi + ;; + +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/www/surfraw/DESCR b/www/surfraw/DESCR new file mode 100644 index 00000000000..354315550b6 --- /dev/null +++ b/www/surfraw/DESCR @@ -0,0 +1,22 @@ + ______ _ _ ______ _______ ______ _______ _ _ _ + / _____)(_) (_)(_____ \ (_______)(_____ \ (_______)(_)(_)(_) + ( (____ _ _ _____) ) _____ _____) ) _______ _ _ _ + \____ \ | | | || __ / | ___) | __ / | ___ || || || | + _____) )| |___| || | \ \ | | | | \ \ | | | || || || | + (______/ \_____/ |_| |_||_| |_| |_||_| |_| \_____/ + + Surfraw - Shell Users' Revolutionary Front Rage Against the Web + http://surfraw.sourceforge.net/ + + Oh Baybe + I need some + Deep Linking + Let us go + Surfin' in the raw! + + Surfraw provides a fast unix command line interface to a variety of + popular WWW search engines and other artifacts of power. It reclaims + google, altavista, dejanews, freshmeat, research index, slashdot + and many others from the false-prophet, pox-infested heathen lands of + html-forms, placing these wonders where they belong, deep in unix + heartland, as god loving extensions to the shell. diff --git a/www/surfraw/INSTALL b/www/surfraw/INSTALL new file mode 100644 index 00000000000..5a76bad995a --- /dev/null +++ b/www/surfraw/INSTALL @@ -0,0 +1,56 @@ +#! /bin/sh +# +# $NetBSD: INSTALL,v 1.1 2001/11/01 02:18:54 zuntum Exp $ + +PKGNAME=$1 +STAGE=$2 + +CAT="@CAT@" +CHMOD="@CHMOD@" +CP="@CP@" + +SAMPLECONFDIR=${PKG_PREFIX}/etc +CONFDIR=${PKG_PREFIX}/etc +CONFFILES="surfraw.conf" + +case ${STAGE} in +PRE-INSTALL) + ;; + +POST-INSTALL) + + echo "Installing configuration files:" + for file in ${CONFFILES} + do + FILE=${CONFDIR}/${file} + SAMPLEFILE=${SAMPLECONFDIR}/${file}.dist + if [ -f ${FILE} ] + then + echo " ${FILE} already exists" + else + echo " ${FILE}" + ${CP} ${SAMPLEFILE} ${FILE} + ${CHMOD} 644 ${FILE} + fi + done + ${CAT} << EOF +=========================================================================== +Some files you might need to customize include the following: + +EOF + for file in ${CONFFILES} + do + FILE=${CONFDIR}/${file} + echo " ${FILE}" + done + ${CAT} << EOF +=========================================================================== +EOF + ;; + +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/www/surfraw/PLIST b/www/surfraw/PLIST new file mode 100644 index 00000000000..691d4e1f555 --- /dev/null +++ b/www/surfraw/PLIST @@ -0,0 +1,42 @@ +@comment $NetBSD: PLIST,v 1.1 2001/11/01 02:18:54 zuntum Exp $ +bin/W +bin/altavista +bin/amazon +bin/appwatch +bin/ask +bin/austlii +bin/britannica +bin/cite +bin/cnn +bin/currency +bin/deja +bin/excite +bin/fast +bin/freshmeat +bin/ftpsearch +bin/google +bin/ircsearch +bin/jake +bin/linuxdoc +bin/netbsd +bin/newscientist +bin/pubmed +bin/raging +bin/rhyme +bin/scaleplus +bin/slashdot +bin/stockquote +bin/sundocs +bin/sunsolve +bin/surfraw +bin/surfraw-netscape-remote +bin/thesaurus +bin/translate +bin/webster +bin/wetandwild +bin/xxx +bin/yahoo +etc/surfraw.conf.dist +etc/surfraw_elvi.list +share/doc/surfraw/README +@dirrm share/doc/surfraw diff --git a/www/surfraw/pkg/DEINSTALL b/www/surfraw/pkg/DEINSTALL deleted file mode 100644 index a7d9ed926d3..00000000000 --- a/www/surfraw/pkg/DEINSTALL +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.4 2001/07/13 07:09:27 jlam Exp $ - -PKGNAME=$1 -STAGE=$2 - -CAT="@CAT@" -CMP="@CMP@" -RM="@RM@" - -SAMPLECONFDIR=${PKG_PREFIX}/etc -CONFDIR=${PKG_PREFIX}/etc -CONFFILES="surfraw.conf" - -case ${STAGE} in -DEINSTALL) - # Remove configuration files if they don't differ from the default - # config file. - # - for file in ${CONFFILES} - do - FILE=${CONFDIR}/${file} - SAMPLEFILE=${SAMPLECONFDIR}/${file}.dist - if ${CMP} -s ${FILE} ${SAMPLEFILE} - then - ${RM} -f ${FILE} - fi - done - ;; - -POST-DEINSTALL) - modified_files='' - for file in ${CONFFILES} - do - FILE=${CONFDIR}/${file} - if [ -f ${FILE} ] - then - modified_files="${modified_files} ${FILE}" - fi - done - if [ -n "${modified_files}" ] - then - ${CAT} << EOF -=========================================================================== -If you won't be using ${PKGNAME} any longer, you may want to remove -the following files: - -EOF - for file in ${modified_files} - do - echo " ${file}" - done - ${CAT} << EOF -=========================================================================== -EOF - fi - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; -esac -exit 0 diff --git a/www/surfraw/pkg/DESCR b/www/surfraw/pkg/DESCR deleted file mode 100644 index 354315550b6..00000000000 --- a/www/surfraw/pkg/DESCR +++ /dev/null @@ -1,22 +0,0 @@ - ______ _ _ ______ _______ ______ _______ _ _ _ - / _____)(_) (_)(_____ \ (_______)(_____ \ (_______)(_)(_)(_) - ( (____ _ _ _____) ) _____ _____) ) _______ _ _ _ - \____ \ | | | || __ / | ___) | __ / | ___ || || || | - _____) )| |___| || | \ \ | | | | \ \ | | | || || || | - (______/ \_____/ |_| |_||_| |_| |_||_| |_| \_____/ - - Surfraw - Shell Users' Revolutionary Front Rage Against the Web - http://surfraw.sourceforge.net/ - - Oh Baybe - I need some - Deep Linking - Let us go - Surfin' in the raw! - - Surfraw provides a fast unix command line interface to a variety of - popular WWW search engines and other artifacts of power. It reclaims - google, altavista, dejanews, freshmeat, research index, slashdot - and many others from the false-prophet, pox-infested heathen lands of - html-forms, placing these wonders where they belong, deep in unix - heartland, as god loving extensions to the shell. diff --git a/www/surfraw/pkg/INSTALL b/www/surfraw/pkg/INSTALL deleted file mode 100644 index 37af7b7843e..00000000000 --- a/www/surfraw/pkg/INSTALL +++ /dev/null @@ -1,56 +0,0 @@ -#! /bin/sh -# -# $NetBSD: INSTALL,v 1.3 2001/04/11 11:17:55 jlam Exp $ - -PKGNAME=$1 -STAGE=$2 - -CAT="@CAT@" -CHMOD="@CHMOD@" -CP="@CP@" - -SAMPLECONFDIR=${PKG_PREFIX}/etc -CONFDIR=${PKG_PREFIX}/etc -CONFFILES="surfraw.conf" - -case ${STAGE} in -PRE-INSTALL) - ;; - -POST-INSTALL) - - echo "Installing configuration files:" - for file in ${CONFFILES} - do - FILE=${CONFDIR}/${file} - SAMPLEFILE=${SAMPLECONFDIR}/${file}.dist - if [ -f ${FILE} ] - then - echo " ${FILE} already exists" - else - echo " ${FILE}" - ${CP} ${SAMPLEFILE} ${FILE} - ${CHMOD} 644 ${FILE} - fi - done - ${CAT} << EOF -=========================================================================== -Some files you might need to customize include the following: - -EOF - for file in ${CONFFILES} - do - FILE=${CONFDIR}/${file} - echo " ${FILE}" - done - ${CAT} << EOF -=========================================================================== -EOF - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; -esac -exit 0 diff --git a/www/surfraw/pkg/PLIST b/www/surfraw/pkg/PLIST deleted file mode 100644 index e9897aaba12..00000000000 --- a/www/surfraw/pkg/PLIST +++ /dev/null @@ -1,42 +0,0 @@ -@comment $NetBSD: PLIST,v 1.8 2001/04/11 11:17:55 jlam Exp $ -bin/W -bin/altavista -bin/amazon -bin/appwatch -bin/ask -bin/austlii -bin/britannica -bin/cite -bin/cnn -bin/currency -bin/deja -bin/excite -bin/fast -bin/freshmeat -bin/ftpsearch -bin/google -bin/ircsearch -bin/jake -bin/linuxdoc -bin/netbsd -bin/newscientist -bin/pubmed -bin/raging -bin/rhyme -bin/scaleplus -bin/slashdot -bin/stockquote -bin/sundocs -bin/sunsolve -bin/surfraw -bin/surfraw-netscape-remote -bin/thesaurus -bin/translate -bin/webster -bin/wetandwild -bin/xxx -bin/yahoo -etc/surfraw.conf.dist -etc/surfraw_elvi.list -share/doc/surfraw/README -@dirrm share/doc/surfraw -- cgit v1.2.3