1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/textproc/gxmlviewer/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

35 lines
925 B
Makefile

# ex:ts=8
# New ports collection makefile for: gxmlviewer
# Date created: Nov 8, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gxmlviewer
PORTVERSION= 1.3.3
PORTREVISION= 7
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= An xmlviewer with a netscape plugin, and now a bonobo control as well
USE_GNOME= bonobo gnomehack gnomelibs gnomeprefix libxml2
USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}"
post-patch:
@${REINPLACE_CMD} -e 's|intl||g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|= -DXP_UNIX|= -fPIC -DXP_UNIX|g ; \
s|/netscape/|/gxmlviewer/|g' ${WRKSRC}/src/nsplugin/Makefile.in
post-install:
@${MKDIR} ${LOCALBASE}/lib/browser_plugins
@${LN} -sf ${PREFIX}/lib/gxmlviewer/plugins/npgxmlviewer.so \
${LOCALBASE}/lib/browser_plugins/npgxmlviewer.so
.include <bsd.port.mk>