aboutsummaryrefslogtreecommitdiff
path: root/graphics/pornview
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-04-05 17:30:51 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-04-05 17:30:51 +0000
commit78c97c2d6e38c129d1276277be53bb0feb9041c5 (patch)
tree6e9ef11b9579634d0211e1d43b824da71c3406df /graphics/pornview
parenta4a9ea1b3394c5c0690490f7032fae816332bdc2 (diff)
downloadports-78c97c2d6e38c129d1276277be53bb0feb9041c5.tar.gz
ports-78c97c2d6e38c129d1276277be53bb0feb9041c5.zip
Notes
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 12b086533380..d0c16a3ae5ca 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 3ab5f7574772..b1ede51b8a59 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 000000000000..c506ebcd6716
--- /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 6a65fd4f1b3a..def76ea79cee 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