summaryrefslogtreecommitdiff
path: root/audio/madman
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-08-27 00:05:19 +0000
committerwiz <wiz@pkgsrc.org>2004-08-27 00:05:19 +0000
commit25485c034da34432614461bd3d66341339591e64 (patch)
tree1805e19e3922ebfacca926b9c14d8bbb1e1e5305 /audio/madman
parent7d734ece037bf4f5d610c62134c6ee62c5df27f5 (diff)
downloadpkgsrc-25485c034da34432614461bd3d66341339591e64.tar.gz
Initial import of madman-0.93, based on the package provided by
Ove Soerensen in PR 26474. Madman administrates digitial music archives nicely: Madman is a powerful digital music cataloging tool that is capable of flexible querying, tagging and organizing huge amounts of digital music.
Diffstat (limited to 'audio/madman')
-rw-r--r--audio/madman/DESCR3
-rw-r--r--audio/madman/MESSAGE7
-rw-r--r--audio/madman/Makefile40
-rw-r--r--audio/madman/PLIST8
-rw-r--r--audio/madman/distinfo5
-rw-r--r--audio/madman/patches/patch-aa25
6 files changed, 88 insertions, 0 deletions
diff --git a/audio/madman/DESCR b/audio/madman/DESCR
new file mode 100644
index 00000000000..488f18cd47c
--- /dev/null
+++ b/audio/madman/DESCR
@@ -0,0 +1,3 @@
+Madman administrates digitial music archives nicely: Madman is a powerful
+digital music cataloging tool that is capable of flexible querying, tagging
+and organizing huge amounts of digital music.
diff --git a/audio/madman/MESSAGE b/audio/madman/MESSAGE
new file mode 100644
index 00000000000..beccc4f79a3
--- /dev/null
+++ b/audio/madman/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/08/27 00:05:19 wiz Exp $
+
+Madman currently uses a lot of memory while saving the database. If you
+have a large collection of audiofiles (several thousands) you might want to
+raise the datasize ulimit (200 MB is a good starting point)
+===========================================================================
diff --git a/audio/madman/Makefile b/audio/madman/Makefile
new file mode 100644
index 00000000000..ad06e5176cb
--- /dev/null
+++ b/audio/madman/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/08/27 00:05:19 wiz Exp $
+
+DISTNAME= madman-0.93
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=madman/}
+
+MAINTAINER= ove@elektro-eel.org
+HOMEPAGE= http://madman.sourceforge.net/
+COMMENT= Powerful audio manager for large collections
+
+USE_BUILDLINK3= # defined
+USE_X11= # defined
+
+post-extract:
+ ${TAR} -zxC ${WRKSRC} -f ${WRKSRC}/scons-local-0.95.tar.gz
+ ${MV} ${WRKSRC}/httpd/make_webdata ${WRKSRC}/httpd/make_webdata.org
+ ${SED} -e 's,#! /usr/bin/env python,#!${PYTHONBIN},' ${WRKSRC}/httpd/make_webdata.org > ${WRKSRC}/httpd/make_webdata
+ ${CHMOD} 755 ${WRKSRC}/httpd/make_webdata
+ ${MV} ${WRKSRC}/main/SConscript ${WRKSRC}/main/SConscript.org
+ ${AWK} '{print} NR == 20 {print "myenv.Append(LINKFLAGS = \"-Wl,-R${X11BASE}/lib,-R${LOCALBASE}/lib,-R${LOCALBASE}${QTDIR}/lib\")"}' ${WRKSRC}/main/SConscript.org > ${WRKSRC}/main/SConscript
+
+do-build:
+ ${PYTHONBIN} ${WRKSRC}/scons.py -C ${WRKSRC} prefix=${PREFIX} qt_directory=${QTDIR} add_c_include_dirs=${LOCALBASE}/include add_c_lib_dirs=${WRKDIR}/lib
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/main/madman ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/madman
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/madman/plugins
+ for plugin in burn_to_audio_cd burn_to_data_cd export_m3u move_to_trash; do \
+ ${INSTALL_DATA} -m0755 ${WRKSRC}/plugins/$$plugin ${PREFIX}/lib/madman/plugins; \
+ done
+
+.include "../../x11/qt3-libs/buildlink3.mk"
+.include "../../x11/qt3-tools/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../audio/xmms/buildlink3.mk"
+.include "../../audio/libid3tag/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/madman/PLIST b/audio/madman/PLIST
new file mode 100644
index 00000000000..5a21829824b
--- /dev/null
+++ b/audio/madman/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/27 00:05:19 wiz Exp $
+bin/madman
+lib/madman/plugins/burn_to_audio_cd
+lib/madman/plugins/burn_to_data_cd
+lib/madman/plugins/export_m3u
+lib/madman/plugins/move_to_trash
+@dirrm lib/madman/plugins
+@dirrm lib/madman
diff --git a/audio/madman/distinfo b/audio/madman/distinfo
new file mode 100644
index 00000000000..1c190284298
--- /dev/null
+++ b/audio/madman/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/08/27 00:05:19 wiz Exp $
+
+SHA1 (madman-0.93.tar.gz) = 61eac807b280d301c2bce574cd6c0781611530cd
+Size (madman-0.93.tar.gz) = 548497 bytes
+SHA1 (patch-aa) = 0c10ac7f0fa21cb2b1bd458b46278acda17cf031
diff --git a/audio/madman/patches/patch-aa b/audio/madman/patches/patch-aa
new file mode 100644
index 00000000000..b088592502a
--- /dev/null
+++ b/audio/madman/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/08/27 00:05:19 wiz Exp $
+
+--- expatconfig.h.org 2004-07-29 17:16:48.000000000 +0200
++++ expatconfig.h 2004-07-29 17:17:36.000000000 +0200
+@@ -69,16 +69,16 @@
+ #define HAVE_STRING_H 1
+
+ /* Define if you have strlcat */
+-/* #undef HAVE_STRLCAT */
++#define HAVE_STRLCAT
+
+ /* Define if you have the strlcat prototype */
+-/* #undef HAVE_STRLCAT_PROTO */
++#define HAVE_STRLCAT_PROTO
+
+ /* Define if you have strlcpy */
+-/* #undef HAVE_STRLCPY */
++#define HAVE_STRLCPY
+
+ /* Define if you have the strlcpy prototype */
+-/* #undef HAVE_STRLCPY_PROTO */
++#define HAVE_STRLCPY_PROTO
+
+ /* Define to 1 if you have the <sys/stat.h> header file. */
+ #define HAVE_SYS_STAT_H 1