diff options
Diffstat (limited to 'misc/openoffice-linux/Makefile')
-rw-r--r-- | misc/openoffice-linux/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/misc/openoffice-linux/Makefile b/misc/openoffice-linux/Makefile index 59b0d86f88e..b47d25e4c35 100644 --- a/misc/openoffice-linux/Makefile +++ b/misc/openoffice-linux/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2003/01/22 22:46:33 rh Exp $ +# $NetBSD: Makefile,v 1.3 2003/01/24 11:15:02 mrauch Exp $ DISTNAME= OOo_1.0.2_LinuxIntel_install PKGNAME= openoffice-linux-1.0.2 +PKGREVISION= 1 CATEGORIES= misc MASTER_SITES= http://sf1.mirror.openoffice.org/stable/1.0.2/ \ http://www.fs.tum.de/~mrauch/OpenOffice/download/ @@ -12,6 +13,7 @@ COMMENT= Integrated office productivity suite (binary pkg) NO_CONFIGURE= # defined WRKSRC= ${WRKDIR}/install/ +INTERACTIVE_STAGE= install CONFLICTS+= staroffice-[0-9]* CONFLICTS+= openoffice-[0-9]* @@ -42,6 +44,13 @@ pre-install: checkforx ${SED} -e 's#@@PREFIX@@#${PREFIX}#g' \ <${FILESDIR}/oo_setup.resp \ >oo_setup.resp" +. if ${OPSYS}=="NetBSD" && !exists(/emul/linux/etc/mtab) + @${ECHO} 'Error: Before you are able to install and use this package,' + @${ECHO} ' the file /emul/linux/etc/mtab must exist.' + @${ECHO} ' Please create this file, e.g. by running' + @${ECHO} ' "touch /emul/linux/etc/mtab".' + @${FALSE} +. endif do-install: -${SH} -c "cd ${WRKSRC}; \ |