aboutsummaryrefslogtreecommitdiff
path: root/graphics/gpaint/Makefile
blob: 08a8cbafd79e3feb9a3308fe44da2659e7135922 (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
# New ports collection makefile for:	gpaint
# Date created:				18 October 2000
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gpaint
PORTVERSION=	0.2.2
CATEGORIES=	graphics gnome
MASTER_SITES=	ftp://alpha.gnu.org/pub/gnu/gpaint/

MAINTAINER=	sobomax@FreeBSD.org
COMMENT=	A small-scale painting program for GNOME

USE_X_PREFIX=	yes
USE_GMAKE=	yes
USE_GNOMENG=	yes
USE_GNOME=	gnomeprefix gnomehack gdkpixbuf gnomeprint
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

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

.include <bsd.port.mk>