aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2011-12-16 22:36:43 +0800
committerdanfe <danfe@FreeBSD.org>2011-12-16 22:36:43 +0800
commit14043bc922d38ca46e58d59ebf986672ce5af3bc (patch)
treec9d14f1132a471af26375c561b8b55c9d212d8c2 /graphics
parent15caf1f63ea0ad6cdadc510ff7604d6b8eed3520 (diff)
downloadfreebsd-ports-gnome-14043bc922d38ca46e58d59ebf986672ce5af3bc.tar.gz
freebsd-ports-gnome-14043bc922d38ca46e58d59ebf986672ce5af3bc.tar.zst
freebsd-ports-gnome-14043bc922d38ca46e58d59ebf986672ce5af3bc.zip
- Update to version 0.9.7-pre7
- Add LICENSE (GPLv2) - Remove Gtk+1 support (dropped upstream since 0.9.7-pre2) - Relinquish to the pool
Diffstat (limited to 'graphics')
-rw-r--r--graphics/pho/Makefile35
-rw-r--r--graphics/pho/distinfo4
2 files changed, 14 insertions, 25 deletions
diff --git a/graphics/pho/Makefile b/graphics/pho/Makefile
index 26a2682f4516..173c1dba1f0d 100644
--- a/graphics/pho/Makefile
+++ b/graphics/pho/Makefile
@@ -6,40 +6,29 @@
#
PORTNAME= pho
-DISTVERSION= 0.9.6
-PORTREVISION= 2
+DISTVERSION= 0.9.7-pre7
CATEGORIES= graphics
MASTER_SITES= http://shallowsky.com/software/pho/
-MAINTAINER= danfe@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= A lightweight image viewer
+LICENSE= GPLv2
+
USE_GMAKE= yes
+USE_GNOME= gtk20
MAKE_ARGS= INSTALLPREFIX="${PREFIX}"
ALL_TARGET= pho
-WANT_GNOME= yes
-
-OPTIONS= GTK1 "Build with legacy GTK version (1.2.x)" off
+WRKSRC= ${WRKDIR}/${PORTNAME}
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_GTK1)
-USE_GNOME= gdkpixbuf gtk12
-BAD_GTK= 2
-.else
-USE_GNOME= gtk20
-BAD_GTK= 1
-.endif
+MAN1= pho.1
+PLIST_FILES= bin/pho
post-patch:
- @${REINPLACE_CMD} -e 's|make|${GMAKE}| ; \
+ @${REINPLACE_CMD} -e 's|make|$$(MAKE)| ; \
s|$$(INSTALL) \(pho \)|${INSTALL_PROGRAM} \1| ; \
- s|$$(INSTALL) \(pho.1\)|${INSTALL_MAN} \1| ; \
- s|-g -Wall|${CFLAGS}|; s|^G${BAD_GTK}FLAGS|#&|' \
- ${WRKSRC}/Makefile
+ s|$$(INSTALL) \(pho\.1\)|${INSTALL_MAN} \1| ; \
+ s|-g|${CFLAGS}| ; s|^G1FLAGS|#&|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|-Wall -g -O2 ||' ${WRKSRC}/exif/Makefile
-MAN1= pho.1
-PLIST_FILES= bin/pho
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/pho/distinfo b/graphics/pho/distinfo
index 65c787edb91a..d5b18667adcd 100644
--- a/graphics/pho/distinfo
+++ b/graphics/pho/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pho-0.9.6.tar.gz) = b45cce219016f011976d0a6c211337956c650bf06125ccb489f88427d5a24ffb
-SIZE (pho-0.9.6.tar.gz) = 94587
+SHA256 (pho-0.9.7-pre7.tar.gz) = 71db5a3824627b400d2feedf752da45a69804a0ce7b14bb789d25674b602c87a
+SIZE (pho-0.9.7-pre7.tar.gz) = 127940