[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / yasql

File: [cvs.NetBSD.org] / pkgsrc / databases / yasql / Makefile (download)

Revision 1.6, Mon Dec 5 23:55:05 2005 UTC (17 years, 2 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.5: +2 -2 lines

Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.

# $NetBSD: Makefile,v 1.6 2005/12/05 23:55:05 rillig Exp $

DISTNAME=	yasql-1.81
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=yasql/}

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://yasql.sourceforge.net/
COMMENT=	Yet another SQLPlus replacement for Oracle

USE_PKGINSTALL=	yes
GNU_CONFIGURE=	yes
NO_BUILD=	yes

CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR:Q}

DEPENDS+=	p5-DBD-Oracle-[0-9]*:../../databases/p5-DBD-Oracle
DEPENDS+=	p5-Term-ReadLine-[0-9]*:../../devel/p5-Term-ReadLine
DEPENDS+=	p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey

CONF_FILES+=	${PREFIX}/share/examples/yasql/yasql.conf \
		${PKG_SYSCONFDIR}/yasql.conf

INSTALLATION_DIRS=	bin man/man1

post-configure:
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} default

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/yasql ${PREFIX}/bin/yasql
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/yasql
	${INSTALL_DATA} ${WRKSRC}/yasql.conf \
		${PREFIX}/share/examples/yasql/yasql.conf
	${INSTALL_MAN} ${WRKSRC}/yasql.1 ${PREFIX}/man/man1/yasql.1

.include "../../mk/bsd.pkg.mk"