aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pho/Makefile
blob: b10ef5cd090555d716dd89a2d9ef0e13a6b7d7d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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
CATEGORIES= graphics
MASTER_SITES=   http://shallowsky.com/software/pho/

MAINTAINER= roland.jesse@gmx.net
COMMENT=    A lightweight image viewer

USE_GMAKE=  yes
USE_GNOME=  gdkpixbuf gtk12
USE_REINPLACE=  yes

MAN1=       pho.1
PLIST_FILES=    bin/pho

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}|' \
        ${WRKSRC}/Makefile

.include <bsd.port.mk>