diff options
author | danfe <danfe@FreeBSD.org> | 2005-03-05 18:02:31 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2005-03-05 18:02:31 +0800 |
commit | d0e583bafb07fcad82cac7fe8711ca55880d7942 (patch) | |
tree | a0ec9f0901f30db26fea5b48da52e069fc05dd1c /graphics/pho | |
parent | a19578d98590efaeb1e6afe95b56d055f8915def (diff) | |
download | freebsd-ports-gnome-d0e583bafb07fcad82cac7fe8711ca55880d7942.tar.gz freebsd-ports-gnome-d0e583bafb07fcad82cac7fe8711ca55880d7942.tar.zst freebsd-ports-gnome-d0e583bafb07fcad82cac7fe8711ca55880d7942.zip |
- Update to most recent version, which fixes some annoying bugs
- Build with GTK2 by default, reducing number of GTK1-ports
- Reindent Makefile
- Take maintainership
Diffstat (limited to 'graphics/pho')
-rw-r--r-- | graphics/pho/Makefile | 35 | ||||
-rw-r--r-- | graphics/pho/distinfo | 4 |
2 files changed, 26 insertions, 13 deletions
diff --git a/graphics/pho/Makefile b/graphics/pho/Makefile index 05b7f1c34f2f..9485e92edef8 100644 --- a/graphics/pho/Makefile +++ b/graphics/pho/Makefile @@ -1,31 +1,44 @@ -# New ports collection makefile for: pho -# Date created: 10 April 2003 -# Whom: Roland Jesse <roland.jesse@gmx.net> +# New ports collection makefile for: pho +# Date created: 10 April 2003 +# Whom: Roland Jesse <roland.jesse@gmx.net> # # $FreeBSD$ # PORTNAME= pho -PORTVERSION= 0.9.2 -PORTREVISION= 1 +DISTVERSION= 0.9.5-pre3 CATEGORIES= graphics MASTER_SITES= http://shallowsky.com/software/pho/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= danfe@FreeBSD.org COMMENT= A lightweight image viewer USE_GMAKE= yes -USE_GNOME= gdkpixbuf gtk12 USE_REINPLACE= yes +WANT_GNOME= yes -MAN1= pho.1 -PLIST_FILES= bin/pho +OPTIONS= GTK1 "Build with legacy GTK version (1.2.x)" Off + +.include <bsd.port.pre.mk> + +.if defined(WITH_GTK1) +USE_GNOME= gdkpixbuf gtk12 +.else +USE_GNOME= gtk20 +.endif post-patch: @${REINPLACE_CMD} -e 's|make|${GMAKE}|g; \ s|$$(INSTALL) \(pho \)|${INSTALL_PROGRAM} \1|; \ s|$$(INSTALL) \(pho.1\)|${INSTALL_MAN} \1|; \ - s|-g -O2|${CFLAGS}|' \ + s|-g -O2|${CFLAGS}|; s|pho xpho$$|pho|' \ + ${WRKSRC}/Makefile +.if defined(WITH_GTK1) + @${REINPLACE_CMD} -e 's|^G2FLAGS|#G2FLAGS|' \ ${WRKSRC}/Makefile +.endif + +MAN1= pho.1 +PLIST_FILES= bin/pho -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/graphics/pho/distinfo b/graphics/pho/distinfo index 808a8e3dab44..5618ef58b4f4 100644 --- a/graphics/pho/distinfo +++ b/graphics/pho/distinfo @@ -1,2 +1,2 @@ -MD5 (pho-0.9.2.tar.gz) = 4a41a6bac06eb6333471e0345ed491c4 -SIZE (pho-0.9.2.tar.gz) = 64245 +MD5 (pho-0.9.5-pre3.tar.gz) = b7cb68c2cbe17b9e4f442ed41869cc36 +SIZE (pho-0.9.5-pre3.tar.gz) = 67987 |