aboutsummaryrefslogtreecommitdiff
path: root/graphics/pho/Makefile
blob: 0524cef3f77a5ad19eb077dd246a6fef2490438e (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
32
33
34
# New ports collection makefile for:	pho
# Date created:				10 April 2003
# Whom:					Roland Jesse <roland.jesse@gmx.net>
#
# $FreeBSD$
#

PORTNAME=	pho
DISTVERSION=	0.9.7-pre7
CATEGORIES=	graphics
MASTER_SITES=	http://shallowsky.com/software/pho/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A lightweight image viewer

LICENSE=	GPLv2

USE_GMAKE=	yes
USE_GNOME=	gtk20
MAKE_ARGS=	INSTALLPREFIX="${PREFIX}"
ALL_TARGET=	pho
WRKSRC=		${WRKDIR}/${PORTNAME}

MAN1=		pho.1
PLIST_FILES=	bin/pho

post-patch:
	@${REINPLACE_CMD} -e 's|make|$$(MAKE)| ; \
		/bin/s|$$(INSTALL)|${INSTALL_PROGRAM}| ; \
		/man/s|$$(INSTALL)|${INSTALL_MAN}| ; \
		/CFLAGS/s|-g|| ; s|^G1FLAGS|#&|' ${WRKSRC}/Makefile
	@${REINPLACE_CMD} -e 's|-Wall -g -O2 ||' ${WRKSRC}/exif/Makefile

.include <bsd.port.mk>