diff options
author | wiz <wiz@pkgsrc.org> | 2004-08-27 00:05:19 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2004-08-27 00:05:19 +0000 |
commit | 9ee937f2b9dd765431e219978d4b7ce041f737e7 (patch) | |
tree | 1805e19e3922ebfacca926b9c14d8bbb1e1e5305 /audio/madman/Makefile | |
parent | e9df5b0531b47d69dc1973510ab9c8c4d97c60d6 (diff) | |
download | pkgsrc-9ee937f2b9dd765431e219978d4b7ce041f737e7.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/Makefile')
-rw-r--r-- | audio/madman/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
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" |