aboutsummaryrefslogtreecommitdiff
path: root/graphics/pornview
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2003-01-01 21:04:56 +0000
committerPatrick Li <pat@FreeBSD.org>2003-01-01 21:04:56 +0000
commit972d11930ff9f41030c5a47b768b737dc5db68e4 (patch)
treea4de40b8f4ba6b26f0a07772d31a34af611e2f88 /graphics/pornview
parent508e27f533cdc17884f5b2ff73ea93c8abb838a4 (diff)
downloadports-972d11930ff9f41030c5a47b768b737dc5db68e4.tar.gz
ports-972d11930ff9f41030c5a47b768b737dc5db68e4.zip
Update to 0.1.5
PR: ports/46592 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=72110
Diffstat (limited to 'graphics/pornview')
-rw-r--r--graphics/pornview/Makefile26
-rw-r--r--graphics/pornview/distinfo2
-rw-r--r--graphics/pornview/pkg-plist5
3 files changed, 19 insertions, 14 deletions
diff --git a/graphics/pornview/Makefile b/graphics/pornview/Makefile
index 070eef0ce926..5fd2bd6887f8 100644
--- a/graphics/pornview/Makefile
+++ b/graphics/pornview/Makefile
@@ -6,26 +6,32 @@
#
PORTNAME= pornview
-PORTVERSION= 0.1.2.b
+PORTVERSION= 0.1.5
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/b/}
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
-# xine.2:${PORTSDIR}/graphics/libxine
+LIB_DEPENDS= exif.8:${PORTSDIR}/graphics/libexif
-GNU_CONFIGURE= yes
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include/" \
- LDFLAGS="-L${LOCALBASE}/lib"
-#CONFIGURE_ARGS+= --with-xine
+USE_X_PREFIX= yes
USE_GNOMENG= yes
-USE_GNOME= gtk12 gdkpixbuf gnomehier gnomeprefix
+USE_GNOME= gdkpixbuf gnomehack gnomeprefix
USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+.if defined(WITH_LIBXINE)
+LIB_DEPENDS+= xine:${PORTSDIR}/graphics/libxine
+CONFIGURE_ARGS+= --enable-xine
+.endif
post-patch:
- ${REINPLACE_CMD} -e 's,$(datadir)/gnome/apps/,$(datadir)/apps/,' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e \
+ 's|INCLUDED_LIBINTL=yes|INCLUDED_LIBINTL=no|g ; \
+ s|\\[$$][{]top_builddir[}]/intl/libintl.a|-lintl|g ; \
+ s|[{]datadir[}]/locale|{prefix}/share/locale|g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/graphics/pornview/distinfo b/graphics/pornview/distinfo
index 0edfd4c7bdcb..3ab5f7574772 100644
--- a/graphics/pornview/distinfo
+++ b/graphics/pornview/distinfo
@@ -1 +1 @@
-MD5 (pornview-0.1.2b.tar.gz) = a432afd58234e78c8d17cef8a129782d
+MD5 (pornview-0.1.5.tar.gz) = 36b59b673184b102ec54ebb3164278f3
diff --git a/graphics/pornview/pkg-plist b/graphics/pornview/pkg-plist
index 6a85a2e0e5ca..6a65fd4f1b3a 100644
--- a/graphics/pornview/pkg-plist
+++ b/graphics/pornview/pkg-plist
@@ -1,5 +1,4 @@
bin/pornview
-share/gnome/pornview/logo.png
-share/gnome/pixmaps/pornview.png
share/gnome/apps/Graphics/pornview.desktop
-@dirrm share/gnome/pornview
+share/gnome/pixmaps/pornview.png
+share/locale/fr/LC_MESSAGES/pornview.mo