Initial import of xhippo-3.0
xhippo is a generic playlist manager for UNIX.
This commit is contained in:
parent
d40ac6ec22
commit
ccdfc6e66b
38
audio/xhippo/Makefile
Normal file
38
audio/xhippo/Makefile
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# $OpenBSD: Makefile,v 1.1.1.1 2001/03/27 09:42:42 kevlo Exp $
|
||||||
|
|
||||||
|
COMMENT= "generic playlist manager for UNIX"
|
||||||
|
|
||||||
|
DISTNAME= xhippo-3.0
|
||||||
|
CATEGORIES= audio
|
||||||
|
NEED_VERSION= 1.364
|
||||||
|
|
||||||
|
HOMEPAGE= http://www.gnu.org/software/xhippo/
|
||||||
|
|
||||||
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
||||||
|
|
||||||
|
PERMIT_PACKAGE_CDROM= Yes
|
||||||
|
PERMIT_PACKAGE_FTP= Yes
|
||||||
|
PERMIT_DISTFILES_CDROM=Yes
|
||||||
|
PERMIT_DISTFILES_FTP= Yes
|
||||||
|
|
||||||
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||||
|
MASTER_SITE_SUBDIR= xhippo
|
||||||
|
|
||||||
|
RUN_DEPENDS= mpg123::audio/mpg123
|
||||||
|
LIB_DEPENDS= gtk.1.2::x11/gtk+
|
||||||
|
|
||||||
|
MAKE_FLAGS= CFLAGS="${CFLAGS}"
|
||||||
|
|
||||||
|
USE_X11= Yes
|
||||||
|
CONFIGURE_STYLE= gnu
|
||||||
|
|
||||||
|
DOCS= ChangeLog gnu-xhippo.html screenshot.jpeg xhippo.info.gz \
|
||||||
|
xhippo.ps.gz xhippo.sgml xhippo.txt.gz
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xhippo
|
||||||
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xhippo
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/xhippo.config ${PREFIX}/share/examples/xhippo/xhippo.config-sample
|
||||||
|
cd ${WRKSRC}/doc; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/xhippo
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
audio/xhippo/files/md5
Normal file
3
audio/xhippo/files/md5
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
MD5 (xhippo-3.0.tar.gz) = 5bb8540ff973f65ed70f50d69a511bac
|
||||||
|
RMD160 (xhippo-3.0.tar.gz) = 71a113c6c8440004db63c48f4280e963d8fdf13e
|
||||||
|
SHA1 (xhippo-3.0.tar.gz) = d7b2f95dc4439ea0084fdd65810caf6b21824ec7
|
25
audio/xhippo/pkg/DEINSTALL
Normal file
25
audio/xhippo/pkg/DEINSTALL
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# $OpenBSD: DEINSTALL,v 1.1.1.1 2001/03/27 09:42:42 kevlo Exp $
|
||||||
|
#
|
||||||
|
# xhippo de-installation
|
||||||
|
|
||||||
|
set -e
|
||||||
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||||
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||||
|
CONFIG_FILE=${SYSCONFDIR}/xhippo.config
|
||||||
|
|
||||||
|
if [ -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 -f $CONFIG_FILE"
|
||||||
|
echo "|"
|
||||||
|
echo "| Do not do this if you plan on re-installing $1"
|
||||||
|
echo "| at some future time."
|
||||||
|
echo "+---------------"
|
||||||
|
echo
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
11
audio/xhippo/pkg/DESCR
Normal file
11
audio/xhippo/pkg/DESCR
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
GNU xhippo is a generic playlist manager program for a variety of UNIX
|
||||||
|
sound players. It's been shown to work with mpg123, bplay, s3mod, tracker,
|
||||||
|
xmp and timidity, and should work with more-or-less anything that can take
|
||||||
|
a filename on the command line.
|
||||||
|
It is capable of automatically deciding which player to use depending on
|
||||||
|
a file's extension; the defaults are set in a config file. It uses textual
|
||||||
|
playlist files, which are easily generated with the ``find'' or ``locate''
|
||||||
|
utilities. xhippo's interface is very loosely modelled on the ``HippoPlayer''
|
||||||
|
player for the Amiga.
|
||||||
|
|
||||||
|
WWW: ${HOMEPAGE}
|
65
audio/xhippo/pkg/INSTALL
Normal file
65
audio/xhippo/pkg/INSTALL
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# $OpenBSD: INSTALL,v 1.1.1.1 2001/03/27 09:42:42 kevlo Exp $
|
||||||
|
#
|
||||||
|
# Pre/post-installation setup of xhippo
|
||||||
|
|
||||||
|
# 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}/xhippo.config
|
||||||
|
SAMPLE_CONFIG_FILE=$PREFIX/share/examples/xhippo/xhippo.config-sample
|
||||||
|
|
||||||
|
do_notice()
|
||||||
|
{
|
||||||
|
echo
|
||||||
|
echo "+---------------"
|
||||||
|
echo "| The existing $1 configuration file, $CONFIG_FILE,"
|
||||||
|
echo "| has NOT been changed. You may want to compare it to the"
|
||||||
|
echo "| current sample file, $SAMPLE_CONFIG_FILE,"
|
||||||
|
echo "| and update your configuration as needed."
|
||||||
|
echo "+---------------"
|
||||||
|
echo
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
install -o root -g wheel -m 644 $SAMPLE_CONFIG_FILE $CONFIG_FILE
|
||||||
|
echo
|
||||||
|
echo "+---------------"
|
||||||
|
echo "| The $1 configuration file, $CONFIG_FILE,"
|
||||||
|
echo "| has been installed. Please view this file and change"
|
||||||
|
echo "| the configuration to meet your needs"
|
||||||
|
echo "+---------------"
|
||||||
|
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_notice $1
|
||||||
|
else
|
||||||
|
do_install $1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
12
audio/xhippo/pkg/PLIST
Normal file
12
audio/xhippo/pkg/PLIST
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/03/27 09:42:42 kevlo Exp $
|
||||||
|
bin/xhippo
|
||||||
|
share/doc/xhippo/ChangeLog
|
||||||
|
share/doc/xhippo/gnu-xhippo.html
|
||||||
|
share/doc/xhippo/screenshot.jpeg
|
||||||
|
share/doc/xhippo/xhippo.info.gz
|
||||||
|
share/doc/xhippo/xhippo.ps.gz
|
||||||
|
share/doc/xhippo/xhippo.sgml
|
||||||
|
share/doc/xhippo/xhippo.txt.gz
|
||||||
|
share/examples/xhippo/xhippo.config-sample
|
||||||
|
@dirrm share/doc/xhippo
|
||||||
|
@dirrm share/examples/xhippo
|
Loading…
Reference in New Issue
Block a user