summaryrefslogtreecommitdiff
path: root/textproc/postgresql-autodoc/Makefile
blob: be6ae6f8ad4ee0230aae62bd3d6a5c262f5ccbd4 (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
# $NetBSD: Makefile,v 1.26 2012/10/25 06:56:46 asau Exp $
#

DISTNAME=	postgresql_autodoc-1.30
PKGREVISION=	2
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

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"