summaryrefslogtreecommitdiff
path: root/graphics/gthumb/Makefile
blob: a8d5371e14ee9735a4df142cc77d2ea6ae594383 (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:	gThumb
# Date created:				03 Nov 2001
# Whom:					Harald Schmalzbauer <H@Schmalzbauer.de>
#
# $FreeBSD$
#

PORTNAME=	gthumb
PORTVERSION=	0.13
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	gthumb

MAINTAINER=	H@Schmalzbauer.de
COMMENT=	An image viewer and browser for the GNOME environment

USE_X_PREFIX=	yes
USE_GMAKE=	yes
USE_GNOMENG=	yes
USE_GNOME=	gnomeprefix gnomehack libglade gnomevfs
USE_LIBTOOL=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

MAN1=		gthumb.1

post-patch:
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>