diff options
author | grant <grant@pkgsrc.org> | 2003-04-14 20:28:20 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-04-14 20:28:20 +0000 |
commit | 761bd78608e361e82fff048f1d3a4077a730854e (patch) | |
tree | 4484f350f190b71033865381feacbf4cf5b8332f /www/mozilla-bin/Makefile | |
parent | 5629bf36bcdca08a14f759a19e506002964854aa (diff) | |
download | pkgsrc-761bd78608e361e82fff048f1d3a4077a730854e.tar.gz |
rename mozilla-linux to mozilla-bin.
Diffstat (limited to 'www/mozilla-bin/Makefile')
-rw-r--r-- | www/mozilla-bin/Makefile | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/www/mozilla-bin/Makefile b/www/mozilla-bin/Makefile new file mode 100644 index 00000000000..257e95c48ab --- /dev/null +++ b/www/mozilla-bin/Makefile @@ -0,0 +1,54 @@ +# $NetBSD: Makefile,v 1.1 2003/04/14 20:28:22 grant Exp $ +# + +DISTNAME= mozilla-i686-pc-linux-gnu-1.3 +PKGNAME= mozilla-bin-1.3 +WRKSRC= ${WRKDIR}/mozilla +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_MOZILLA:=mozilla1.3/} + +MAINTAINER= grant@netbsd.org +HOMEPAGE= http://www.mozilla.org/ +COMMENT= Open-source version of the Netscape browser (binary pkg) + +ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 NetBSD-*-i386 + +CONFLICTS+= mozilla-linux-[0-9]* + +NO_CONFIGURE= # defined + +PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC + +MOZILLA_LIB= ${PREFIX}/lib/mozilla-linux + +do-build: + +post-build: + ${SED} -e "s|@PREFIX@|${PREFIX}|g" ${FILESDIR}/mozilla.sh > \ + ${WRKDIR}/mozilla.sh + +do-install: + ${INSTALL_DATA_DIR} ${MOZILLA_LIB} + cd ${WRKSRC} && ${CP} -r . ${MOZILLA_LIB} + ${INSTALL_SCRIPT} ${WRKDIR}/mozilla.sh ${PREFIX}/bin/mozilla-linux + +post-install: + @${CP} -f ${PKGDIR}/PLIST ${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} + +.include "../../mk/bsd.prefs.mk" + +# 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" |