summaryrefslogtreecommitdiffstats
path: root/print/gfontview/Makefile
blob: 5d2a77ef35e6e3c794a1df8c6ad8297ce0558a08 (plain)
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
# ex:ts=8
# New ports collection makefile for:	gfontview
# Date created:			Jul 9, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	gfontview
PORTVERSION=	0.5.0
CATEGORIES=	print
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	t1:${PORTSDIR}/devel/t1lib \
		ungif:${PORTSDIR}/graphics/libungif \
		intl:${PORTSDIR}/devel/gettext

USE_X_PREFIX=	yes
USE_FREETYPE=	yes
USE_GTK=	yes
USE_GNOME=	yes
USE_AUTOCONF=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS=	--with-libungif

post-patch:
	@${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile.in

.include <bsd.port.mk>
OpenPOWER on IntegriCloud