pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/pornview Converted the package to the options...
details: https://anonhg.NetBSD.org/pkgsrc/rev/09b260919267
branches: trunk
changeset: 508030:09b260919267
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Feb 13 15:23:03 2006 +0000
description:
Converted the package to the options framework. The only supported
option is "gtk1" (disabled by default). This makes the pornview-gtk2
package obsolete. Bumped PKGREVISION.
diffstat:
graphics/pornview/Makefile | 31 +++++++++++++++++++++++++------
graphics/pornview/options.mk | 15 +++++++++++++--
2 files changed, 38 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r 52de69a5a0fb -r 09b260919267 graphics/pornview/Makefile
--- a/graphics/pornview/Makefile Mon Feb 13 15:20:22 2006 +0000
+++ b/graphics/pornview/Makefile Mon Feb 13 15:23:03 2006 +0000
@@ -1,12 +1,31 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/02/11 13:06:43 rillig Exp $
+# $NetBSD: Makefile,v 1.2 2006/02/13 15:23:03 rillig Exp $
#
-.include "Makefile.common"
+PKGNAME= pornview-0.2.0pre1
+DISTNAME= pornview_0.2pre1.orig
+PKGREVISION= 1
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/p/pornview/}
-COMMENT+= (GTK+ 1.0 interface)
+MAINTAINER= dhowland%users.sourceforge.net@localhost
+HOMEPAGE= http://pornview.sourceforge.net/
+COMMENT= GTK+ image viewer
+
+WRKSRC= ${WRKDIR}/pornview-0.2.0pre1
+
+BUILD_USES_MSGFMT= yes
-CONFLICTS= pornview-gtk2-[0-9]*
+GNU_CONFIGURE= yes
+USE_DIRS+= gnome2-1.5
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
-.include "../../graphics/gdk-pixbuf/buildlink3.mk"
-.include "../../x11/gtk/buildlink3.mk"
+USE_TOOLS+= perl:run
+REPLACE_PERL+= src/scripts/helloworld
+
+.include "options.mk"
+
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../textproc/intltool/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 52de69a5a0fb -r 09b260919267 graphics/pornview/options.mk
--- a/graphics/pornview/options.mk Mon Feb 13 15:20:22 2006 +0000
+++ b/graphics/pornview/options.mk Mon Feb 13 15:23:03 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.1.1.1 2006/02/11 13:06:43 rillig Exp $
+# $NetBSD: options.mk,v 1.2 2006/02/13 15:23:03 rillig Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.pornview
-PKG_SUPPORTED_OPTIONS= exif
+PKG_SUPPORTED_OPTIONS= exif gtk1
PKG_OPTIONS_OPTIONAL_GROUPS= movie
PKG_OPTIONS_GROUP.movie= mplayer xine
PKG_SUGGESTED_OPTIONS= exif
@@ -14,6 +14,17 @@
CONFIGURE_ARGS+= --disable-exif
.endif
+.if !empty(PKG_OPTIONS:Mgtk1)
+CONFIGURE_ARGS+= --without-gtk2
+. include "../../graphics/gdk-pixbuf/buildlink3.mk"
+. include "../../x11/gtk/buildlink3.mk"
+.else
+CONFIURE_ARGS+= --with-gtk2
+USE_TOOLS+= pkg-config
+. include "../../devel/glib2/buildlink3.mk"
+. include "../../x11/gtk2/buildlink3.mk"
+.endif
+
.if !empty(PKG_OPTIONS:Mmplayer)
DEPENDS+= mplayer>=1.0rc3:../../multimedia/mplayer
CONFIGURE_ARGS+= --enable-mplayer
Home |
Main Index |
Thread Index |
Old Index