- Replace INSTALL script with @samples

- Remove DEINSTALL script
- Bump PKGNAME

looks good sturm@
This commit is contained in:
alek 2005-02-05 16:54:56 +00:00
parent f60aa872b4
commit fb88ddda06
4 changed files with 399 additions and 52 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.8 2004/12/11 13:29:22 alek Exp $
# $OpenBSD: Makefile,v 1.9 2005/02/05 16:54:56 alek Exp $
COMMENT= "WWW OFFLine Explorer"
DISTNAME= wwwoffle-2.5e
PKGNAME= ${DISTNAME}p0
CATEGORIES= www
HOMEPAGE= http://www.gedanken.demon.co.uk/wwwoffle/
@ -27,4 +28,13 @@ MAKE_FLAGS= prefix="${PREFIX}"
NO_REGRESS= Yes
# These index.htmls are symlinks and @sample doesn't like that.
post-install:
@rm ${PREFIX}/share/wwwoffle/html/htdig/index.html
@${INSTALL_DATA} ${PREFIX}/share/wwwoffle/html/htdig/search.html \
${PREFIX}/share/wwwoffle/html/htdig/index.html
@rm ${PREFIX}/share/wwwoffle/html/index.html
@${INSTALL_DATA} ${PREFIX}/share/wwwoffle/html/Welcome.html \
${PREFIX}/share/wwwoffle/html/index.html
.include <bsd.port.mk>

View File

@ -1,25 +0,0 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.2 2004/04/13 21:27:02 xsa Exp $
#
# wwwoffle de-installation
PATH=/bin:/usr/bin:/sbin:/usr/sbin
SPOOL_DIR=/var/spool/wwwoffle
PID_FILE=/var/run/wwwoffled.pid
if [ ${PKG_DELETE_EXTRA} != Yes -a -d ${SPOOL_DIR} ]; then
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"
echo "| these steps as root:"
echo "|"
echo "| rm -rf ${SPOOL_DIR}"
echo "| rm -f ${PID_FILE}"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
fi
exit 0

View File

