aboutsummaryrefslogtreecommitdiff
path: root/textproc/gxmlviewer
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
commit29747f458a1eb2ce23b4594b09d0256dd62760b8 (patch)
tree1b71ba5d9ffdd308b6c18130f7c116f5bab5dc12 /textproc/gxmlviewer
parent7aad84f808b93baa6a7077ce0b47573b9c4c79a0 (diff)
Notes
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