summaryrefslogtreecommitdiff
path: root/textproc/postgresql-autodoc/Makefile
blob: 14f8a003ada4cc87e1e31762cf04f39ea4068364 (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.24 2011/02/28 14:53:04 wiz Exp $
#

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

MAINTAINER=	pkgsrc-users@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"