summaryrefslogtreecommitdiff
path: root/textproc/postgresql-autodoc/Makefile
blob: 9ea4d6235b00eab074df49d4c003d60457e396a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: Makefile,v 1.23 2008/06/12 02:14:52 joerg Exp $
#

DISTNAME=	postgresql_autodoc-1.30
PKGREVISION=	1
CATEGORIES=	textproc databases
MASTER_SITES=	http://www.rbt.ca/autodoc/binaries/

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

WRKSRC=		${WRKDIR}/postgresql_autodoc
USE_TOOLS+=	gmake perl:run
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"