summaryrefslogtreecommitdiff
path: root/textproc/gxmlviewer/Makefile
blob: 64c5c0d04c845a31f7bcf7faa6192af24518919d (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
# ex:ts=8
# New ports collection makefile for:	gxmlviewer
# Date created:			Nov 8, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	gxmlviewer
PORTVERSION=	1.3.3
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2

USE_X_PREFIX=	yes
USE_GNOME=	yes
GNU_CONFIGURE=	yes

post-patch:
	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
		 s|<iconv.h>|<giconv.h>|g ; \
		 s|-liconv|-lgiconv|g' ${WRKSRC}/configure

.include <bsd.port.mk>