- make the icecast port respect SYSCONFDIR.

- remove ONLY_FOR_ARCHS.
This commit is contained in:
brad 2002-11-24 10:04:59 +00:00
parent f84b63dfd2
commit 557ec78265
4 changed files with 9 additions and 16 deletions

View File

@ -1,12 +1,8 @@
# $OpenBSD: Makefile,v 1.21 2002/10/05 21:11:09 fgsch Exp $
# $OpenBSD: Makefile,v 1.22 2002/11/24 10:04:59 brad Exp $
# Uses pthreads
COMMENT= "Internet based broadcasting system"
# archs that have pthreads library in
# good enough shape to run this app.
ONLY_FOR_ARCHS= i386 sparc
DISTNAME= icecast-1.3.12
CATEGORIES= net audio
MASTER_SITES= http://www.icecast.org/releases/
@ -20,7 +16,6 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SYSCONFDIR= /etc/icecast
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-crypt --with-libwrap

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.6 2002/03/08 16:02:14 fgsch Exp $
--- configure.orig Tue Aug 7 23:59:26 2001
+++ configure Fri Mar 8 12:26:19 2002
$OpenBSD: patch-configure,v 1.7 2002/11/24 10:04:59 brad Exp $
--- configure.orig Wed Apr 10 18:50:20 2002
+++ configure Sun Nov 24 04:45:56 2002
@@ -876,16 +876,16 @@ if test "x$enable_fsstd" = "xyes"; then
else
ICECAST_BINDIR=${prefix}/bin
@ -15,7 +15,7 @@ $OpenBSD: patch-configure,v 1.6 2002/03/08 16:02:14 fgsch Exp $
- ICECAST_STATICDIR=static
- ICECAST_STATICDIR_INST=${prefix}/static
- ICECAST_DOCDIR=${prefix}/doc
+ ICECAST_ETCDIR=${sysconfdir}
+ ICECAST_ETCDIR=${sysconfdir}/icecast
+ ICECAST_ETCDIR_INST=${prefix}/share/examples/icecast
+ ICECAST_SHAREDIR=${prefix}/share/icecast
+ ICECAST_LOGDIR=/var/log/icecast

View File

@ -1,12 +1,12 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.2 2000/08/29 04:27:51 brad Exp $
# $OpenBSD: DEINSTALL,v 1.3 2002/11/24 10:04:59 brad Exp $
#
# icecast de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_DIR=${SYSCONFDIR}
CONFIG_DIR=${SYSCONFDIR}/icecast
LOG_DIR=/var/log/icecast
echo

View File

@ -1,14 +1,12 @@
#!/bin/sh
# $OpenBSD: INSTALL,v 1.5 2002/04/26 03:35:34 pvalchev Exp $
# $OpenBSD: INSTALL,v 1.6 2002/11/24 10:04:59 brad Exp $
#
# Pre/post-installation setup of icecast
# 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_DIR=${SYSCONFDIR}
CONFIG_DIR=${SYSCONFDIR}/icecast
CONFIG_FILE=$CONFIG_DIR/icecast.conf
SAMPLE_CONFIG_DIR=$PREFIX/share/examples/icecast
LOG_DIR=/var/log/icecast