From f20ee96cd05a9a40f1792011154d35ad94b55d42 Mon Sep 17 00:00:00 2001 From: kurt Date: Sun, 31 Dec 2006 01:13:24 +0000 Subject: [PATCH] - remove some unused dirs - register the components in the default component registry --- www/seamonkey/Makefile | 11 +++++------ www/seamonkey/pkg/PLIST-devel | 4 +--- www/seamonkey/pkg/PLIST-main | 8 +++++++- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile index cdae9baa2f5..b1f4ad142f2 100644 --- a/www/seamonkey/Makefile +++ b/www/seamonkey/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2006/12/22 23:32:27 kurt Exp $ +# $OpenBSD: Makefile,v 1.2 2006/12/31 01:13:24 kurt Exp $ ONLY_FOR_ARCHS= alpha amd64 i386 powerpc sparc sparc64 @@ -7,9 +7,9 @@ COMMENT-devel= "devel files for Gecko" VER= 1.0.7 DISTNAME= seamonkey-${VER}.source -PKGNAME= seamonkey-${VER} -PKGNAME-main= seamonkey-${VER} -PKGNAME-devel= seamonkey-devel-${VER} +PKGNAME= seamonkey-${VER}p0 +PKGNAME-main= seamonkey-${VER}p0 +PKGNAME-devel= seamonkey-devel-${VER}p0 SO_VERSION= 9.3 # NOTE: Must bump minor version if any shlib's are removed from the @@ -73,6 +73,7 @@ VMEM_WARNING= Yes USE_X11= Yes USE_GMAKE= Yes NO_REGRESS= Yes +SUBST_VARS= LOCALBASE MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/build/autoconf \ ${WRKSRC}/directory/c-sdk/config/autoconf @@ -150,8 +151,6 @@ do-install: ${INSTALL_PROGRAM} ${MOB}/bin/regxpcom ${MOB}/bin/seamonkey-bin ${MOB}/bin/mozilla-xremote-client ${MOB}/bin/TestGtkEmbed \ ${MOB}/bin/mangle ${MOB}/bin/nsinstall ${MOB}/bin/shlibsign ${MOB}/bin/xpcshell ${MOB}/bin/xpicleanup ${MOB}/bin/xpidl \ ${MOB}/bin/xpt_dump ${MOB}/bin/xpt_link ${MOZ} - ${INSTALL_DATA_DIR} ${PREFIX}/share/applications - ${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps ${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig ${INSTALL_DATA} ${WRKBUILD}/build/unix/*.pc ${PREFIX}/lib/pkgconfig @sed -e 's,!!PREFIX!!,${TRUEPREFIX},g' \ diff --git a/www/seamonkey/pkg/PLIST-devel b/www/seamonkey/pkg/PLIST-devel index 03318ae81c5..6db22d11575 100644 --- a/www/seamonkey/pkg/PLIST-devel +++ b/www/seamonkey/pkg/PLIST-devel @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST-devel,v 1.1.1.1 2006/12/22 23:32:29 kurt Exp $ +@comment $OpenBSD: PLIST-devel,v 1.2 2006/12/31 01:13:24 kurt Exp $ @pkgpath www/mozilla,-devel,gtk2 %%SHARED%% lib/pkgconfig/seamonkey-gtkmozembed.pc @@ -3765,5 +3765,3 @@ seamonkey/lib/libxptinfo.a seamonkey/lib/libxpwidgets_s.a seamonkey/lib/libxremote_client_s.a seamonkey/xpidl -@comment share/applications/ -@comment share/pixmaps/ diff --git a/www/seamonkey/pkg/PLIST-main b/www/seamonkey/pkg/PLIST-main index b3bb5e8ee6e..8082212c9b8 100644 --- a/www/seamonkey/pkg/PLIST-main +++ b/www/seamonkey/pkg/PLIST-main @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST-main,v 1.1.1.1 2006/12/22 23:32:28 kurt Exp $ +@comment $OpenBSD: PLIST-main,v 1.2 2006/12/31 01:13:24 kurt Exp $ %%SHARED%% bin/seamonkey bin/seamonkey-config @@ -488,3 +488,9 @@ seamonkey/xpcshell seamonkey/xpicleanup seamonkey/xpt_dump seamonkey/xpt_link +@cwd ${LOCALBASE}/seamonkey +@exec rm -rf /tmp/.mozilla +@exec cd %D && env HOME=/tmp LD_LIBRARY_PATH=%D ./regxpcom +@exec rm -rf /tmp/.mozilla +@unexec rm -f %D/components/compreg.dat +@unexec rm -f %D/components/xpti.dat