summaryrefslogtreecommitdiffstats
path: root/textproc/gxmlviewer/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-04 11:22:27 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-04 11:22:27 +0800
commitf43e02ef9d5ec06c7749e789f938b5b8a95d149e (patch)
treecf56565ef6cbf1c1a77690cd1ae9e83399b9a615 /textproc/gxmlviewer/Makefile
parent09c97babd10dc22afe3b9dc54f0350d6c4356a83 (diff)
downloadmarcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar
marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar.gz
marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar.bz2
marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar.lz
marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar.xz
marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.tar.zst
marcuscom-ports-f43e02ef9d5ec06c7749e789f938b5b8a95d149e.zip
share/gnome/ -> share/
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8810 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc/gxmlviewer/Makefile')
-rw-r--r--textproc/gxmlviewer/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/textproc/gxmlviewer/Makefile b/textproc/gxmlviewer/Makefile
new file mode 100644
index 000000000..a64f2e730
--- /dev/null
+++ b/textproc/gxmlviewer/Makefile
@@ -0,0 +1,35 @@
+# ex:ts=8
+# New ports collection makefile for: gxmlviewer
+# Date created: Nov 8, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= gxmlviewer
+PORTVERSION= 1.3.3
+PORTREVISION= 5
+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_XLIB= yes
+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>