summaryrefslogtreecommitdiff
path: root/textproc/postgresql-autodoc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/postgresql-autodoc/Makefile')
-rw-r--r--textproc/postgresql-autodoc/Makefile7
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"