@ -1,25 +0,0 @@
#!/bin/sh
# $OpenBSD: INSTALL,v 1.1.1.1 2000/09/05 11:37:28 espie Exp $
#
#
# post installation script for wwwoffle
PATH=/bin:/usr/bin:/sbin:/usr/sbin
FROMDIR=/usr/local/share/wwwoffle
SPOOL=/var/spool
PKGNAME=wwwoffle
if [ $2 = POST-INSTALL ]; then
if [ -d ${SPOOL}/${PKGNAME}/ ]; then
echo "+---------------"
echo "|"
echo "| Seems like you are re-installing $1..."
echo "| NOT copying files from ${FROMDIR} to ${SPOOL}/${PKGNAME}"
echo "| If you like to re-install, then remove ${SPOOL}/${PKGNAME} and try again"
echo "|"
echo "+---------------"
else
cp -R -p ${FROMDIR} ${SPOOL}
chown -R daemon ${SPOOL}/${PKGNAME}
fi
fi

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.4 2004/09/15 18:49:53 espie Exp $
@comment $OpenBSD: PLIST,v 1.5 2005/02/05 16:54:56 alek Exp $
bin/wwwoffle
bin/wwwoffle-ls
bin/wwwoffle-mv
@ -26,132 +26,519 @@ share/doc/wwwoffle/README.lang
share/doc/wwwoffle/README.win32
share/doc/wwwoffle/UPGRADE
share/wwwoffle/
@owner daemon
@sample /var/spool/wwwoffle/
@owner
share/wwwoffle/html/
@owner daemon
@sample /var/spool/wwwoffle/html/
@owner
share/wwwoffle/html/FAQ.html
@owner daemon
@sample /var/spool/wwwoffle/html/FAQ.html
@owner
share/wwwoffle/html/Welcome.html
@owner daemon
@sample /var/spool/wwwoffle/html/Welcome.html
@owner
share/wwwoffle/html/htdig/
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/
@owner
share/wwwoffle/html/htdig/button1.gif
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/button1.gif
@owner
share/wwwoffle/html/htdig/button10.gif
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/button10.gif
@owner
share/wwwoffle/html/htdig/button2.gif
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/button2.gif
@owner
share/wwwoffle/html/htdig/button3.gif
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/button3.gif
@owner
share/wwwoffle/html/htdig/button4.gif
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/button4.gif
@owner
share/wwwoffle/html/htdig/button5.gif
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/button5.gif
@owner
share/wwwoffle/html/htdig/button6.gif
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/button6.gif
@owner
share/wwwoffle/html/htdig/button7.gif
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/button7.gif
@owner
share/wwwoffle/html/htdig/button8.gif
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/button8.gif
@owner
share/wwwoffle/html/htdig/button9.gif
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/button9.gif
@owner
share/wwwoffle/html/htdig/buttonl.gif
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/buttonl.gif
@owner
share/wwwoffle/html/htdig/buttonr.gif
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/buttonr.gif
@owner
share/wwwoffle/html/htdig/conf/
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/conf/
@owner
share/wwwoffle/html/htdig/conf/htdig-full.conf
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/conf/htdig-full.conf
@owner
share/wwwoffle/html/htdig/conf/htdig-incr.conf
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/conf/htdig-incr.conf
@owner
share/wwwoffle/html/htdig/conf/htdig-lasttime.conf
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/conf/htdig-lasttime.conf
@owner
share/wwwoffle/html/htdig/conf/htfuzzy.conf
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/conf/htfuzzy.conf
@owner
share/wwwoffle/html/htdig/conf/htmerge.conf
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/conf/htmerge.conf
@owner
share/wwwoffle/html/htdig/conf/htsearch.conf
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/conf/htsearch.conf
@owner
share/wwwoffle/html/htdig/db/
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/db/
@owner
share/wwwoffle/html/htdig/db-lasttime/
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/db-lasttime/
@owner
share/wwwoffle/html/htdig/htdig.gif
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/htdig.gif
@owner
share/wwwoffle/html/htdig/index.html
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/index.html
@owner
share/wwwoffle/html/htdig/scripts/
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/scripts/
@owner
share/wwwoffle/html/htdig/scripts/wwwoffle-htdig-full
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/scripts/wwwoffle-htdig-full
@owner
share/wwwoffle/html/htdig/scripts/wwwoffle-htdig-incr
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/scripts/wwwoffle-htdig-incr
@owner
share/wwwoffle/html/htdig/scripts/wwwoffle-htdig-lasttime
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/scripts/wwwoffle-htdig-lasttime
@owner
share/wwwoffle/html/htdig/scripts/wwwoffle-htfuzzy
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/scripts/wwwoffle-htfuzzy
@owner
share/wwwoffle/html/htdig/scripts/wwwoffle-htsearch
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/scripts/wwwoffle-htsearch
@owner
share/wwwoffle/html/htdig/search.html
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/search.html
@owner
share/wwwoffle/html/htdig/star.gif
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/star.gif
@owner
share/wwwoffle/html/htdig/star_blank.gif
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/star_blank.gif
@owner
share/wwwoffle/html/htdig/start-lt2.html
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/start-lt2.html
@owner
share/wwwoffle/html/htdig/start-lt3.html
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/start-lt3.html
@owner
share/wwwoffle/html/htdig/start-lt4.html
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/start-lt4.html
@owner
share/wwwoffle/html/htdig/start1.html
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/start1.html
@owner
share/wwwoffle/html/htdig/start2.html
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/start2.html
@owner
share/wwwoffle/html/htdig/start3.html
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/start3.html
@owner
share/wwwoffle/html/htdig/start4.html
@owner daemon
@sample /var/spool/wwwoffle/html/htdig/start4.html
@owner
share/wwwoffle/html/index.html
@owner daemon
@sample /var/spool/wwwoffle/html/index.html
@owner
share/wwwoffle/html/local/
@owner daemon
@sample /var/spool/wwwoffle/html/local/
@owner
share/wwwoffle/html/local/images/
@owner daemon
@sample /var/spool/wwwoffle/html/local/images/
@owner
share/wwwoffle/html/local/images/trans-1x1.gif
@owner daemon
@sample /var/spool/wwwoffle/html/local/images/trans-1x1.gif
@owner
share/wwwoffle/html/messages/
@owner daemon
@sample /var/spool/wwwoffle/html/messages/
@owner
share/wwwoffle/html/messages/AddCacheInfo.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/AddCacheInfo.html
@owner
share/wwwoffle/html/messages/CantRefreshPosted.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/CantRefreshPosted.html
@owner
share/wwwoffle/html/messages/ConfigEditPage-Body.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ConfigEditPage-Body.html
@owner
share/wwwoffle/html/messages/ConfigEditPage-Head.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ConfigEditPage-Head.html
@owner
share/wwwoffle/html/messages/ConfigEditPage-Tail.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ConfigEditPage-Tail.html
@owner
share/wwwoffle/html/messages/ConfigError.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ConfigError.html
@owner
share/wwwoffle/html/messages/ConfigUpdate.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ConfigUpdate.html
@owner
share/wwwoffle/html/messages/ConfirmRequest.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ConfirmRequest.html
@owner
share/wwwoffle/html/messages/ControlAuthFail.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ControlAuthFail.html
@owner
share/wwwoffle/html/messages/ControlDelete-Body.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ControlDelete-Body.html
@owner
share/wwwoffle/html/messages/ControlDelete-Head.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ControlDelete-Head.html
@owner
share/wwwoffle/html/messages/ControlDelete-Tail.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ControlDelete-Tail.html
@owner
share/wwwoffle/html/messages/ControlIllegal.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ControlIllegal.html
@owner
share/wwwoffle/html/messages/ControlPage.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ControlPage.html
@owner
share/wwwoffle/html/messages/ControlWWWOFFLE-Head.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ControlWWWOFFLE-Head.html
@owner
share/wwwoffle/html/messages/ControlWWWOFFLE-Tail.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ControlWWWOFFLE-Tail.html
@owner
share/wwwoffle/html/messages/FTPDir-Head.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/FTPDir-Head.html
@owner
share/wwwoffle/html/messages/FTPDir-Tail.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/FTPDir-Tail.html
@owner
share/wwwoffle/html/messages/FTPDirRedirect.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/FTPDirRedirect.html
@owner
share/wwwoffle/html/messages/FTPPut.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/FTPPut.html
@owner
share/wwwoffle/html/messages/FileLocked.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/FileLocked.html
@owner
share/wwwoffle/html/messages/HostNotGot.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/HostNotGot.html
@owner
share/wwwoffle/html/messages/IllegalProtocol.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IllegalProtocol.html
@owner
share/wwwoffle/html/messages/Index-Head.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/Index-Head.html
@owner
share/wwwoffle/html/messages/Index-Tail.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/Index-Tail.html
@owner
share/wwwoffle/html/messages/IndexError-Body.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexError-Body.html
@owner
share/wwwoffle/html/messages/IndexHost-Body.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexHost-Body.html
@owner
share/wwwoffle/html/messages/IndexHost-Head.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexHost-Head.html
@owner
share/wwwoffle/html/messages/IndexHost-Tail.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexHost-Tail.html
@owner
share/wwwoffle/html/messages/IndexIllegal.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexIllegal.html
@owner
share/wwwoffle/html/messages/IndexLastTime-Body.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexLastTime-Body.html
@owner
share/wwwoffle/html/messages/IndexLastTime-Head.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexLastTime-Head.html
@owner
share/wwwoffle/html/messages/IndexLastTime-Tail.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexLastTime-Tail.html
@owner
share/wwwoffle/html/messages/IndexLatest-Body.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexLatest-Body.html
@owner
share/wwwoffle/html/messages/IndexLatest-Head.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexLatest-Head.html
@owner
share/wwwoffle/html/messages/IndexLatest-Tail.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexLatest-Tail.html
@owner
share/wwwoffle/html/messages/IndexMonitor-Body.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexMonitor-Body.html
@owner
share/wwwoffle/html/messages/IndexMonitor-Head.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexMonitor-Head.html
@owner
share/wwwoffle/html/messages/IndexMonitor-Tail.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexMonitor-Tail.html
@owner
share/wwwoffle/html/messages/IndexOutgoing-Body.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexOutgoing-Body.html
@owner
share/wwwoffle/html/messages/IndexOutgoing-Head.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexOutgoing-Head.html
@owner
share/wwwoffle/html/messages/IndexOutgoing-Tail.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexOutgoing-Tail.html
@owner
share/wwwoffle/html/messages/IndexProtocol-Body.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexProtocol-Body.html
@owner
share/wwwoffle/html/messages/IndexProtocol-Head.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexProtocol-Head.html
@owner
share/wwwoffle/html/messages/IndexProtocol-Tail.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexProtocol-Tail.html
@owner
share/wwwoffle/html/messages/IndexRedirect.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexRedirect.html
@owner
share/wwwoffle/html/messages/IndexRoot-Body.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexRoot-Body.html
@owner
share/wwwoffle/html/messages/IndexSeparator-Body.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexSeparator-Body.html
@owner
share/wwwoffle/html/messages/IndexURLRedirect.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/IndexURLRedirect.html
@owner
share/wwwoffle/html/messages/LocalDirRedirect.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/LocalDirRedirect.html
@owner
share/wwwoffle/html/messages/MethodUnsupported.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/MethodUnsupported.html
@owner
share/wwwoffle/html/messages/MonitorFormError.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/MonitorFormError.html
@owner
share/wwwoffle/html/messages/MonitorIllegal.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/MonitorIllegal.html
@owner
share/wwwoffle/html/messages/MonitorPage.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/MonitorPage.html
@owner
share/wwwoffle/html/messages/MonitorWillGet.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/MonitorWillGet.html
@owner
share/wwwoffle/html/messages/PageNotFound.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/PageNotFound.html
@owner
share/wwwoffle/html/messages/ProxyAuthFail.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ProxyAuthFail.html
@owner
share/wwwoffle/html/messages/README
@owner daemon
@sample /var/spool/wwwoffle/html/messages/README
@owner
share/wwwoffle/html/messages/RefreshFormError.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/RefreshFormError.html
@owner
share/wwwoffle/html/messages/RefreshIllegal.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/RefreshIllegal.html
@owner
share/wwwoffle/html/messages/RefreshPage.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/RefreshPage.html
@owner
share/wwwoffle/html/messages/RefreshRedirect.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/RefreshRedirect.html
@owner
share/wwwoffle/html/messages/RefreshWillGet.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/RefreshWillGet.html
@owner
share/wwwoffle/html/messages/RefusedRequest.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/RefusedRequest.html
@owner
share/wwwoffle/html/messages/RemoteHostError.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/RemoteHostError.html
@owner
share/wwwoffle/html/messages/ServerError.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/ServerError.html
@owner
share/wwwoffle/html/messages/UserNeedsPass.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/UserNeedsPass.html
@owner
share/wwwoffle/html/messages/WillGet.html
@owner daemon
@sample /var/spool/wwwoffle/html/messages/WillGet.html
@owner
share/wwwoffle/html/robots.txt
@owner daemon
@sample /var/spool/wwwoffle/html/robots.txt
@owner
share/wwwoffle/html/wwwoffle.pac
@owner daemon
@sample /var/spool/wwwoffle/html/wwwoffle.pac
@owner
share/wwwoffle/http/
@owner daemon
@sample /var/spool/wwwoffle/http/
@owner
share/wwwoffle/lasttime/
@owner daemon
@sample /var/spool/wwwoffle/lasttime/
@owner
share/wwwoffle/monitor/
@owner daemon
@sample /var/spool/wwwoffle/monitor/
@owner
share/wwwoffle/outgoing/
@owner daemon
@sample /var/spool/wwwoffle/outgoing/
@owner
share/wwwoffle/outgoing/Owwwoffle-browser
@owner daemon
@sample /var/spool/wwwoffle/outgoing/Owwwoffle-browser
@owner
share/wwwoffle/outgoing/Owwwoffle-user
@owner daemon
@sample /var/spool/wwwoffle/outgoing/Owwwoffle-user
@owner
share/wwwoffle/outgoing/Uwwwoffle-browser
@owner daemon
@sample /var/spool/wwwoffle/outgoing/Uwwwoffle-browser
@owner
share/wwwoffle/outgoing/Uwwwoffle-user
@owner daemon
@sample /var/spool/wwwoffle/outgoing/Uwwwoffle-user
@owner
share/wwwoffle/prevtime1/
@owner daemon
@sample /var/spool/wwwoffle/prevtime1/
@owner
share/wwwoffle/wwwoffle.conf
@owner daemon
@sample /var/spool/wwwoffle/wwwoffle.conf
@owner
@extraunexec rm -rf /var/spool/wwwoffle