aboutsummaryrefslogtreecommitdiffstats
path: root/www/netscape7/Makefile
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-04-14 09:52:33 +0800
committertrevor <trevor@FreeBSD.org>2002-04-14 09:52:33 +0800
commit768a1ae307e91ca1751e69f313c04bc063ffc999 (patch)
tree1d0d43f9f91152385d8c6c4e7ee8404440d60957 /www/netscape7/Makefile
parentdeb969341127decf3681925710ca86e672928d72 (diff)
downloadfreebsd-ports-gnome-768a1ae307e91ca1751e69f313c04bc063ffc999.tar.gz
freebsd-ports-gnome-768a1ae307e91ca1751e69f313c04bc063ffc999.tar.zst
freebsd-ports-gnome-768a1ae307e91ca1751e69f313c04bc063ffc999.zip
Update Japanese, German, and French Netscape ports to version 6.2.2
(the English port was already updated, because Netscape released that binary before releasing the others). Install Netscape in a different directory for each different language. The startup command is now called netscape6english, netscape6french, and so on, rather than just netscape6. Because of this, I set PORTREVISION for the English version.
Diffstat (limited to 'www/netscape7/Makefile')
-rw-r--r--www/netscape7/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/www/netscape7/Makefile b/www/netscape7/Makefile
index 64014f011ebb..5b9b3a9420b6 100644
--- a/www/netscape7/Makefile
+++ b/www/netscape7/Makefile
@@ -7,6 +7,7 @@
PORTNAME= linux-netscape
PORTVERSION?= 6.2.2
+PORTREVISION?= 1
CATEGORIES?= www linux
MASTER_SITES= ftp://ftp.netscape.com/pub/netscape6/${NETSCAPE6_LANG}/${PORTVERSION}/unix/linux22/xpi/ \
ftp://ftp.cica.es/pub6/netscape/netscape6/${NETSCAPE6_LANG}/${PORTVERSION}/unix/linux22/xpi/ \
@@ -59,9 +60,9 @@ NO_CDROM= ${RESTRICTED}
USE_LINUX= yes
USE_XLIB= yes
WRKSRC= ${WRKDIR}/netscape-installer/xpi
-INSTALL_DIR= ${PREFIX}/lib/linux-netscape6
+INSTALL_DIR= lib/linux-netscape6-${NETSCAPE6_LANG}
PLIST= ${WRKDIR}/pkg-plist
-STARTUP_CMD= ${WRKDIR}/netscape6
+STARTUP_CMD= ${WRKDIR}/netscape6${NETSCAPE6_LANG}
.if !defined(BATCH)
IS_INTERACTIVE= yes
@@ -143,22 +144,22 @@ do-configure:
# @${ECHO} \"Factory not found\" and \"cannot open display\" errors here are normal.
${ECHO_CMD} "#!/bin/sh" > ${STARTUP_CMD}
${ECHO_CMD} -n "cd " >> ${STARTUP_CMD}
- ${ECHO_CMD} ${INSTALL_DIR} >> ${STARTUP_CMD}
+ ${ECHO_CMD} ${PREFIX}/${INSTALL_DIR} >> ${STARTUP_CMD}
${ECHO_CMD} 'exec ./netscape $$*' >> ${STARTUP_CMD}
pre-install:
- ${ECHO_CMD} bin/netscape6 > ${PLIST}
+ ${ECHO_CMD} bin/netscape6${NETSCAPE6_LANG} > ${PLIST}
cd ${WRKSRC}/bin; for i in `find * \! -type d | sort`; do \
- ${ECHO_CMD} lib/linux-netscape6/$${i} >> ${PLIST}; \
+ ${ECHO_CMD} ${INSTALL_DIR}/$${i} >> ${PLIST}; \
done
cd ${WRKSRC}/plugins; for i in `find * \! -type d | sort`; do \
- ${ECHO_CMD} lib/linux-netscape6/plugins/$${i} >> ${PLIST}; \
+ ${ECHO_CMD} ${INSTALL_DIR}/plugins/$${i} >> ${PLIST}; \
done
cd ${WRKSRC}/bin; \
for i in `find -d * -type d`; do \
- ${ECHO_CMD} @dirrm lib/linux-netscape6/$${i} >> ${PLIST}; \
+ ${ECHO_CMD} @dirrm ${INSTALL_DIR}/$${i} >> ${PLIST}; \
done
- ${ECHO_CMD} @dirrm lib/linux-netscape6 >> ${PLIST}
+ ${ECHO_CMD} @dirrm ${INSTALL_DIR} >> ${PLIST}
pre-package:
@${ECHO_MSG} "*** WARNING ***"
@@ -166,8 +167,8 @@ pre-package:
@${ECHO_MSG} "* It is prohibited by the licensing."
do-install:
- ${MKDIR} ${INSTALL_DIR}
- ${CP} -Rp ${WRKSRC}/bin/* ${WRKSRC}/plugins ${INSTALL_DIR}
+ ${MKDIR} ${PREFIX}/${INSTALL_DIR}
+ ${CP} -Rp ${WRKSRC}/bin/* ${WRKSRC}/plugins ${PREFIX}/${INSTALL_DIR}
${INSTALL_SCRIPT} ${STARTUP_CMD} ${PREFIX}/bin
post-install: