summaryrefslogtreecommitdiff
path: root/graphics/gthumb/Makefile
blob: 1e7d67474a10bd4b848c51cf026e047a4e15fabf (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
# 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

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>