pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/cmus I need some parts reusable for cmus-unoffic...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a70c900df29
branches:  trunk
changeset: 394233:5a70c900df29
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Sun Jun 07 12:31:43 2009 +0000

description:
I need some parts reusable for cmus-unofficial.

diffstat:

 audio/cmus/Makefile        |  36 ++++--------------------------------
 audio/cmus/Makefile.common |  34 ++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 32 deletions(-)

diffs (87 lines):

diff -r a94c5e5a6cf1 -r 5a70c900df29 audio/cmus/Makefile
--- a/audio/cmus/Makefile       Sun Jun 07 12:28:19 2009 +0000
+++ b/audio/cmus/Makefile       Sun Jun 07 12:31:43 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2009/01/01 21:47:31 hubertf Exp $
+# $NetBSD: Makefile,v 1.18 2009/06/07 12:31:43 ahoka Exp $
 #
 
 DISTNAME=              cmus-2.2.0
@@ -9,36 +9,8 @@
 
 MAINTAINER=            ahoka%NetBSD.org@localhost
 HOMEPAGE=              http://cmus.sourceforge.net/
-COMMENT=               Cmus is an ncurses based music player with a lot of features
-
-PKG_DESTDIR_SUPPORT=   user-destdir
-
-HAS_CONFIGURE=         yes
-USE_TOOLS+=            gmake pkg-config
-
-CONFIGURE_ARGS+=       prefix=${PREFIX}
-CONFIGURE_ARGS+=       CONFIG_ALSA=n
-CONFIGURE_ARGS+=       mandir=${PREFIX}/${PKGMANDIR}/
-PLIST_VARS+=           sunaudio oss
+COMMENT=               Cmus is a curses based music player with a lot of features
 
-.include "../../mk/oss.buildlink3.mk"
-.if ${OSS_TYPE} != "none"
-PLIST.oss=     yes
-CONFIGURE_ARGS+=        CONFIG_OSS=y
-.else
-CONFIGURE_ARGS+=        CONFIG_OSS=n
-.endif
+CONFLICTS+=            cmus-unofficial-[0-9]*
 
-.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "SunOS" || exists(/usr/include/sys/audioio.h)
-CONFIGURE_ARGS+=       CONFIG_SUN=y
-PLIST.sunaudio=                yes
-.else
-CONFIGURE_ARGS+=        CONFIG_SUN=n
-.endif
-
-.include "options.mk"
-
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../converters/libiconv/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
+.include "../cmus/Makefile.common"
diff -r a94c5e5a6cf1 -r 5a70c900df29 audio/cmus/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/cmus/Makefile.common        Sun Jun 07 12:31:43 2009 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile.common,v 1.1 2009/06/07 12:31:43 ahoka Exp $
+#
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+HAS_CONFIGURE=         yes
+USE_TOOLS+=            gmake pkg-config
+
+CONFIGURE_ARGS+=       prefix=${PREFIX}
+CONFIGURE_ARGS+=       CONFIG_ALSA=n
+CONFIGURE_ARGS+=       mandir=${PREFIX}/${PKGMANDIR}/
+PLIST_VARS+=           sunaudio oss
+
+.include "../../mk/oss.buildlink3.mk"
+.if ${OSS_TYPE} != "none"
+PLIST.oss=     yes
+CONFIGURE_ARGS+=        CONFIG_OSS=y
+.else
+CONFIGURE_ARGS+=        CONFIG_OSS=n
+.endif
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS" || exists(/usr/include/sys/audioio.h)
+CONFIGURE_ARGS+=       CONFIG_SUN=y
+PLIST.sunaudio=                yes
+.else
+CONFIGURE_ARGS+=        CONFIG_SUN=n
+.endif
+
+.include "../cmus/options.mk"
+
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index