Re: new package: gallery2

Fredrik Pettai <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
On Sep 6, 2008, at 4:37 AM, OBATA Akio wrote:
>> do-install:
>> 	${INSTALL_DATA} ${WRKDIR}/gallery2.conf ${EGDIR}/gallery2.conf
>> 	${CP} -R ${WRKSRC}/* ${G2DIR}
>> 	${CHMOD} 666 ${G2DIR}/config.php
>> 	${INSTALL_DATA} ${FILESDIR}/.htaccess ${G2DIR}/.htaccess
>
> You can add DESTDIR support.

I fixed most of the things you "enlightened" me about by commenting my  
package submissions.
But I'm not sure how you mean I should do with adding DESTDIR support?
I didn't find much documented about DESTDIR in the pkgsrc doc.
What benefit does it offer? And how should I call it in the Makefile?
(I've looked in several other Makefiles of some other packages, and  
there are lot of ways that DESTDIR is called/used...)

Thanks,
/P

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.