aboutsummaryrefslogtreecommitdiff
path: root/graphics/pho
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2011-12-16 14:36:43 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2011-12-16 14:36:43 +0000
commit5f76b1f7c70de68c531440db3d0fa43826f62f36 (patch)
tree4973bdb7e252438f4738e0bcade5401eec04ea00 /graphics/pho
parent56b7f6cc0bfe03fa54802fee739030b72f27cb18 (diff)
downloadports-5f76b1f7c70de68c531440db3d0fa43826f62f36.tar.gz
ports-5f76b1f7c70de68c531440db3d0fa43826f62f36.zip
Notes
Diffstat (limited to 'graphics/pho')
-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