do not help this find iconv, as it cannot deal with it properly... this was the cause for the strange japanese, etc chars in the menus
77 lines
1.9 KiB
Makefile
77 lines
1.9 KiB
Makefile
# $OpenBSD: Makefile,v 1.8 2003/06/02 07:07:42 pvalchev Exp $
|
|
|
|
COMMENT= "redesign of Mozilla's browser component"
|
|
|
|
VER= 0.6
|
|
DISTNAME= mozilla
|
|
PKGNAME= mozilla-firebird-${VER}
|
|
|
|
CATEGORIES= www
|
|
|
|
HOMEPAGE= http://www.mozilla.org/projects/firebird/
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://ftp.mozilla.org/pub/firebird/releases/${VER}/
|
|
DISTFILES= MozillaFirebird-${VER}-source.tar.bz2
|
|
|
|
MODULES= gcc3
|
|
MODGCC3_ARCHES= sparc64
|
|
MODGCC3_LANGS= C++
|
|
BUILD_DEPENDS= :zip->=2.3:archivers/zip
|
|
LIB_DEPENDS= gtk.1,gdk.1::x11/gtk+ \
|
|
glib.1,gmodule.1::devel/glib \
|
|
IDL.4::devel/ORBit \
|
|
jpeg.62::graphics/jpeg \
|
|
png.3::graphics/png \
|
|
mng.1::graphics/libmng
|
|
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
CONFIGURE_ARGS= \
|
|
--with-system-jpeg=${LOCALBASE} \
|
|
--with-system-mng=${LOCALBASE} \
|
|
--with-system-png=${LOCALBASE} \
|
|
--with-system-zlib=/usr/lib \
|
|
--with-pthreads \
|
|
--disable-composer \
|
|
--disable-mailnews \
|
|
--enable-plaintext-editor-only \
|
|
--enable-extensions=default,-inspector,-irc,-venkman,-content-packs,-help \
|
|
--enable-crypto \
|
|
--disable-pedantic \
|
|
--disable-debug \
|
|
--disable-tests \
|
|
--disable-ldap
|
|
|
|
CFLAGS+= -fno-stack-protector
|
|
CONFIGURE_ENV= MOZ_PHOENIX=1
|
|
MAKE_ENV= MOZ_PHOENIX=1 \
|
|
LD_LIBRARY_PATH="${WRKSRC}/dist/bin" \
|
|
|
|
|
|
MOB= ${WRKSRC}/dist/bin
|
|
MOZ= ${PREFIX}/mozilla-firebird
|
|
|
|
pre-configure:
|
|
@cd ${WRKSRC}/nsprpub && ${SETENV} ${AUTOCONF_ENV} ${AUTOCONF}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${MOZ}
|
|
.for dir in chrome components defaults icons ipc plugins res searchplugins
|
|
@cd ${MOB} && ${TAR} -chf - ${dir} | \
|
|
${TAR} -xf - -C ${MOZ}
|
|
.endfor
|
|
@cd ${MOB} && ${TAR} -chf - *.so.1.0 | \
|
|
${TAR} -xf - -C ${MOZ}
|
|
${INSTALL_SCRIPT} ${MOB}/MozillaFirebird ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${MOB}/run-mozilla.sh ${MOZ}
|
|
${INSTALL_PROGRAM} ${MOB}/regxpcom ${MOB}/MozillaFirebird-bin ${MOZ}
|
|
|
|
.include <bsd.port.mk>
|