diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2005-10-25 05:21:30 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2005-10-25 05:21:30 +0000 |
commit | ec76d1c479254ad649c8c4ed12475aa0b81f3334 (patch) | |
tree | e7441233fcfbf239903d4a7056c616864e34b2c2 /graphics/pho/Makefile | |
parent | 01d64e0c1bc5e45f41c3c794a31cac1cb9b3948d (diff) |
Notes
Diffstat (limited to 'graphics/pho/Makefile')
-rw-r--r-- | graphics/pho/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/pho/Makefile b/graphics/pho/Makefile index 0f7cec0f2534..1d37801ba810 100644 --- a/graphics/pho/Makefile +++ b/graphics/pho/Makefile @@ -14,6 +14,7 @@ MAINTAINER= danfe@FreeBSD.org COMMENT= A lightweight image viewer USE_GMAKE= yes +MAKE_ARGS= INSTALLPREFIX="${PREFIX}" USE_REINPLACE= yes WANT_GNOME= yes @@ -23,8 +24,10 @@ OPTIONS= GTK1 "Build with legacy GTK version (1.2.x)" Off .if defined(WITH_GTK1) USE_GNOME= gdkpixbuf gtk12 +BAD_GTK= 2 .else USE_GNOME= gtk20 +BAD_GTK= 1 .endif post-patch: @@ -33,9 +36,7 @@ post-patch: s|$$(INSTALL) \(pho.1\)|${INSTALL_MAN} \1|; \ s|-g -O2|${CFLAGS}|; s|pho xpho$$|pho|' \ ${WRKSRC}/Makefile -.if defined(WITH_GTK1) - @${REINPLACE_CMD} -e 's|^G2FLAGS|#&|' ${WRKSRC}/Makefile -.endif + @${REINPLACE_CMD} -e 's|^G${BAD_GTK}FLAGS|#&|' ${WRKSRC}/Makefile MAN1= pho.1 PLIST_FILES= bin/pho |