From owner-freebsd-questions Mon Mar 29 13:24:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hyperhost.net (ether.lightrealm.com [207.159.132.5]) by hub.freebsd.org (Postfix) with ESMTP id 0678F14D21 for ; Mon, 29 Mar 1999 13:24:23 -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 QAA29791; Mon, 29 Mar 1999 16:24:02 -0500 (EST) Date: Mon, 29 Mar 1999 16:23:57 -0500 (EST) From: Patrick Seal To: freebsd-questions@FreeBSD.ORG Cc: Greg Lehey Subject: installing Wordperfect from CD/ports Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 cd /usr/ports/editors/wordperfect/work/ ./install.wp (Runme is just a wrapper for this) 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-questions" in the body of the message