diff options
author | grant <grant> | 2003-09-27 14:13:07 +0000 |
---|---|---|
committer | grant <grant> | 2003-09-27 14:13:07 +0000 |
commit | 9000c890eefe4aebb24f81ee9a799bfe5c6a36ca (patch) | |
tree | 4c5da52dc18b70a55de37b78a93ac67ae8455a64 /www/MozillaFirebird-bin-nightly/Makefile | |
parent | d1dbe1cc01742a4786cd1fb84aa6da042134172d (diff) | |
download | pkgsrc-9000c890eefe4aebb24f81ee9a799bfe5c6a36ca.tar.gz |
rename phoenix-bin-* to MozillaFirebird-bin-*.
Diffstat (limited to 'www/MozillaFirebird-bin-nightly/Makefile')
-rw-r--r-- | www/MozillaFirebird-bin-nightly/Makefile | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/www/MozillaFirebird-bin-nightly/Makefile b/www/MozillaFirebird-bin-nightly/Makefile new file mode 100644 index 00000000000..bbad75b067d --- /dev/null +++ b/www/MozillaFirebird-bin-nightly/Makefile @@ -0,0 +1,82 @@ +# $NetBSD: Makefile,v 1.1 2003/09/27 14:13:08 grant Exp $ +# + +DISTNAME= # see Makefile.${OPSYS}.${ARCH} +PKGNAME= MozillaFirebird-bin-${PKGVER} +WRKSRC= ${WRKDIR}/MozillaFirebird +CATEGORIES= www + +MAINTAINER= grant@NetBSD.org +HOMEPAGE= http://www.mozilla.org/projects/firebird/ +COMMENT= Lightweight gecko-based web browser (nightly binary pkg) + +ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 NetBSD-*-i386 SunOS-5.[789]*-sparc + +# this package was formerly named "phoenix-linux", and +# "phoenix-bin". +CONFLICTS+= phoenix-linux-[0-9]* +CONFLICTS+= phoenix-bin-[0-9]* + +DIST_SUBDIR= ${PKGNAME} +NO_CHECKSUM= # defined +NO_CONFIGURE= # defined +NO_SRC_ON_FTP= # defined + +USE_PKGINSTALL= YES + +.include "../../mk/bsd.prefs.mk" + +PKGVER!= ${DATE} +%Y%m%d + +FILES_SUBST+= PLATFORM=${PLATFORM} +PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC + +do-build: + +post-build: + @${SED} ${FILES_SUBST_SED} ${FILESDIR}/MozillaFirebird.sh > \ + ${WRKDIR}/MozillaFirebird.sh + +do-install: + ${INSTALL_DATA_DIR} ${MOZILLA_LIB} + cd ${WRKSRC} && ${PAX} -rw -pm . ${MOZILLA_LIB} + ${INSTALL_SCRIPT} ${WRKDIR}/MozillaFirebird.sh > \ + ${PREFIX}/bin/MozillaFirebird-${PLATFORM} + @${FIND} ${MOZILLA_LIB} -type f -print \ + | ${XARGS} ${CHMOD} a+r + @${FIND} ${MOZILLA_LIB} \( -type f -o -perm +x \) -print \ + | ${XARGS} ${CHMOD} a+rx + @${FIND} ${MOZILLA_LIB} -type d -print \ + | ${XARGS} ${CHMOD} a+rx + @${RM} -f ${MOZILLA_LIB}/plugins/libnullplugin.so + +post-install: +# this build for Solaris wants exactly 'libgtk-1.2.so.0', etc. +.if ${OPSYS} == "SunOS" + @cd ${MOZILLA_LIB} && \ + ${LN} -s ${LOCALBASE}/lib/libglib.*so* .; \ + ${LN} -s ${LOCALBASE}/lib/libgmodule.*so* .; \ + ${LN} -s ${X11BASE}/lib/libgdk.*so* .; \ + ${LN} -s ${X11BASE}/lib/libgtk.*so* .; \ + ${LN} -s libgtk.so libgtk-1.2.so.0; \ + ${LN} -s libgdk.so libgdk-1.2.so.0; \ + ${LN} -s libglib.so libglib-1.2.so.0 +.endif + @${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC} + @${ECHO} bin/MozillaFirebird-${PLATFORM} >> ${PLIST_SRC} + @${FIND} ${MOZILLA_LIB} \( -type f -o -type l \) -print \ + | ${SORT} | ${SED} -e "s,${PREFIX}/,,g" \ + >> ${PLIST_SRC} + @${FIND} ${MOZILLA_LIB} -type d -print \ + | ${SORT} -r | ${SED} -e "s,${PREFIX}/,@dirrm ,g" \ + >> ${PLIST_SRC} + +# everything specific to your OS/Arch goes into it's own Makefile +# group together i386, i486, i586 and i686 (for Linux) +ARCH=${MACHINE_ARCH:C/i[3-6]86/i386/g} + +.if exists(Makefile.${OPSYS}.${ARCH}) +. include "Makefile.${OPSYS}.${ARCH}" +.endif + +.include "../../mk/bsd.pkg.mk" |