summaryrefslogtreecommitdiff
path: root/www/netscape7/Makefile
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2000-12-27 12:55:56 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2000-12-27 12:55:56 +0000
commita1e86a2475d65b34a54ab65fad03d870c8a236e8 (patch)
treec503b432f063407b00b456306b0641563ac60b9b /www/netscape7/Makefile
parentUpdate to 1.0.0 (diff)
Correct breakage caused by my hasty addition of DIST_SUBDIR. Add
dependency on archivers/unzip. Thanks to Kevin Lo for reporting both problems. Also, reassure users about a harmless error.
Notes
Notes: svn path=/head/; revision=36405
Diffstat (limited to 'www/netscape7/Makefile')
-rw-r--r--www/netscape7/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/netscape7/Makefile b/www/netscape7/Makefile
index 3c20890da6fb..395856811dd2 100644
--- a/www/netscape7/Makefile
+++ b/www/netscape7/Makefile
@@ -28,6 +28,7 @@ DIST_SUBDIR= netscape6/english/${PORTVERSION}
MAINTAINER= trevor@FreeBSD.org
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
RUN_DEPENDS= ${LINUX_BASE}/lib/ld.so:${PORTSDIR}/emulators/linux_base \
${LINUX_BASE}/usr/lib/libgtk-1.2.so.0.5.0:${PORTSDIR}/x11-toolkits/linux-gtk \
${LINUX_BASE}/usr/lib/libjpeg.so.62.0.0:${PORTSDIR}/graphics/linux-jpeg
@@ -45,7 +46,7 @@ STARTUP_CMD= netscape6
do-extract:
${MKDIR} ${WRKSRC}
- @${TAR} xzf ${DISTDIR}/${DISTFILES} -C ${WRKDIR}
+ @${TAR} xzf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} -C ${WRKDIR}
.for i in browser deflenus jre langenus mail psm spellchecker xpcom
unzip -qo ${WRKSRC}/${i}.xpi -d ${WRKSRC}
.endfor
@@ -63,6 +64,7 @@ do-patch:
do-configure:
${SETENV} $DISPLAY="NONE" ${WRKSRC}/bin/netscape file:///dev/null
+ @${ECHO} A \"cannot open display\" error here is normal.
${SED} -e "s;%%INSTALL_DIR%%;${INSTALL_DIR};g" \
${FILESDIR}/start.sh >${WRKDIR}/${STARTUP_CMD}