Update to version 3.0.0
This commit is contained in:
parent
bb01db8e34
commit
2f1a79164e
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2003/06/01 19:19:17 margarida Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2003/11/02 16:55:02 margarida Exp $
|
||||
|
||||
COMMENT= "multi-window tail(1) utility"
|
||||
|
||||
DISTNAME= multitail-2.7.1
|
||||
DISTNAME= multitail-3.0.0
|
||||
CATEGORIES= sysutils
|
||||
|
||||
HOMEPAGE= http://www.vanheusden.com/multitail/
|
||||
@ -21,21 +21,16 @@ EXTRACT_SUFX= .tgz
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
|
||||
LDFLAGS= -lcurses -lutil
|
||||
|
||||
WRKSRC= ${WRKDIR}/multitail-2.7
|
||||
|
||||
do-build:
|
||||
cd ${WRKBUILD}; \
|
||||
${CC} ${CFLAGS} -c ${WRKSRC}/mt.c; \
|
||||
${CC} ${CFLAGS} -c ${WRKSRC}/error.c; \
|
||||
${CC} ${CFLAGS} -c ${WRKSRC}/my_pty.c; \
|
||||
${CC} ${CFLAGS} mt.o error.o my_pty.o ${LDFLAGS} -o multitail
|
||||
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/multitail
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/multitail
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/multitail ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/multitail.1 ${PREFIX}/man/man1
|
||||
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} readme.txt manual.html \
|
||||
${PREFIX}/share/doc/multitail
|
||||
${INSTALL_DATA} ${WRKSRC}/multitail.conf \
|
||||
${PREFIX}/share/examples/multitail
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (multitail-2.7.1.tgz) = 212c34211f66e6fb4680e0ed9ce53e7e
|
||||
RMD160 (multitail-2.7.1.tgz) = 848943e438886cc1231588346a0ab87e69c2d6a0
|
||||
SHA1 (multitail-2.7.1.tgz) = d427a361222594b8bfbde069508e47484f3d0ea9
|
||||
MD5 (multitail-3.0.0.tgz) = bd7c714848f3c1eb98f9287e1315a1de
|
||||
RMD160 (multitail-3.0.0.tgz) = f0d2044b4142161d2b64e3c24993e5de814efcde
|
||||
SHA1 (multitail-3.0.0.tgz) = eec7aead51ded5d87e9f310baa21659bbf6db0e7
|
||||
|
25
sysutils/multitail/pkg/DEINSTALL
Normal file
25
sysutils/multitail/pkg/DEINSTALL
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.1 2003/11/02 16:55:02 margarida Exp $
|
||||
#
|
||||
# monit de-installation
|
||||
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_FILE=${SYSCONFDIR}/multitail.conf
|
||||
|
||||
if [ "$PKG_DELETE_EXTRA" != Yes -a -f $CONFIG_FILE ]; then
|
||||
echo
|
||||
echo "+------------"
|
||||
echo "| To completely deinstall the $1 package you need to perform"
|
||||
echo "| this step as root:"
|
||||
echo "|"
|
||||
echo "| rm $CONFIG_FILE"
|
||||
echo "|"
|
||||
echo "| Do not do this if you plan on re-installing $1"
|
||||
echo "| at some future."
|
||||
echo "+------------"
|
||||
echo
|
||||
fi
|
||||
|
||||
exit 0
|
@ -5,5 +5,3 @@ windows on the console (with ncurses). It can also use colors
|
||||
while displaying the logfiles for faster recognizing which
|
||||
lines are important and which are not. It is optimized for
|
||||
terminal-sessions through slow links.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
||||
|
63
sysutils/multitail/pkg/INSTALL
Normal file
63
sysutils/multitail/pkg/INSTALL
Normal file
@ -0,0 +1,63 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.1 2003/11/02 16:55:02 margarida Exp $
|
||||
#
|
||||
# Pre/post-installation setup of monit
|
||||
|
||||
# exit on errors, use a sane path and install prefix
|
||||
#
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_FILE=${SYSCONFDIR}/multitail.conf
|
||||
SAMPLE_CONFIG_FILE=$PREFIX/share/examples/multitail/multitail.conf
|
||||
|
||||
do_notice()
|
||||
{
|
||||
echo
|
||||
echo "+------------"
|
||||
echo "| The existing $1 configuration file in $CONFIG_FILE,"
|
||||
echo "| has NOT been changed."
|
||||
echo "| You may want to compare it to the current sample"
|
||||
echo "| file in $SAMPLE_CONFIG_FILE,"
|
||||
echo "| and update your configuration as needed."
|
||||
echo "+------------"
|
||||
}
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -o root -g wheel $SAMPLE_CONFIG_FILE $CONFIG_FILE
|
||||
echo
|
||||
echo "+------------"
|
||||
echo "| The $1 configuration file has been installed"
|
||||
echo "| into $CONFIG_FILE. Please view this file and"
|
||||
echo "| change the configuration to meet your needs."
|
||||
echo "+------------"
|
||||
}
|
||||
|
||||
# verify proper execution
|
||||
#
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Verify/process the command
|
||||
#
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
: nothing to pre-install for this port
|
||||
;;
|
||||
POST-INSTALL)
|
||||
if [ ! -f $CONFIG_FILE ]; then
|
||||
do_install $1
|
||||
else
|
||||
do_notice $1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,3 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/05/04 17:47:42 margarida Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2003/11/02 16:55:02 margarida Exp $
|
||||
bin/multitail
|
||||
man/man1/multitail.1
|
||||
share/doc/multitail/manual.html
|
||||
share/doc/multitail/readme.txt
|
||||
share/examples/multitail/multitail.conf
|
||||
@dirrm share/examples/multitail
|
||||
@dirrm share/doc/multitail
|
||||
@cwd ${SYSCONFDIR}
|
||||
@extra multitail.conf
|
||||
|
Loading…
Reference in New Issue
Block a user