diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1998-12-11 08:11:23 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1998-12-11 08:11:23 +0000 |
commit | 7946651f1cd4a833aa8cbd89539833be036fa994 (patch) | |
tree | f9ee713f8cc8686f1cdd81f7e95957712aa9d920 /www/netscape47-communicator | |
parent | Clean up do-install target a little. (diff) |
Abstract the building of netscape.sh a little bit.
Diffstat (limited to 'www/netscape47-communicator')
-rw-r--r-- | www/netscape47-communicator/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/www/netscape47-communicator/Makefile b/www/netscape47-communicator/Makefile index fd1a8bde7a0f..23f9762a6ace 100644 --- a/www/netscape47-communicator/Makefile +++ b/www/netscape47-communicator/Makefile @@ -3,7 +3,7 @@ # Date created: 24 Feb 1997 # Whom: thepish # -# $Id: Makefile,v 1.31 1998/11/28 09:00:33 obrien Exp $ +# $Id: Makefile,v 1.32 1998/12/03 22:08:48 billf Exp $ # DISTNAME= communicator-v45-export.x86-unknown-freebsd @@ -24,6 +24,7 @@ NO_FILTER_SHLIBS=yes NDIRBASE= netscape-4.5 NDIR= ${PREFIX}/${NDIRBASE} BINDIR= ${PREFIX}/bin +NBIN= communicator-4.5.bin .if defined(USE_128BIT) MASTER_SITES+= ftp://ftp.fortify.net/pub/Fortify/ \ @@ -36,20 +37,19 @@ pre-extract: .endif # USE_128BIT post-configure: - ${SED} -e "s;@X11BASE@;${X11BASE};g" \ - -e "s;@PREFIX@;${PREFIX};g" \ - -e "s;@NDIR@;${NDIR};g" \ + ${SED} -e "s;@NDIR@;${NDIR};g" \ + -e "s;@NBIN@;${NBIN};g" \ ${FILESDIR}/netscape.sh >${WRKSRC}/netscape do-install: cd ${WRKSRC} && \ - yes "" | LC_TIME=C MOZILLA_HOME="${NDIR}" ./ns-install + yes "" | LC_TIME=C MOZILLA_HOME="${NDIR}" ./ns-install ${MV} -f ${NDIR}/netscape ${NDIR}/communicator-4.5.bin ${INSTALL_SCRIPT} ${WRKSRC}/netscape ${BINDIR}/communicator-4.5 ${LN} -sf communicator-4.5 ${BINDIR}/communicator-4 ${LN} -sf communicator-4 ${BINDIR}/netscape if [ ! -f ${NDIR}/mailcap ] ; then \ - ${INSTALL_DATA} ${FILESDIR}/mailcap ${NDIR}; \ + ${INSTALL_DATA} ${FILESDIR}/mailcap ${NDIR}; \ fi ${RM} -rf ${NDIR}/movemail-src .if defined(USE_128BIT) |