aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gxmlviewer
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-10-14 16:54:54 +0800
committermarcus <marcus@FreeBSD.org>2006-10-14 16:54:54 +0800
commit0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8 (patch)
tree17937489af4c767844fc63b684ae3e7b31948812 /textproc/gxmlviewer
parente959473966b963953d63d5f00fae8751f2decf0f (diff)
downloadfreebsd-ports-gnome-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.tar.gz
freebsd-ports-gnome-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.tar.zst
freebsd-ports-gnome-0deb7538cc6a5ae90f4e3e4bdbfe6d0ab974aed8.zip
Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed. Submitted by: mezz, ahze, pav, and many others Approved by: portmgr (implicit, kris)
Diffstat (limited to 'textproc/gxmlviewer')
-rw-r--r--textproc/gxmlviewer/Makefile8
-rw-r--r--textproc/gxmlviewer/pkg-plist8
2 files changed, 8 insertions, 8 deletions
diff --git a/textproc/gxmlviewer/Makefile b/textproc/gxmlviewer/Makefile
index d517ddcfcb90..65336caa31b8 100644
--- a/textproc/gxmlviewer/Makefile
+++ b/textproc/gxmlviewer/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gxmlviewer
PORTVERSION= 1.3.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,7 +16,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= An xmlviewer with a netscape plugin, and now a bonobo control as well
-USE_X_PREFIX= yes
+USE_XLIB= yes
USE_GNOME= bonobo gnomehack gnomelibs gnomeprefix libxml2
USE_GETTEXT= yes
GNU_CONFIGURE= yes
@@ -28,8 +28,8 @@ post-patch:
s|/netscape/|/gxmlviewer/|g' ${WRKSRC}/src/nsplugin/Makefile.in
post-install:
- @${MKDIR} ${X11BASE}/lib/browser_plugins
+ @${MKDIR} ${LOCALBASE}/lib/browser_plugins
@${LN} -sf ${PREFIX}/lib/gxmlviewer/plugins/npgxmlviewer.so \
- ${X11BASE}/lib/browser_plugins/npgxmlviewer.so
+ ${LOCALBASE}/lib/browser_plugins/npgxmlviewer.so
.include <bsd.port.mk>
diff --git a/textproc/gxmlviewer/pkg-plist b/textproc/gxmlviewer/pkg-plist
index 0fe3f1ea37ca..88fc21b80912 100644
--- a/textproc/gxmlviewer/pkg-plist
+++ b/textproc/gxmlviewer/pkg-plist
@@ -3,9 +3,9 @@ bin/xmlview-control
bin/xmlformatter
lib/gxmlviewer/plugins/npgxmlviewer.so
share/gnome/oaf/GNOME_XMLView.oaf
-@unexec rm -f %%X11BASE%%/lib/browser_plugins/npgxmlviewer.so
-@unexec rmdir %%X11BASE%%/lib/browser_plugins 2>/dev/null || true
-@exec mkdir -p %%X11BASE%%/lib/browser_plugins 2>/dev/null || true
-@exec ln -sf %D/lib/gxmlviewer/plugins/npgxmlviewer.so %%X11BASE%%/lib/browser_plugins/npgxmlviewer.so
+@unexec rm -f %%LOCALBASE%%/lib/browser_plugins/npgxmlviewer.so
+@unexec rmdir %%LOCALBASE%%/lib/browser_plugins 2>/dev/null || true
+@exec mkdir -p %%LOCALBASE%%/lib/browser_plugins 2>/dev/null || true
+@exec ln -sf %D/lib/gxmlviewer/plugins/npgxmlviewer.so %%LOCALBASE%%/lib/browser_plugins/npgxmlviewer.so
@dirrm lib/gxmlviewer/plugins
@dirrm lib/gxmlviewer