Mambo -- install dir
Vizion
vizion at vizion.occoxmail.com
Thu Oct 13 13:22:08 PDT 2005
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 at 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.
More information about the freebsd-ports
mailing list