diff options
Diffstat (limited to 'databases/sqlitemanager/Makefile')
-rw-r--r-- | databases/sqlitemanager/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/databases/sqlitemanager/Makefile b/databases/sqlitemanager/Makefile index 476bfa4ef57..bbef44bd63a 100644 --- a/databases/sqlitemanager/Makefile +++ b/databases/sqlitemanager/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2007/07/04 20:54:37 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2008/03/03 15:21:07 jlam Exp $ # DISTNAME= SQLiteManager-1.0.4 @@ -12,16 +12,18 @@ COMMENT= Web frontend for managing SQLite databases DEPENDS+= php>=5.0.3nb1:../../lang/php5 +PKG_DESTDIR_SUPPORT= destdir + NO_BUILD= yes PKG_USERS_VARS+= APACHE_USER do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share - ${INSTALL_DATA_DIR} ${PREFIX}/share/sqlitemanager + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/sqlitemanager cd ${WRKSRC} && \ ${PAX} -rw include index.php lang left.php main.php test.sqlite theme \ - ${PREFIX}/share/sqlitemanager - ${CHOWN} -R ${APACHE_USER} ${PREFIX}/share/sqlitemanager + ${DESTDIR}${PREFIX}/share/sqlitemanager + ${CHOWN} -R ${APACHE_USER} ${DESTDIR}${PREFIX}/share/sqlitemanager .include "../../mk/bsd.pkg.mk" |