# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD: tags/RELEASE_10_2_0/print/ggv/Makefile 366215 2014-08-26 14:06:08Z tijl $
#   $MCom: ports/print/ggv/Makefile,v 1.8 2007/09/24 19:40:45 mezz Exp $

PORTNAME=	ggv
PORTVERSION=	2.12.0
PORTREVISION=	9
CATEGORIES=	print gnome
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome2

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	GNOME 2 ghostscript viewer

INSTALLS_OMF=	yes
USE_GNOME=	gnomeprefix intlhack libgnomeui
USES=		desktop-file-utils gettext gmake libtool pathfix pkgconfig \
		tar:bzip2
USE_GHOSTSCRIPT=yes
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib -lm
INSTALL_TARGET=	install-strip

GCONF_SCHEMAS=	ggv.schemas

post-patch:
	@${REINPLACE_CMD} '/^LIBS =/s/=.*/= @LIBS@/' ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>
