diff options
author | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
commit | 39d7fb93432416d872ed34e0025741cc93068c06 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /textproc/postgresql-autodoc/Makefile | |
parent | cce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff) | |
download | pkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'textproc/postgresql-autodoc/Makefile')
-rw-r--r-- | textproc/postgresql-autodoc/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/textproc/postgresql-autodoc/Makefile b/textproc/postgresql-autodoc/Makefile index e4c2551f692..9ea4d6235b0 100644 --- a/textproc/postgresql-autodoc/Makefile +++ b/textproc/postgresql-autodoc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2007/06/29 23:41:54 joerg Exp $ +# $NetBSD: Makefile,v 1.23 2008/06/12 02:14:52 joerg Exp $ # DISTNAME= postgresql_autodoc-1.30 @@ -10,6 +10,8 @@ MAINTAINER= recht@NetBSD.org HOMEPAGE= http://www.rbt.ca/autodoc/ COMMENT= Generate HTML, DOT, and XML description of database structure +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey DEPENDS+= p5-DBD-postgresql-[0-9]*:../../databases/p5-DBD-postgresql DEPENDS+= p5-HTML-Template-[0-9]*:../../www/p5-HTML-Template @@ -20,4 +22,7 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --datadir=${PREFIX:Q}/share CONFIGURE_ENV+= ac_cv_path_PERL=${PERL5:Q} +INSTALL_MAKE_FLAGS= prefix=${DESTDIR}${PREFIX} \ + datadir=${DESTDIR}${PREFIX}/share/postgresql_autodoc + .include "../../mk/bsd.pkg.mk" |