summaryrefslogtreecommitdiff
path: root/audio/ubs/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-04-05 11:46:11 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-04-05 11:46:11 +0000
commit0fe107a7557a465ce3c84fe5984ea4971da9c59d (patch)
tree21b34a26957e8ff46b58d67428d88f59f96fc65a /audio/ubs/Makefile
parent5e9e7471a72d5dde1191997f0c5249e47e1f8477 (diff)
downloadpkgsrc-0fe107a7557a465ce3c84fe5984ea4971da9c59d.tar.gz
Initial import of ubs-0.17 from pkgsrc-wip.
The Uninterrupted Broadcasting System (UBS) is a program designed to run the operations of a radio station when a DJ isn't in house. This includes playing station ID's, public service announcements, and songs. This program is similar in function (but not design nor implementation) to DRS 2006. The UBS was not intended to be used for webcasting, but it could presumably be adapted for this purpose. The intented audience of the UBS is smaller college/high school/commercial radio stations which wish to do unattended broadcasting via a stable and reliable computer daemon.
Diffstat (limited to 'audio/ubs/Makefile')
-rw-r--r--audio/ubs/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/audio/ubs/Makefile b/audio/ubs/Makefile
new file mode 100644
index 00000000000..322bc720d2f
--- /dev/null
+++ b/audio/ubs/Makefile
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/05 11:46:11 xtraeme Exp $
+#
+
+DISTNAME= ubs-0.17
+CATEGORIES= audio
+MASTER_SITES= http://aboleo.net/software/ubs/downloads/
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://aboleo.net/software/ubs/
+COMMENT= Uninterrupted Broadcasting System
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK3= yes
+USE_PKGINSTALL= yes
+
+RCD_SCRIPTS= ubs
+PKG_SYSCONFSUBDIR= ubs
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_DEFS+= UBS_BASEDIR UBS_USER UBS_GROUP
+
+UBS_BASEDIR?= /var/spool/ubs
+UBS_USER?= ubs
+UBS_GROUP?= ubs
+
+PKG_GROUPS= ${UBS_GROUP}
+PKG_USERS= ${UBS_USER}:${UBS_GROUP}
+FILES_SUBST+= PREFIX="${PREFIX}"
+FILES_SUBST+= UBS_USER="${UBS_USER}"
+FILES_SUBST+= UBS_GROUP="${UBS_GROUP}"
+
+OWN_DIRS_PERMS= ${UBS_BASEDIR} ${UBS_USER} ${UBS_GROUP} 0750
+OWN_DIRS_PERMS+= ${UBS_BASEDIR}/var ${UBS_USER} ${UBS_GROUP} 0750
+OWN_DIRS_PERMS+= ${UBS_BASEDIR}/log ${UBS_USER} ${UBS_GROUP} 0750
+
+EGDIR= ${PREFIX}/share/examples/ubs
+CONF_FILES= ${EGDIR}/help.conf ${PKG_SYSCONFDIR}/help.conf
+CONF_FILES+= ${EGDIR}/ubs.conf.default ${PKG_SYSCONFDIR}/ubs.conf
+
+post-extract:
+ @${MV} ${WRKSRC}/config/ubs.conf.default \
+ ${WRKSRC}/config/ubs.conf.default.in
+
+pre-configure:
+ @${SED} -e "s,@UBS_BASEDIR@,${UBS_BASEDIR},g" \
+ ${WRKSRC}/config/ubs.conf.default.in > \
+ ${WRKSRC}/config/ubs.conf.default
+
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"