pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/dvdrip Update dvdrip to 0.98.1nb2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/faa19bdd978a
branches:  trunk
changeset: 532572:faa19bdd978a
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Aug 23 17:10:39 2007 +0000

description:
Update dvdrip to 0.98.1nb2
- Add an options file to permit excluding rar on i386 - for those who do
  not have the appropriate compat options enabled in their kernel

diffstat:

 multimedia/dvdrip/Makefile   |  12 ++++++------
 multimedia/dvdrip/options.mk |  15 +++++++++++++++
 2 files changed, 21 insertions(+), 6 deletions(-)

diffs (55 lines):

diff -r a6e8a71a25bc -r faa19bdd978a multimedia/dvdrip/Makefile
--- a/multimedia/dvdrip/Makefile        Thu Aug 23 16:45:12 2007 +0000
+++ b/multimedia/dvdrip/Makefile        Thu Aug 23 17:10:39 2007 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.36 2007/08/23 15:38:53 joerg Exp $
+# $NetBSD: Makefile,v 1.37 2007/08/23 17:10:39 abs Exp $
 #
 
 DISTNAME=      dvdrip-0.98.1
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    multimedia x11 sysutils
 MASTER_SITES=  http://www.exit1.org/dvdrip/dist/
 
@@ -25,10 +25,6 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if !empty(MACHINE_ARCH:Mi386)
-DEPENDS+=      {rar,rar-bin}-[0-9]*:../../archivers/rar
-.endif
-
 BUILDLINK_API_DEPENDS.perl+=   perl>=5.6.0
 
 USE_PKGLOCALEDIR=      YES
@@ -42,6 +38,10 @@
 SUBST_SED.fping=       -e "s|/usr/sbin/fping|${LOCALBASE}/sbin/fping|g"
 SUBST_MESSAGE.fping=   Fixing hardcoded path.
 
+# Currently the only option is the i386 rar binary
+.if !empty(MACHINE_ARCH:Mi386)
+.include "options.mk"
+.endif
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../graphics/ImageMagick/buildlink3.mk"
 .include "../../multimedia/mjpegtools/buildlink3.mk"
diff -r a6e8a71a25bc -r faa19bdd978a multimedia/dvdrip/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/dvdrip/options.mk      Thu Aug 23 17:10:39 2007 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: options.mk,v 1.1 2007/08/23 17:10:39 abs Exp $
+#
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.dvdrip
+.if !empty(MACHINE_ARCH:Mi386)
+PKG_SUPPORTED_OPTIONS= rar
+
+PKG_SUGGESTED_OPTIONS= rar
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mrar)
+DEPENDS+=      {rar,rar-bin}-[0-9]*:../../archivers/rar
+.endif



Home | Main Index | Thread Index | Old Index