Date: Thu, 13 Oct 2005 13:16:58 -0700 From: Vizion <vizion@vizion.occoxmail.com> To: freebsd-ports@freebsd.org Cc: Ion-Mihai Tetcu <itetcu@people.tecnik93.com> Subject: Re: Mambo -- install dir Message-ID: <200510131316.59742.vizion@vizion.occoxmail.com> In-Reply-To: <20051013224956.3b837fd0@it.buh.cameradicommercio.ro> References: <200510131225.10506.vizion@vizion.occoxmail.com> <434EB940.7020605@mac.com> <20051013224956.3b837fd0@it.buh.cameradicommercio.ro>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 13 October 2005 12:49, the author Ion-Mihai Tetcu contributed to the dialogue on- Re: Mambo -- install dir: >On Thu, 13 Oct 2005 15:45:04 -0400 > >Chuck Swiger <cswiger@mac.com> wrote: >> Vizion wrote: >> > How can I configure install so that mambo is installed into the >> > directory of my choosing? >> > >> > By default mambo installs in /usr/local/www >> >> Change: >> >> MAMBO_DIR?= www/${PORTNAME} >> >> ...in the port's Makefile, and/or change ${PREFIX}. > >Or ># make MAMBO_DIR=....... Ah well I must I done something stupid -- because I got nowhere :-( Here is how I changed the makefile start with MAMBO_DIR? I also removed PREFIX entries where it seemed appropriate. make and make install did not complain BUT nothing happened!!! --------------------------------------------------------------------- MAMBO_DIR?= /usr2/virtualwebs/lunch-buddies.com DIST_SUBDIR= ${PORTNAME} MAMBO_SRC= MamboV4.5.2-Stable.tar.gz MAMBO_PATCH1= Patch_4.5.2_to_4.5.2.3.zip do-extract: @${MKDIR} ${WRKSRC} @${TAR} -zxf ${DISTDIR}/${DIST_SUBDIR}/${MAMBO_SRC} -C ${WRKSRC} @${UNZIP_CMD} -qo ${DISTDIR}/${DIST_SUBDIR}/${MAMBO_PATCH1} -d ${WRKSRC} @${RM} -rf ${WRKSRC}/templates/rhuk_solarflare # remove empty do-install: @${MKDIR} ${MAMBO_DIR} @cd ${WRKSRC} && \ ${FIND} . -type d -exec ${MKDIR} ${MAMBO_DIR}/{} \; \ -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${MAMBO_DIR}/{} \; @cd ${WRKSRC} && \ ${FIND} . \! -type d -exec ${INSTALL_DATA} {} ${MAMBO_DIR}/{} \; \ -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${MAMBO_DIR}/{} \; ------------------------------ Can anyone help me do better? Thanks in advance david -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510131316.59742.vizion>