diff options
author | sada <sada@FreeBSD.org> | 2000-04-06 23:30:47 +0800 |
---|---|---|
committer | sada <sada@FreeBSD.org> | 2000-04-06 23:30:47 +0800 |
commit | 1a9ffdbc96a4f1ae94e3c17fcbc9e668ada70e25 (patch) | |
tree | 2aae1c1725667e31422a8e94dab330cb02d67c0f /www/netscape48-communicator | |
parent | e3acf80b767c9cb7499e46ea639b2590893527f5 (diff) | |
download | freebsd-ports-gnome-1a9ffdbc96a4f1ae94e3c17fcbc9e668ada70e25.tar.gz freebsd-ports-gnome-1a9ffdbc96a4f1ae94e3c17fcbc9e668ada70e25.tar.zst freebsd-ports-gnome-1a9ffdbc96a4f1ae94e3c17fcbc9e668ada70e25.zip |
Make the port l-n47-n to include l-n47-c's Makefile
and to be easy to maintain.
Change maintainer of l-n47-n.
Approved by: maintainers
Diffstat (limited to 'www/netscape48-communicator')
-rw-r--r-- | www/netscape48-communicator/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/www/netscape48-communicator/Makefile b/www/netscape48-communicator/Makefile index d8bd884bdf8a..3b95f5f5c261 100644 --- a/www/netscape48-communicator/Makefile +++ b/www/netscape48-communicator/Makefile @@ -6,7 +6,7 @@ # $FreeBSD$ # -DISTNAME?= netscape-${BROWSER}-${BROWSER_VER} +DISTNAME?= netscape-${BROWSER_ARC}-${BROWSER_VER} CATEGORIES?= www MASTER_SITES?= ftp://ftp.netscape.com/pub/communicator/4.08/english/unix/unsupported/freebsd/professional_edition/ DISTFILES?= communicator-v408-export.x86-unknown-freebsd.tar.gz @@ -29,6 +29,7 @@ PKGDIR= ${.CURDIR}/pkg AUTOADMIN?= autoadmin-v408.x86-unknown-freebsd.tar.gz BROWSER?= communicator +BROWSER_ARC?= ${BROWSER} BROWSER_VER?= 4.08 FORTIFY= Fortify-1.4.6-unix-x86 NDIR= ${PREFIX}/${NSUBDIR} @@ -38,7 +39,7 @@ INFILE_HEAD?= 'Communicator,4.08.0.98306' WRAPPER_TEMPLATE= ${MASTERDIR}/files/netscape.sh MAILCAP?= ${MASTERDIR}/files/mailcap -PLIST_SUB= BROWSER=${BROWSER} BROWSER_VER=${BROWSER_VER} \ +PLIST_SUB= BROWSER=${BROWSER_ARC} BROWSER_VER=${BROWSER_VER} \ NSUBDIR=${NSUBDIR} .if (${BROWSER} == "communicator") && !defined(NO_AUTOADMIN) @@ -71,7 +72,7 @@ pre-extract: post-configure: ${SED} -e "s;@PREFIX@;${PREFIX};g" -e "s;@NSUBDIR@;${NSUBDIR};g" \ - -e "s;@BROWSER@;${BROWSER};g" \ + -e "s;@BROWSER@;${BROWSER_ARC};g" \ -e "s;@BROWSER_VER@;${BROWSER_VER};g" \ ${WRAPPER_TEMPLATE} >${WRKSRC}/netscape ${CHMOD} +x ${WRKSRC}/netscape @@ -90,11 +91,11 @@ do-install: ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} $${i} ${EXTRACT_AFTER_ARGS} -C ${NDIR}; \ done ${WRKSRC}/vreg ${NDIR}/registry ${WRKSRC}/infile - ${MV} -f ${NDIR}/netscape ${NDIR}/${BROWSER}-${BROWSER_VER}.bin + ${MV} -f ${NDIR}/netscape ${NDIR}/${BROWSER_ARC}-${BROWSER_VER}.bin ${INSTALL_SCRIPT} ${WRKSRC}/netscape \ - ${BINDIR}/${BROWSER}-${BROWSER_VER} - ${LN} -sf ${BROWSER}-${BROWSER_VER} ${BINDIR}/${BROWSER}-4 - ${LN} -sf ${BROWSER}-4 ${BINDIR}/netscape + ${BINDIR}/${BROWSER_ARC}-${BROWSER_VER} + ${LN} -sf ${BROWSER_ARC}-${BROWSER_VER} ${BINDIR}/${BROWSER_ARC}-4 + ${LN} -sf ${BROWSER_ARC}-4 ${BINDIR}/netscape if [ ! -f ${NDIR}/mailcap ] ; then \ ${INSTALL_DATA} ${MAILCAP} ${NDIR}; \ fi @@ -105,7 +106,7 @@ do-install: .if defined(USE_128BIT) && !defined(NO_FORTIFY) cd ${WRKDIR}/${FORTIFY} \ && (${ECHO}; ${ECHO} yes; ${ECHO} no; ${ECHO} no) \ - | ./Fortify.sh ${NDIR}/${BROWSER}-${BROWSER_VER}.bin + | ./Fortify.sh ${NDIR}/${BROWSER_ARC}-${BROWSER_VER}.bin .endif ${CHOWN} -R root:wheel ${NDIR} |