From owner-freebsd-ports Tue Mar 30 14:31:31 1999 Delivered-To: freebsd-ports@freebsd.org Received: from hyperhost.net (ether.lightrealm.com [207.159.132.5]) by hub.freebsd.org (Postfix) with ESMTP id 5E97A14C3A for ; Tue, 30 Mar 1999 14:31:25 -0800 (PST) (envelope-from patseal@hyperhost.net) Received: from port5.annex8.radix.net (port5.annex8.radix.net [205.252.108.5]) by hyperhost.net (8.8.5/8.8.5) with ESMTP id RAA16759 for ; Tue, 30 Mar 1999 17:31:03 -0500 (EST) Date: Tue, 30 Mar 1999 17:30:56 -0500 (EST) From: Patrick Seal To: ports@freebsd.org Subject: installing Wordperfect from CD/ports Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I tried questions with no reponse, so I'm trying here! ---------- Forwarded message ---------- I have Wordperfect on CD. It won't install. If you're interested, I asked this question about a week or two ago with a little bit of different information. here's what I got so far: # cd /cdrom # ./install.wp errors # cd /usr/ports/editors/wordperfect # make install works fine # cd /usr/ports/editors/wordperfect/work/ # ./install.wp (Runme is just a wrapper for this) same errors hmm. what could the port be doing to make it install right. Oh let's take a look at the Makefile!! do-install: @${MKDIR} ${WRKDIR}/tmp >>>> @(cd ${WRKDIR} ; ${SCRIPTS_ENV} TMPDIR=${WRKDIR}/tmp ${SH} Runme) @sed 's#REPLACE_ME_WITH_DESTINATION#${PREFIX}/lib/corel#' \ < ${FILESDIR}/xwp \ > ${WRKDIR}/xwp @if test -f ${PREFIX}/bin/xwp ; then \ ${MV} ${PREFIX}/bin/xwp ${PREFIX}/bin/xwp.old ; fi @${INSTALL_SCRIPT} ${WRKDIR}/xwp ${PREFIX}/bin @(cd ${WRKDIR} ; ${SCRIPTS_ENV} TMPDIR=${WRKDIR}/tmp ${SH} Runme) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I checked the /usr/ports/Mk/bsd.port.mk and it said: # SCRIPTS_ENV - Additional environment vars passed to scripts in # ${SCRIPTDIR} executed by bsd.port.mk (default: see below). so i did: (to save you guys some trouble, I consolidated it for you) SCRIPTS_ENV+= PORTOBJFORMAT=${PORTOBJFORMAT} SCRIPTS_ENV+= ${INSTALL_MACROS} SCRIPTS_ENV+= CURDIR=${MASTERDIR} DISTDIR=${DISTDIR} \ WRKDIR=${WRKDIR} WRKSRC=${WRKSRC} PATCHDIR=${PATCHDIR} \ SCRIPTDIR=${SCRIPTDIR} FILESDIR=${FILESDIR} \ PORTSDIR=${PORTSDIR} DEPENDS="${DEPENDS}" \ PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} \ X11BASE=${X11BASE} .if defined(BATCH) SCRIPTS_ENV+= BATCH=yes .endif Since this makes it all run correctly, what can I do to "emulate" what the port does from the command line? Any information would be greatful, Thanks! ------------------------------------ _____________________________________ Patrick Seal |"Microsoft isn't evil, they just make | really crappy operating systems." Hyperhost - http://www.hyperhost.net| -Linus Torvalds hosting and Design http://www.freebsd.org - http://www.linux.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message