aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pornview
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-04-06 01:30:51 +0800
committerarved <arved@FreeBSD.org>2003-04-06 01:30:51 +0800
commit60186b670d5256231b62b10badc31328023a638c (patch)
tree4932ad49bd82378ae0c29bb193f89f80a69fc354 /graphics/pornview
parentd9fe816bad54a39dd55a8118907b791f93160e63 (diff)
downloadfreebsd-ports-graphics-60186b670d5256231b62b10badc31328023a638c.tar.gz
freebsd-ports-graphics-60186b670d5256231b62b10badc31328023a638c.tar.zst
freebsd-ports-graphics-60186b670d5256231b62b10badc31328023a638c.zip
Update to to 0.2.0.p.1.
Fix libxinedependency after libxine libaryversion bump. Add a WITH_MPLAYER knob. (Does not work for me yet).
Diffstat (limited to 'graphics/pornview')
-rw-r--r--graphics/pornview/Makefile8
-rw-r--r--graphics/pornview/distinfo2
-rw-r--r--graphics/pornview/files/patch-src::support::widgets::gtkmplayer.c10
-rw-r--r--graphics/pornview/pkg-plist4
4 files changed, 21 insertions, 3 deletions
diff --git a/graphics/pornview/Makefile b/graphics/pornview/Makefile
index 12b08653338..d0c16a3ae5c 100644
--- a/graphics/pornview/Makefile
+++ b/graphics/pornview/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= pornview
-PORTVERSION= 0.1.5
+PORTVERSION= 0.2.0.p.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p./pre/}
MAINTAINER= ports@FreeBSD.org
COMMENT= PornView is an image viewer/manager
@@ -25,8 +26,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.if defined(WITH_LIBXINE)
-LIB_DEPENDS+= xine.3:${PORTSDIR}/multimedia/libxine
+LIB_DEPENDS+= xine.5:${PORTSDIR}/multimedia/libxine
CONFIGURE_ARGS+= --enable-xine
+.elseif defined(WITH_MPLAYER)
+RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
+CONFIGURE_ARGS+= --enable-mplayer
.endif
post-patch:
diff --git a/graphics/pornview/distinfo b/graphics/pornview/distinfo
index 3ab5f757477..b1ede51b8a5 100644
--- a/graphics/pornview/distinfo
+++ b/graphics/pornview/distinfo
@@ -1 +1 @@
-MD5 (pornview-0.1.5.tar.gz) = 36b59b673184b102ec54ebb3164278f3
+MD5 (pornview-0.2.0pre1.tar.gz) = 339fde6d7ff0cc1053abe951601373e6
diff --git a/graphics/pornview/files/patch-src::support::widgets::gtkmplayer.c b/graphics/pornview/files/patch-src::support::widgets::gtkmplayer.c
new file mode 100644
index 00000000000..c506ebcd671
--- /dev/null
+++ b/graphics/pornview/files/patch-src::support::widgets::gtkmplayer.c
@@ -0,0 +1,10 @@
+--- src/support/widgets/gtkmplayer.c.orig Sat Apr 5 18:54:40 2003
++++ src/support/widgets/gtkmplayer.c Sat Apr 5 18:55:27 2003
+@@ -30,6 +30,7 @@
+ #include <errno.h>
+ #include <ctype.h>
+ #include <math.h>
++#include <signal.h>
+
+ #include <gtk/gtk.h>
+ #include <gdk/gdkx.h>
diff --git a/graphics/pornview/pkg-plist b/graphics/pornview/pkg-plist
index 6a65fd4f1b3..def76ea79ce 100644
--- a/graphics/pornview/pkg-plist
+++ b/graphics/pornview/pkg-plist
@@ -2,3 +2,7 @@ bin/pornview
share/gnome/apps/Graphics/pornview.desktop
share/gnome/pixmaps/pornview.png
share/locale/fr/LC_MESSAGES/pornview.mo
+share/locale/pl/LC_MESSAGES/pornview.mo
+share/gnome/pornview/scripts/helloworld
+@dirrm share/gnome/pornview/scripts
+@dirrm share/gnome/pornview