2004-02-11 07:16:17 +00:00
|
|
|
# New ports collection makefile for: phoenix
|
|
|
|
# Date created: 2002/10/21
|
|
|
|
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
2002-10-21 08:54:27 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2004-02-11 07:16:17 +00:00
|
|
|
PORTNAME= firefox
|
2005-07-20 06:02:17 +00:00
|
|
|
PORTVERSION= 1.0.6
|
2004-10-28 21:37:53 +00:00
|
|
|
PORTEPOCH= 1
|
2003-06-02 18:30:59 +00:00
|
|
|
CATEGORIES= www
|
2003-08-24 16:18:58 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_MOZILLA}
|
2005-07-14 04:55:18 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTVERSION}/source
|
2005-03-25 05:55:27 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
|
2002-10-21 08:54:27 +00:00
|
|
|
|
2003-06-02 18:30:59 +00:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-10-18 21:45:26 +00:00
|
|
|
COMMENT= Web browser based on the browser portion of Mozilla
|
2002-10-21 18:37:12 +00:00
|
|
|
|
2002-11-10 18:05:10 +00:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2005-04-14 03:09:30 +00:00
|
|
|
png.5:${PORTSDIR}/graphics/png
|
2004-10-17 21:29:31 +00:00
|
|
|
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
|
2002-10-22 09:26:56 +00:00
|
|
|
|
2003-10-18 21:45:26 +00:00
|
|
|
ALL_TARGET= default
|
2004-06-16 00:10:12 +00:00
|
|
|
CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
|
2004-02-11 07:16:17 +00:00
|
|
|
FAKEDIR= ${WRKDIR}/fake
|
2004-11-13 08:23:09 +00:00
|
|
|
USE_REINPLACE= yes
|
2004-02-11 07:16:17 +00:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
ESD_LIB= libesd.so.2
|
|
|
|
PLIST= ${WRKDIR}/plist
|
2004-02-11 19:30:49 +00:00
|
|
|
PLUGINSDIR= ${PREFIX}/lib/browser_plugins
|
2004-02-11 07:16:17 +00:00
|
|
|
USE_BZIP2= yes
|
2003-06-02 18:30:59 +00:00
|
|
|
USE_GMAKE= yes
|
2005-02-25 07:51:58 +00:00
|
|
|
USE_GNOME= gtk20 libidl gnomehier desktopfileutils
|
2004-02-11 07:16:17 +00:00
|
|
|
USE_ICONV= yes
|
2004-04-07 10:49:20 +00:00
|
|
|
USE_PERL5_BUILD=yes
|
2004-02-11 07:16:17 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
WRKSRC= ${WRKDIR}/mozilla
|
2004-06-16 00:10:12 +00:00
|
|
|
PKGINSTALL= ${WRKDIR}/pkg-install
|
2004-08-05 19:53:30 +00:00
|
|
|
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
|
2002-11-01 04:17:51 +00:00
|
|
|
|
2004-12-15 11:52:52 +00:00
|
|
|
EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude */CVS/* \
|
|
|
|
--exclude */macbuild/*\
|
|
|
|
--exclude */package/* \
|
|
|
|
--exclude .cvsignore \
|
|
|
|
--exclude makefile.win \
|
|
|
|
--exclude MANIFEST
|
|
|
|
|
2004-11-13 08:23:09 +00:00
|
|
|
FIREFOX= ${PORTNAME}
|
|
|
|
FF_VER= ${PORTVERSION}
|
|
|
|
|
2005-04-26 19:30:55 +00:00
|
|
|
FIREFOX_ICON= ${PREFIX}/lib/${FIREFOX}/chrome/icons/default/default.xpm
|
2004-11-10 00:58:53 +00:00
|
|
|
|
2004-11-13 08:23:09 +00:00
|
|
|
PKGCONFIG_FILES=firefox-gtkmozembed firefox-js firefox-xpcom \
|
|
|
|
firefox-nspr firefox-nss firefox-plugin
|
2004-06-24 16:33:53 +00:00
|
|
|
|
2004-02-11 07:31:45 +00:00
|
|
|
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
|
|
|
|
|
2005-02-26 09:32:01 +00:00
|
|
|
SYSTEM_PREFS= ${FAKEDIR}/lib/${FIREFOX}-${FF_VER}/defaults/pref/firefox.js
|
|
|
|
SCRIPTS_DIR= ${FAKEDIR}/lib/${FIREFOX}-${FF_VER}
|
|
|
|
MOZ_PIS_SCRIPTS= S50cleanhome
|
|
|
|
MOZ_PIS_DIR= ${SCRIPTS_DIR}/init.d
|
2005-02-25 07:51:58 +00:00
|
|
|
|
2004-02-11 07:16:17 +00:00
|
|
|
OPTIONS= DEBUG "Build a debugging image" off \
|
|
|
|
LOGGING "Enable additional log messages" off \
|
|
|
|
OPTIMIZED_CFLAGS "Enable some additional optimizations" off \
|
2004-06-24 16:33:53 +00:00
|
|
|
XFT "Enable support for anti-aliased fonts" on \
|
2005-02-25 07:51:58 +00:00
|
|
|
SMB "Enable smb:// URI support using gnomevfs" off \
|
|
|
|
NEWTAB "Open external links in a new tab" on
|
2002-10-21 18:37:12 +00:00
|
|
|
|
2002-10-21 08:54:27 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2002-10-21 18:37:12 +00:00
|
|
|
|
2002-12-13 09:41:38 +00:00
|
|
|
.if defined(WITH_DEBUG)
|
2002-12-14 22:49:59 +00:00
|
|
|
WITH_LOGGING= yes
|
2002-12-13 09:41:38 +00:00
|
|
|
CONFIGURE_ENV+= WITH_DEBUG=yes
|
|
|
|
.endif # defined(WITH_DEBUG)
|
|
|
|
|
2003-06-02 18:30:59 +00:00
|
|
|
.if defined(WITH_OPTIMIZED_CFLAGS)
|
2005-02-25 07:51:58 +00:00
|
|
|
CFLAGS:= -O2 -fno-strict-aliasing ${CFLAGS:N-O*}
|
2004-06-19 00:51:17 +00:00
|
|
|
.else
|
2005-02-25 07:51:58 +00:00
|
|
|
CFLAGS:= -O ${CFLAGS:N-O*:N-m*}
|
2004-06-19 00:51:17 +00:00
|
|
|
CONFIGURE_ENV+= WITH_OPTIMIZE=-O
|
2003-06-02 18:30:59 +00:00
|
|
|
.endif # defined(WITH_OPTIMIZED_CFLAGS)
|
2002-12-13 09:41:38 +00:00
|
|
|
|
2002-12-14 22:49:59 +00:00
|
|
|
.if defined(WITH_LOGGING)
|
|
|
|
CONFIGURE_ENV+= WITH_LOGGING=yes
|
|
|
|
.endif # defined(WITH_LOGGING)
|
|
|
|
|
|
|
|
.if defined(WITHOUT_XFT)
|
|
|
|
CONFIGURE_ENV+= WITHOUT_XFT=yes
|
|
|
|
.else
|
2004-03-16 22:54:05 +00:00
|
|
|
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
|
2002-12-14 22:49:59 +00:00
|
|
|
.endif # !defined(WITHOUT_XFT)
|
|
|
|
|
2004-06-24 16:33:53 +00:00
|
|
|
.if defined(WITH_SMB)
|
|
|
|
USE_GNOME+= gnomevfs2
|
|
|
|
CONFIGURE_ENV+= WITH_SMB=yes
|
|
|
|
.endif # defined(WITH_SMB)
|
|
|
|
|
2004-02-12 09:06:57 +00:00
|
|
|
CPPFLAGS+= -I${X11BASE}/include -I${LOCALBASE}/include
|
2002-12-13 09:41:38 +00:00
|
|
|
CFLAGS+= ${PTHREAD_CFLAGS}
|
2004-02-13 07:30:21 +00:00
|
|
|
LDFLAGS+= -L${X11BASE}/lib
|
2002-12-13 09:41:38 +00:00
|
|
|
LIBS+= ${PTHREAD_LIBS}
|
|
|
|
|
2004-02-11 07:16:17 +00:00
|
|
|
EXTRA_SCRIPTS= ${PORTNAME}.rb
|
2002-12-18 05:02:34 +00:00
|
|
|
|
2003-10-12 22:01:55 +00:00
|
|
|
.if ${ARCH} == "alpha" && ${OSVERSION} < 500035
|
2005-04-14 03:09:30 +00:00
|
|
|
IGNORE= core dumps on alpha during post-build
|
2003-10-12 22:01:55 +00:00
|
|
|
.endif
|
|
|
|
|
2004-10-14 00:38:48 +00:00
|
|
|
.if ${PERL_LEVEL} < 500600
|
2004-10-13 20:25:48 +00:00
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config_make-jars.pl
|
|
|
|
.endif
|
|
|
|
|
2002-11-07 17:56:33 +00:00
|
|
|
pre-extract::
|
|
|
|
@${ECHO_MSG}
|
2002-11-05 12:00:22 +00:00
|
|
|
@${ECHO_MSG} "Extracting source (this takes a while) ..."
|
2002-11-07 17:56:33 +00:00
|
|
|
@${ECHO_MSG}
|
2002-11-05 12:00:22 +00:00
|
|
|
|
2002-11-07 17:56:33 +00:00
|
|
|
post-extract::
|
2002-11-10 18:05:10 +00:00
|
|
|
@${SED} -e 's|@CPPFLAGS@|${CPPFLAGS}|' \
|
|
|
|
-e 's|@CFLAGS@|${CFLAGS}|' \
|
|
|
|
-e 's|@LDFLAGS@|${LDFLAGS}|' \
|
2002-10-22 11:04:48 +00:00
|
|
|
-e 's|@LIBS@|${LIBS}|' \
|
|
|
|
-e 's|@X11BASE@|${X11BASE}|' \
|
2002-10-21 18:37:12 +00:00
|
|
|
-e 's|@LOCALBASE@|${LOCALBASE}|' \
|
2004-11-13 08:23:09 +00:00
|
|
|
-e 's|@FAKEDIR@|${FAKEDIR}|' \
|
2003-06-03 01:10:33 +00:00
|
|
|
-e 's|@PERL@|${PERL5}|' \
|
2002-10-21 18:37:12 +00:00
|
|
|
<${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig
|
2004-11-10 00:58:53 +00:00
|
|
|
@${SED} -e 's|@FIREFOX_ICON@|${FIREFOX_ICON}|' \
|
|
|
|
<${FILESDIR}/firefox.desktop.in >${WRKDIR}/firefox.desktop
|
2002-10-21 18:37:12 +00:00
|
|
|
|
2003-06-02 18:30:59 +00:00
|
|
|
post-patch:
|
2004-11-13 08:23:09 +00:00
|
|
|
@${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${FIREFOX}|g ; \
|
2004-12-04 09:47:27 +00:00
|
|
|
s|%%PREFIX%%|${PREFIX}|g ; \
|
2004-11-13 08:23:09 +00:00
|
|
|
s|%%X11BASE%%|${X11BASE}|g' \
|
|
|
|
< ${MASTERDIR}/pkg-install.in > ${PKGINSTALL}
|
|
|
|
@${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${FIREFOX}|g' \
|
|
|
|
< ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
|
2005-02-25 07:51:58 +00:00
|
|
|
.for ii in ${EXTRA_SCRIPTS}
|
|
|
|
@${SED} -e 's|%%MOZILLA%%|${FIREFOX}|g ; \
|
|
|
|
s|%%PREFIX%%|${PREFIX}|g ; \
|
|
|
|
s|%%X11BASE%%|${X11BASE}|g' \
|
|
|
|
< ${FILESDIR}/${ii} > ${WRKDIR}/${ii}
|
2005-02-26 09:32:01 +00:00
|
|
|
.endfor
|
|
|
|
.for ii in ${MOZ_PIS_SCRIPTS}
|
|
|
|
@${SED} -e 's|%%MOZILLA%%|${FIREFOX}|g ; \
|
|
|
|
s|%%PREFIX%%|${PREFIX}|g ; \
|
|
|
|
s|%%X11BASE%%|${X11BASE}|g' \
|
|
|
|
< ${FILESDIR}/moz_pis_${ii} > ${WRKDIR}/moz_pis_${ii}
|
2005-02-25 07:51:58 +00:00
|
|
|
.endfor
|
2004-11-13 08:23:09 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
2003-06-02 18:30:59 +00:00
|
|
|
${WRKSRC}/build/unix/run-mozilla.sh
|
2004-11-13 08:23:09 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g ; \
|
2004-02-12 09:06:57 +00:00
|
|
|
s|-lpthread|${PTHREAD_LIBS}|g' \
|
|
|
|
${WRKSRC}/configure \
|
|
|
|
${WRKSRC}/nsprpub/configure
|
2004-11-13 08:23:09 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \
|
2004-02-11 07:16:17 +00:00
|
|
|
${WRKSRC}/nsprpub/config/config.mk \
|
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-11-13 08:23:09 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|libesd\.so\.\d+|${ESD_LIB}|g' \
|
2004-02-11 07:16:17 +00:00
|
|
|
${WRKSRC}/widget/src/gtk2/nsSound.cpp
|
2005-04-16 04:46:48 +00:00
|
|
|
@${REINPLACE_CMD} -E -e 's|libcups\.so\.[0-9]+|libcups.so|g' \
|
2004-12-15 06:03:30 +00:00
|
|
|
${WRKSRC}/gfx/src/gtk/nsDeviceContextSpecG.cpp
|
2004-06-16 00:10:12 +00:00
|
|
|
.for ii in modules/libpref/src/init extensions/sroaming/resources/content/prefs \
|
|
|
|
embedding/minimo
|
2004-11-13 08:23:09 +00:00
|
|
|
@${REINPLACE_CMD} -e '/accessibility.typeaheadfind.enablesound/s/true/false/ ; \
|
2004-10-17 21:29:31 +00:00
|
|
|
/dom.disable_window_open_feature.toolbar/s/false/true/' \
|
2004-11-13 08:23:09 +00:00
|
|
|
${WRKSRC}/${ii}/all.js
|
2004-06-24 16:33:53 +00:00
|
|
|
.endfor
|
2003-06-02 18:30:59 +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
|
|
|
|
|
2002-12-10 08:57:05 +00:00
|
|
|
pre-install:
|
2004-02-11 07:16:17 +00:00
|
|
|
@${RM} -rf ${FAKEDIR} ${PLIST}
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
|
|
|
|
Makefile ${MAKE_ARGS} install
|
2005-02-26 09:32:01 +00:00
|
|
|
@${MKDIR} ${SCRIPTS_DIR}
|
|
|
|
@${MKDIR} ${MOZ_PIS_DIR}
|
2005-04-26 19:30:55 +00:00
|
|
|
${ECHO_CMD} 'share/applications/firefox.desktop' >> ${PLIST}
|
2004-11-13 08:23:09 +00:00
|
|
|
${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g; \
|
|
|
|
s|${FIREFOX}-${FF_VER}|${FIREFOX}|' \
|
|
|
|
${FAKEDIR}/bin/firefox \
|
|
|
|
${FAKEDIR}/bin/firefox-config
|
|
|
|
for i in ${EXTRA_SCRIPTS}; do \
|
2005-01-02 23:27:54 +00:00
|
|
|
${ECHO_CMD} bin/$${i} >> ${PLIST}; \
|
2004-11-13 08:23:09 +00:00
|
|
|
done
|
|
|
|
${ECHO_CMD} bin/firefox >> ${PLIST}
|
|
|
|
${ECHO_CMD} bin/firefox-config >> ${PLIST}
|
2005-02-26 09:32:01 +00:00
|
|
|
.for ii in ${MOZ_PIS_SCRIPTS}
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/moz_pis_${ii} ${MOZ_PIS_DIR}/${ii}
|
|
|
|
.endfor
|
2005-02-25 07:51:58 +00:00
|
|
|
.if !defined(WITHOUT_NEWTAB)
|
|
|
|
${ECHO_CMD} >> ${SYSTEM_PREFS}
|
|
|
|
${ECHO_CMD} "// Open external links in new tab" >> ${SYSTEM_PREFS}
|
|
|
|
${ECHO_CMD} "pref(\"browser.link.open_external\", 3);" \
|
|
|
|
>> ${SYSTEM_PREFS}
|
|
|
|
.endif # !defined(WITHOUT_NEWTAB)
|
2004-11-13 08:23:09 +00:00
|
|
|
cd ${FAKEDIR}/lib/${FIREFOX}-${FF_VER} && ${FIND} -s * -type f -o -type l | \
|
|
|
|
${SED} -e 's|^|lib/${FIREFOX}/|' >> ${PLIST} \
|
|
|
|
&& ${FIND} -d * -type d | \
|
|
|
|
${SED} -e 's|^|@dirrm lib/${FIREFOX}/|' >> ${PLIST}
|
|
|
|
${ECHO_CMD} @dirrm lib/firefox >> ${PLIST}
|
|
|
|
for pcfile in ${PKGCONFIG_FILES}; do \
|
2004-11-14 16:46:29 +00:00
|
|
|
${REINPLACE_CMD} -e 's|${FIREFOX}-${FF_VER}|${FIREFOX}|g; \
|
|
|
|
s|${FAKEDIR}|${PREFIX}|' \
|
2004-11-13 08:23:09 +00:00
|
|
|
${FAKEDIR}/lib/pkgconfig/$${pcfile}.pc ; \
|
|
|
|
${ECHO_CMD} libdata/pkgconfig/$${pcfile}.pc >> ${PLIST} ; \
|
|
|
|
done
|
|
|
|
cd ${FAKEDIR}/include/${FIREFOX}-${FF_VER} && ${FIND} -s * -type f -o -type l | \
|
|
|
|
${SED} -e 's|^|include/${FIREFOX}/|' >> ${PLIST} \
|
|
|
|
&& ${FIND} -d * -type d | \
|
|
|
|
${SED} -e 's|^|@dirrm include/${FIREFOX}/|' >> ${PLIST}
|
|
|
|
${ECHO_CMD} @dirrm include/${FIREFOX} >> ${PLIST}
|
2004-12-11 02:11:23 +00:00
|
|
|
${ECHO_CMD} lib/browser_plugins/.${PORTNAME}.keep >> ${PLIST}
|
|
|
|
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/browser_plugins 2>/dev/null || ${TRUE}" >> ${PLIST}
|
2005-03-25 05:55:27 +00:00
|
|
|
${ECHO_CMD} "@exec ${LOCALBASE}/bin/update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
|
|
|
|
${ECHO_CMD} "@unexec ${LOCALBASE}/bin/update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
|
2004-02-11 07:16:17 +00:00
|
|
|
|
|
|
|
do-install:
|
2004-11-13 08:23:09 +00:00
|
|
|
${MKDIR} ${PREFIX}/lib/${FIREFOX}
|
|
|
|
${CHMOD} 755 ${PREFIX}/lib/${FIREFOX}
|
|
|
|
${INSTALL_SCRIPT} ${FAKEDIR}/bin/firefox ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${FAKEDIR}/bin/firefox-config ${PREFIX}/bin
|
|
|
|
if [ ! -d ${PREFIX}/lib/browser_plugins ]; then \
|
|
|
|
${MKDIR} ${PREFIX}/lib/browser_plugins ; \
|
|
|
|
fi
|
2004-12-11 02:11:23 +00:00
|
|
|
${TOUCH} -f ${PREFIX}/lib/browser_plugins/.${PORTNAME}.keep
|
2004-11-13 08:23:09 +00:00
|
|
|
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
|
|
|
|
for jpi in ${JPI_LIST}; do \
|
|
|
|
if [ -f $${jpi} ]; then \
|
|
|
|
${LN} -sf $${jpi} \
|
|
|
|
${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ; \
|
|
|
|
break; \
|
|
|
|
fi; \
|
|
|
|
done; \
|
|
|
|
fi
|
|
|
|
for pcfile in ${PKGCONFIG_FILES}; do \
|
|
|
|
${INSTALL_DATA} ${FAKEDIR}/lib/pkgconfig/$${pcfile}.pc \
|
|
|
|
${PREFIX}/libdata/pkgconfig/$${pcfile}.pc ; \
|
|
|
|
done
|
|
|
|
-${RM} -fr ${PREFIX}/include/${FIREFOX}
|
|
|
|
${MKDIR} ${PREFIX}/include/${FIREFOX}
|
|
|
|
${CHMOD} 755 ${PREFIX}/include/${FIREFOX}
|
|
|
|
cd ${FAKEDIR}/include/${FIREFOX}-${FF_VER} && ${FIND} . | \
|
|
|
|
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include/${FIREFOX}
|
|
|
|
cd ${FAKEDIR}/lib/${FIREFOX}-${FF_VER} && ${FIND} . | \
|
|
|
|
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/${FIREFOX}
|
2002-12-10 08:57:05 +00:00
|
|
|
|
2004-02-08 19:37:12 +00:00
|
|
|
post-install:
|
2004-06-16 06:58:10 +00:00
|
|
|
.if !defined(PACKAGE_BUILDING)
|
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.endif
|
2002-12-18 05:02:34 +00:00
|
|
|
.for i in ${EXTRA_SCRIPTS}
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/${i} ${PREFIX}/bin
|
2004-02-11 07:16:17 +00:00
|
|
|
.endfor
|
2005-04-26 19:30:55 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/applications
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/firefox.desktop ${PREFIX}/share/applications
|
2004-12-28 00:51:58 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/other-licenses/branding/firefox/default.xpm \
|
|
|
|
${PREFIX}/lib/${FIREFOX}/chrome/icons/default/default.xpm
|
2005-02-25 07:51:58 +00:00
|
|
|
@-update-desktop-database
|
2002-10-22 09:26:56 +00:00
|
|
|
|
2002-10-21 08:54:27 +00:00
|
|
|
.include <bsd.port.post.mk>
|