diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2005-03-05 10:02:31 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2005-03-05 10:02:31 +0000 |
commit | 552cc57313b0661532d93589b05362902ffbf0b0 (patch) | |
tree | 42d56a2704bdfdb96a94d4080e6ac687b93da1ae /graphics/pho | |
parent | f6af2dc3b4eda97267f413769128a7479e33974c (diff) | |
download | ports-552cc57313b0661532d93589b05362902ffbf0b0.tar.gz ports-552cc57313b0661532d93589b05362902ffbf0b0.zip |
Notes
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 |