1998-04-12 12:47:23 +00:00
# New ports collection makefile for: mozilla
# Date created: 31 Mar 1998
# Whom: eivind/dima/jseger
1997-02-24 19:00:30 +00:00
#
1999-08-31 02:43:35 +00:00
# $FreeBSD$
1997-02-24 19:00:30 +00:00
#
2002-11-17 22:09:06 +00:00
PORTNAME ?= mozilla
2004-08-31 09:58:51 +00:00
PORTVERSION = 1.8.a3
2004-10-12 00:07:10 +00:00
PORTREVISION ?= 4
2004-02-26 03:48:11 +00:00
PORTEPOCH ?= 2
2002-11-17 22:09:06 +00:00
CATEGORIES ?= www
2004-03-20 07:39:26 +00:00
MASTER_SITES = ${ MASTER_SITE_MOZILLA } \
${ MASTER_SITE_LOCAL : S / $/ : local / }
2004-08-31 09:58:51 +00:00
MASTER_SITE_SUBDIR = mozilla/releases/${ PORTNAME } ${ PORTVERSION : S /.a3/a3/ } /src \
adamw/:local
DISTFILES = ${ PORTNAME } -source-${ PORTVERSION : S /.a3/a3/ } ${ EXTRACT_SUFX } \
libart_lgpl${ EXTRACT_SUFX } :local
1997-11-15 01:11:00 +00:00
2001-05-22 10:04:37 +00:00
MAINTAINER = gnome@FreeBSD.org
2003-03-07 06:14:21 +00:00
COMMENT = The open source, standards compliant web browser
1997-11-15 01:11:00 +00:00
2002-03-12 18:16:09 +00:00
BUILD_DEPENDS = zip:${ PORTSDIR } /archivers/zip \
freetype-config:${ PORTSDIR } /print/freetype2
2002-07-23 06:58:42 +00:00
LIB_DEPENDS = jpeg.9:${ PORTSDIR } /graphics/jpeg \
2001-09-11 02:38:25 +00:00
png.5:${ PORTSDIR } /graphics/png \
2001-05-22 08:15:39 +00:00
mng.1:${ PORTSDIR } /graphics/libmng \
2003-08-12 16:48:56 +00:00
freetype.9:${ PORTSDIR } /print/freetype2 \
nspr4.1:${ PORTSDIR } /devel/nspr
1998-11-11 05:37:39 +00:00
2000-04-21 02:36:52 +00:00
WRKSRC = ${ WRKDIR } /${ PORTNAME }
2000-02-04 07:45:35 +00:00
2002-11-17 22:09:06 +00:00
MOZILLA ?= mozilla-devel
2004-07-01 21:16:10 +00:00
MOZ_SUFX ?= -devel
2002-11-17 22:09:06 +00:00
GTK2 mozilla is now the default, and GTK1 support will be built only if explicitly
requested.
This means that mozilla-gtk2 and mozilla-devel-gtk2 are now mozilla and
mozilla-devel, respectively; and the old mozilla and mozilla-devel are now
mozilla-gtk1 and mozilla-devel-gtk1.
This is done for a whole plethora of reasons, and should please everybody
except galeon1 fanatics and uhm... anybody else who it doesn't please.
If you have WITH_MOZILLA set in your /etc/make.conf, you'll need to update
the value accordingly. GTK2 ports will automatically install GTK2 mozilla,
and GTK1 ports will automatically install GTK1 ports, so WITH_MOZILLA need
be defined only if you want the development version... which are dormant
right now anyway.
For now, all ports that honoured WITH_MOZILLA=mozilla-{,-devel}-gtk2 will
still honour those values as well as WITH_MOZILLA=mozilla{,-devel}, but
future ports reserve the right to ignore the *-gtk2 values.
2004-02-18 03:50:38 +00:00
USE_GNOME = gtk20 libidl
2002-11-17 22:09:06 +00:00
LATEST_LINK = ${ MOZILLA }
2002-10-22 03:42:24 +00:00
EXTRACT_AFTER_ARGS = | ${ TAR } -xf - --exclude */CVS/* \
--exclude */macbuild/*\
--exclude */package/* \
--exclude .cvsignore \
--exclude makefile.win \
--exclude MANIFEST
2003-05-16 22:03:33 +00:00
USE_BZIP2 = yes
1999-07-24 02:26:33 +00:00
USE_X_PREFIX = yes
USE_PERL5 = yes
2004-02-26 03:05:47 +00:00
USE_ICONV = yes
1999-07-24 02:26:33 +00:00
USE_GMAKE = yes
2004-03-20 07:39:26 +00:00
WANT_GNOME = yes
2002-10-22 03:42:24 +00:00
USE_REINPLACE = yes
2004-10-12 00:07:10 +00:00
HAS_CONFIGURE = yes
1999-07-24 02:26:33 +00:00
CONFIGURE_ARGS = \
2002-02-15 18:44:15 +00:00
--disable-auto-deps \
--enable-chrome-format= jar \
2001-01-22 01:23:18 +00:00
--disable-cpp-exceptions \
1999-07-24 02:26:33 +00:00
--disable-cpp-rtti \
2001-06-13 09:15:59 +00:00
--enable-crypto \
2003-04-14 19:49:37 +00:00
--disable-gtktest \
--disable-freetypetest \
--disable-installer \
--disable-glibtest \
1999-07-24 02:26:33 +00:00
--enable-double-buffer \
2000-02-04 07:45:35 +00:00
--enable-mathml \
2002-02-15 18:44:15 +00:00
--disable-md \
--disable-pedantic \
2003-04-07 06:27:48 +00:00
--disable-bidi \
2002-02-15 18:44:15 +00:00
--disable-plaintext-editor-only \
2001-01-22 01:23:18 +00:00
--enable-svg \
2004-02-26 03:05:47 +00:00
--enable-svg-renderer-libart \
2002-02-15 18:44:15 +00:00
--disable-tests \
--disable-xterm-updates \
--enable-xinerama \
2003-04-07 06:27:48 +00:00
--with-system-zlib \
2002-02-15 18:44:15 +00:00
--with-system-jpeg= ${ LOCALBASE } \
--with-system-mng= ${ LOCALBASE } \
--with-system-png= ${ LOCALBASE } \
2004-03-20 07:39:26 +00:00
--with-gssapi= /usr \
2004-10-12 00:07:10 +00:00
--prefix= ${ FAKEDIR } \
2001-01-22 01:23:18 +00:00
--with-pthreads
2002-05-18 22:09:26 +00:00
2004-03-20 07:39:26 +00:00
PLIST = ${ WRKDIR } /pkg-plist
MOZ_EXTENSIONS = default
CONFIGURE_ENV = MOZ_INTERNAL_LIBART_LGPL = 1 \
LOCALBASE = ${ LOCALBASE }
2004-07-06 23:11:56 +00:00
PKGINSTALL = ${ WRKDIR } /pkg-install
2004-03-20 07:39:26 +00:00
CONFIGURE_ARGS += --enable-default-toolkit= gtk2
ESD_LIB = libesd.so.2
FREETYPE_LIB = libfreetype.so.9
PKGCONFIG_FILES = mozilla-gtkmozembed mozilla-js mozilla-xpcom \
mozilla-nspr mozilla-nss mozilla-plugin
# JPI stuff. List paths to Java Plug-ins here in the order to try.
JPI_LIST ?= \
${ LOCALBASE } /jdk1.4.2/jre/plugin/${ ARCH } /ns610/libjavaplugin_oji.so \
${ LOCALBASE } /jdk1.4.1/jre/plugin/${ ARCH } /ns610/libjavaplugin_oji.so \
${ LOCALBASE } /diablo-jdk1.3.1/jre/plugin/${ ARCH } /ns600/libjavaplugin_oji.so \
${ LOCALBASE } /jdk1.3.1/jre/plugin/${ ARCH } /ns600/libjavaplugin_oji.so
OPTIONS = XFT "Enable Xft font anti-aliasing" on \
CALENDAR "Enable the Calendar module" off \
MAILNEWS "Enable Mail and News modules" on \
COMPOSER "Enable the HTML Composer module" on \
2004-06-02 01:06:51 +00:00
DEBUG "Enable debugging (i.e. gdb) support" off \
2004-03-20 07:39:26 +00:00
LDAP "Enable LDAP support for Mailnews" on \
CHATZILLA "Enable the Chatzilla IRC module" on \
XMLTERM "Enable the XMLTerm module" on \
JAVASCRIPT_DEBUGGER "Enable the DTD and JavaScript debuggers" off \
OPTIMIZED_CFLAGS "Enable -O2 optimizations" off \
SMB "Enable smb:// URI support using gnomevfs" off
. i n c l u d e < b s d . p o r t . p r e . m k >
2004-04-12 03:29:59 +00:00
. i f ${ARCH} = = "ia64" || ${ ARCH } = = "alpha"
BROKEN = "Does not compile on ia64 or alpha"
2004-04-03 14:13:40 +00:00
. e n d i f
2004-03-20 07:39:26 +00:00
. i f ! d e f i n e d ( W I T H O U T _ X F T )
LIB_DEPENDS += Xft.2:${ PORTSDIR } /x11-fonts/libXft
CONFIGURE_ARGS += --enable-xft
. i f e x i s t s ( $ { X 1 1 B A S E } / l i b / X 1 1 / f o n t s / m o z i l l a / f o n t s . d i r )
BROKEN = Mozilla${ MOZ_SUFX } and Xft2 render the mozilla-fonts \
illegibly. Please remove the mozilla-fonts package.
. e n d i f
. e l s e
CONFIGURE_ARGS += --disable-xft
. e n d i f
2004-06-02 01:06:51 +00:00
. i f d e f i n e d ( W I T H _ D E B U G )
CONFIGURE_ARGS += --enable-debug \
--disable-strip
. e l s e
CONFIGURE_ARGS += --disable-debug \
--enable-strip
. e n d i f
2004-03-20 07:39:26 +00:00
. i f d e f i n e d ( W I T H _ C A L E N D A R ) & & ( d e f i n e d ( W I T H O U T _ M A I L N E W S ) | | \
defined( WITHOUT_COMPOSER) )
BROKEN = "Calendar requires Composer and Mailnews support."
. e n d i f
2002-05-18 22:09:26 +00:00
# LDAP is only used by mail and news so disable both together
. i f d e f i n e d ( W I T H O U T _ M A I L N E W S )
CONFIGURE_ARGS += --disable-ldap --disable-mailnews
. e l s e
# mail and news desired, but not LDAP
. i f d e f i n e d ( W I T H O U T _ L D A P )
CONFIGURE_ARGS += --disable-ldap --enable-mailnews
. e l s e
CONFIGURE_ARGS += --enable-ldap --enable-mailnews
2002-10-22 03:42:24 +00:00
. e n d i f
2002-05-18 22:09:26 +00:00
. e n d i f
2002-01-04 14:18:26 +00:00
. i f ! d e f i n e d ( W I T H O U T _ C H A T Z I L L A )
2003-08-12 16:48:56 +00:00
MOZ_EXTENSIONS := ${ MOZ_EXTENSIONS } ,irc
. e n d i f
. i f ! d e f i n e d ( W I T H O U T _ X M L T E R M )
MOZ_EXTENSIONS := ${ MOZ_EXTENSIONS } ,xmlterm
2002-01-04 14:18:26 +00:00
. e n d i f
2003-08-12 16:48:56 +00:00
CONFIGURE_ARGS += --enable-extensions= ${ MOZ_EXTENSIONS }
2002-04-26 04:17:52 +00:00
2003-01-21 16:41:54 +00:00
. i f d e f i n e d ( W I T H _ J A V A S C R I P T _ D E B U G G E R )
CONFIGURE_ARGS += --enable-jsd \
--enable-dtd-debug
2003-04-07 06:27:48 +00:00
. e l s e
CONFIGURE_ARGS += --disable-jsd \
--disable-dtd-debug
2003-01-21 16:41:54 +00:00
. e n d i f
2002-11-11 03:31:22 +00:00
. i f d e f i n e d ( W I T H _ C A L E N D A R )
CONFIGURE_ARGS += --enable-calendar
. e n d i f
2002-10-29 09:09:38 +00:00
. i f d e f i n e d ( W I T H O U T _ C O M P O S E R )
CONFIGURE_ARGS += --disable-composer
. e n d i f
2001-08-07 11:52:15 +00:00
MAKE_ENV = LD_LIBRARY_PATH = ${ WRKSRC } /dist/bin \
2001-12-26 10:21:22 +00:00
MOZ_INTERNAL_LIBART_LGPL = 1
ALL_TARGET = default
2004-10-12 00:07:10 +00:00
FAKEDIR = ${ WRKDIR } /fake
1998-03-15 15:13:57 +00:00
2002-07-23 06:58:42 +00:00
. i f ${ARCH} = = "i386"
CONFIGURE_ARGS += --enable-reorder
. e n d i f
2004-02-26 17:40:56 +00:00
. i f $ { O S V E R S I O N } < 5 0 0 0 3 5
EXTRA_PATCHES += ${ FILESDIR } /extra-patch-nsSVGLibartGlyphMetricsFT.cpp
. e n d i f
2004-03-20 07:39:26 +00:00
. i f d e f i n e d ( W I T H _ S M B )
USE_GNOME += gnomevfs2
. e l s e
CONFIGURE_ARGS += --disable-gnomevfs
. e n d i f
2003-06-01 03:34:55 +00:00
. i f d e f i n e d ( W I T H _ O P T I M I Z E D _ C F L A G S )
2003-04-14 19:49:37 +00:00
CFLAGS += -O2
CONFIGURE_ARGS += --enable-optimize= -O2
2003-04-07 06:27:48 +00:00
. e n d i f
2003-06-01 03:34:55 +00:00
. i f ${ARCH} = = "alpha" && ${ OSVERSION } < 500035
2003-10-12 22:01:55 +00:00
IGNORE = "core dumps on alpha during post-build"
2002-07-23 06:58:42 +00:00
. e n d i f
2002-04-26 04:17:52 +00:00
. i f e x i s t s ( $ { L O C A L B A S E } / i n c l u d e / f r e e t y p e / f r e e t y p e . h )
BROKEN = " You must upgrade your freetype port to 1.3.1_2 or higher before installing Mozilla. If you have 1.3.1_2 installed, please remove ${ LOCALBASE } /include/freetype, then build Mozilla "
. e n d i f
2002-11-11 03:31:22 +00:00
pre-everything ::
. i f d e f i n e d ( W I T H _ C A L E N D A R )
2004-02-26 03:05:47 +00:00
@${ ECHO_MSG } ""
2002-11-11 03:31:22 +00:00
@${ ECHO_MSG } "Calendar is still beta software."
@${ ECHO_MSG } "Use at your own risk."
@${ ECHO_MSG } "http://mozilla.org/projects/calendar/"
2004-02-26 03:05:47 +00:00
@${ ECHO_MSG } ""
2002-11-11 03:31:22 +00:00
. e n d i f
2002-10-22 03:42:24 +00:00
post-patch :
@${ REINPLACE_CMD } -e 's|%%PREFIX%%|${PREFIX}|g' \
${ WRKSRC } /build/unix/run-mozilla.sh
2002-11-17 22:09:06 +00:00
@${ REINPLACE_CMD } -e 's|%%MOZILLA%%|${MOZILLA}|g' \
2003-04-24 18:02:42 +00:00
-e 's|%%HEADERS_SUFX%%|${MOZ_SUFX}|g' \
2002-11-17 22:09:06 +00:00
${ WRKSRC } /config/autoconf.mk.in
2003-04-10 21:09:07 +00:00
@${ FIND } ${ WRKSRC } /other-licenses/libical -name "*.c" | ${ XARGS } \
${ REINPLACE_CMD } 's|<malloc.h>|<stdlib.h>|g'
2004-02-26 03:05:47 +00:00
@${ REINPLACE_CMD } -e ' s| -lc_r| ${ PTHREAD_LIBS } | g ; \
s| -lpthread| ${ PTHREAD_LIBS } | g' \
2003-11-01 21:51:08 +00:00
${ WRKSRC } /configure \
${ WRKSRC } /nsprpub/configure
2003-09-06 18:34:37 +00:00
@${ REINPLACE_CMD } -e 's|-pthread|${PTHREAD_LIBS}|g' \
2003-11-01 21:51:08 +00:00
${ WRKSRC } /nsprpub/configure \
2003-09-06 18:34:37 +00:00
${ WRKSRC } /security/coreconf/FreeBSD.mk \
${ WRKSRC } /directory/c-sdk/config/FreeBSD.mk \
${ WRKSRC } /js/src/Makefile.in
2004-02-26 03:05:47 +00:00
@${ REINPLACE_CMD } -e 's|libesd\.so\.0|${ESD_LIB}|g' \
${ WRKSRC } /widget/src/gtk2/nsSound.cpp
@${ REINPLACE_CMD } -e '/accessibility.typeaheadfind.enablesound/s/true/false/' \
2004-04-29 19:23:34 +00:00
${ WRKSRC } /modules/libpref/src/init/all.js
2004-02-26 03:05:47 +00:00
@${ REINPLACE_CMD } -e 's|<iconv.h>|\"${LOCALBASE}/include/iconv.h\"|g' \
${ WRKSRC } /configure \
${ WRKSRC } /intl/uconv/native/nsNativeUConvService.cpp \
${ WRKSRC } /xpcom/io/nsNativeCharsetUtils.cpp
2004-03-11 06:08:29 +00:00
@${ REINPLACE_CMD } -e 's|libfreetype.so.6|${FREETYPE_LIB}|g' \
2004-02-26 09:41:11 +00:00
${ WRKSRC } /modules/libpref/src/init/all.js
2003-04-24 18:02:42 +00:00
@for pcfile in ${ PKGCONFIG_FILES } ; do \
2003-11-11 04:10:19 +00:00
${ REINPLACE_CMD } -e ' s| mozilla-xpcom| mozilla-xpcom${ MOZ_SUFX } ${ PKGNAMESUFFIX } | g ; \
s| mozilla-nspr| mozilla-nspr${ MOZ_SUFX } ${ PKGNAMESUFFIX } | g' \
${ WRKSRC } /build/unix/$$ { pcfile} .pc.in; \
2003-04-24 18:02:42 +00:00
done
2004-07-06 23:11:56 +00:00
@${ SED } -e 's|%%MOZDIR%%|${PREFIX}/lib/${MOZILLA}|g' \
< ${ MASTERDIR } /pkg-install.in > ${ PKGINSTALL }
2002-10-22 03:42:24 +00:00
2004-03-19 03:14:55 +00:00
pre-configure :
@if [ -n " ` ${ PKG_INFO } -xI '^bind[0-9]*-base-[0-9]'` " ] ; then \
${ ECHO_CMD } " ${ PKGNAME } : bind installed with PORT_REPLACES_BASE_BIND causes build problems. " ; \
${ FALSE } ; \
fi
2000-02-04 07:45:35 +00:00
post-build :
2002-11-24 00:24:04 +00:00
${ SED } -e " s|%%PREFIX%%| ${ PREFIX } |g " -e " s|%%MOZILLA%%| ${ MOZILLA } |g " \
2002-11-17 22:09:06 +00:00
${ FILESDIR } /mozilla.sh >${ WRKSRC } /${ MOZILLA }
2000-02-04 07:45:35 +00:00
2002-10-22 03:42:24 +00:00
pre-install :
2004-10-12 00:07:10 +00:00
${ RM } -rf ${ PLIST } ${ FAKEDIR }
2002-10-22 03:42:24 +00:00
${ TOUCH } -f ${ PLIST }
2004-10-12 00:07:10 +00:00
cd ${ WRKSRC } && ${ SETENV } ${ MAKE_ENV } ${ GMAKE } ${ MAKE_FLAGS } \
Makefile ${ MAKE_ARGS } install
2002-10-23 16:13:29 +00:00
if [ ! -x ${ PREFIX } /bin/mozilla -a ! -L ${ PREFIX } /bin/mozilla ] ; then \
2003-11-11 04:10:19 +00:00
${ ECHO_CMD } bin/mozilla >> ${ PLIST } ; \
2002-10-23 04:26:25 +00:00
fi
2002-11-17 22:09:06 +00:00
${ ECHO_CMD } bin/${ MOZILLA } >> ${ PLIST }
2002-10-23 16:13:29 +00:00
if [ ! -L ${ PREFIX } /lib/browser_plugins/libjavaplugin_oji.so ] ; then \
2003-11-15 02:18:30 +00:00
for jpi in ${ JPI_LIST } ; do \
if [ -f $$ { jpi} ] ; then \
${ ECHO_CMD } lib/browser_plugins/libjavaplugin_oji.so >> ${ PLIST } ; \
break; \
fi ; \
done ; \
2003-11-11 04:10:19 +00:00
${ ECHO_CMD } @dirrm lib/browser_plugins >> ${ PLIST } ; \
2002-10-23 04:26:25 +00:00
fi
2004-10-12 00:07:10 +00:00
${ ECHO_CMD } lib/${ MOZILLA } /mozilla >> ${ PLIST }
${ ECHO_CMD } lib/${ MOZILLA } /mozilla-config >> ${ PLIST }
cd ${ FAKEDIR } /lib/${ MOZILLA } && ${ FIND } -s * -type f -o -type l | \
2002-11-17 22:09:06 +00:00
${ SED } -e 's:^:lib/${MOZILLA}/:' >> ${ PLIST } \
2003-11-11 04:10:19 +00:00
&& ${ FIND } -d * -type d | \
${ SED } -e 's:^:@dirrm lib/${MOZILLA}/:' >> ${ PLIST }
2002-11-17 22:09:06 +00:00
${ ECHO_CMD } @dirrm lib/${ MOZILLA } >> ${ PLIST }
for pcfile in ${ PKGCONFIG_FILES } ; do \
2003-11-11 04:10:19 +00:00
${ ECHO_CMD } libdata/pkgconfig/$$ { pcfile} ${ MOZ_SUFX } ${ PKGNAMESUFFIX } .pc >> ${ PLIST } ; \
2002-11-17 22:09:06 +00:00
done
2004-10-12 00:07:10 +00:00
cd ${ FAKEDIR } /include/${ MOZILLA } && ${ FIND } -s * -type f -o -type l | \
2004-02-27 07:49:33 +00:00
${ SED } -e 's:^:include/${MOZILLA}/:' >> ${ PLIST } \
2004-01-18 07:27:03 +00:00
&& ${ FIND } -d * -type d | \
2004-02-27 07:49:33 +00:00
${ SED } -e 's:^:@dirrm include/${MOZILLA}/:' >> ${ PLIST }
${ ECHO_CMD } @dirrm include/${ MOZILLA } >> ${ PLIST }
2002-10-22 03:42:24 +00:00
1997-04-09 15:12:15 +00:00
do-install :
2002-11-17 22:09:06 +00:00
${ MKDIR } ${ PREFIX } /lib/${ MOZILLA }
${ CHMOD } 755 ${ PREFIX } /lib/${ MOZILLA }
2004-10-12 00:07:10 +00:00
${ INSTALL_SCRIPT } ${ FAKEDIR } /bin/mozilla ${ PREFIX } /lib/${ MOZILLA }
${ INSTALL_SCRIPT } ${ FAKEDIR } /bin/mozilla-config ${ PREFIX } /lib/${ MOZILLA }
${ REINPLACE_CMD } -e 's|${FAKEDIR}|${PREFIX}|g' \
${ PREFIX } /lib/${ MOZILLA } /mozilla \
${ PREFIX } /lib/${ MOZILLA } /mozilla-config
cd ${ FAKEDIR } /lib/${ MOZILLA } && ${ FIND } . | \
2004-01-22 12:18:43 +00:00
${ CPIO } -pdm -L -R ${ LIBOWN } :${ LIBGRP } ${ PREFIX } /lib/${ MOZILLA }
2002-11-17 22:09:06 +00:00
${ INSTALL_SCRIPT } ${ WRKSRC } /${ MOZILLA } ${ PREFIX } /bin
2002-10-23 16:13:29 +00:00
if [ ! -x ${ PREFIX } /bin/mozilla -a ! -L ${ PREFIX } /bin/mozilla ] ; then \
2003-11-11 04:10:19 +00:00
${ LN } -sf ${ PREFIX } /bin/${ MOZILLA } ${ PREFIX } /bin/mozilla ; \
2002-10-23 04:26:25 +00:00
fi
2002-10-23 16:13:29 +00:00
if [ ! -d ${ PREFIX } /lib/browser_plugins ] ; then \
2003-11-11 04:10:19 +00:00
${ MKDIR } ${ PREFIX } /lib/browser_plugins ; \
2002-10-23 04:26:25 +00:00
fi
2002-10-23 18:20:20 +00:00
if [ ! -L ${ PREFIX } /lib/browser_plugins/libjavaplugin_oji.so ] ; then \
2003-11-11 04:10:19 +00:00
for jpi in ${ JPI_LIST } ; do \
if [ -f $$ { jpi} ] ; then \
${ LN } -sf $$ { jpi} \
${ PREFIX } /lib/browser_plugins/libjavaplugin_oji.so ; \
2003-11-15 02:18:30 +00:00
break; \
2003-11-11 04:10:19 +00:00
fi ; \
done ; \
2002-10-23 04:26:25 +00:00
fi
2002-11-17 22:09:06 +00:00
for pcfile in ${ PKGCONFIG_FILES } ; do \
2004-10-12 00:07:10 +00:00
${ REINPLACE_CMD } -e 's|${FAKEDIR}|${PREFIX}|g' \
${ WRKSRC } /build/unix/$$ { pcfile} .pc; \
2003-11-11 04:10:19 +00:00
${ INSTALL_DATA } ${ WRKSRC } /build/unix/$$ { pcfile} .pc \
2003-11-01 21:51:08 +00:00
${ PREFIX } /libdata/pkgconfig/$$ { pcfile} ${ MOZ_SUFX } ${ PKGNAMESUFFIX } .pc ; \
2002-11-17 22:09:06 +00:00
done
2004-02-27 07:49:33 +00:00
-${ RM } -fr ${ PREFIX } /include/${ MOZILLA }
${ MKDIR } ${ PREFIX } /include/${ MOZILLA }
${ CHMOD } 755 ${ PREFIX } /include/${ MOZILLA }
2004-10-12 00:07:10 +00:00
cd ${ FAKEDIR } /include/${ MOZILLA } && ${ FIND } . | \
2004-02-27 07:49:33 +00:00
${ CPIO } -pdm -L -R ${ LIBOWN } :${ LIBGRP } ${ PREFIX } /include/${ MOZILLA }
2002-10-22 03:42:24 +00:00
post-install :
2003-05-16 22:03:33 +00:00
@${ CHMOD } -R u-w ${ PREFIX } /lib/${ MOZILLA } /components
2004-07-06 23:11:56 +00:00
. i f ! d e f i n e d ( P A C K A G E _ B U I L D I N G )
@${ SETENV } PKG_PREFIX = ${ PREFIX } ${ SH } ${ PKGINSTALL } ${ PKGNAME } POST-INSTALL
. e n d i f
2002-10-22 03:42:24 +00:00
@${ CAT } ${ PKGMESSAGE }
1997-02-24 19:00:30 +00:00
2002-04-26 04:17:52 +00:00
. i n c l u d e < b s d . p o r t . p o s t . m k >