pkgsrc-WIP-review archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: new package: gallery2


> DEPENDS+=             
> {mysql-,pgsql-}server-[0-9]*:../../databases/mysql5-server

Probably no need to depend on database servers.

> SUBST_SED.paths+=     -e 's,@G2DIR@,${G2DIR},g'
> SUBST_SED.paths+=     -e 's,@G2DATA@,${G2DATA},g'

You can use
SUBST_VARS.paths=       G2DIR G2DATA

> 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.

And for config.php, how about using CONF_FILES?

"Of course I love NetBSD":-)
OBATA Akio /

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
pkgsrc-wip-review mailing list

Home | Main Index | Thread Index | Old Index