summaryrefslogtreecommitdiff
path: root/databases/sqlitebrowser/Makefile
blob: d67dd74574afdf75cf2f4bc594ebdf63842abd47 (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
29
30
31
# $NetBSD: Makefile,v 1.13 2013/06/04 22:15:49 tron Exp $

DISTNAME=	sqlitebrowser_200_b1_src
PKGNAME=	${DISTNAME:S/_200_b1_src/-2.0beta1/1}
PKGREVISION=	2
CATEGORIES=	databases x11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=sqlitebrowser/}

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Qt4 lightweight GUI editor/viewer for SQLite Databases
HOMEPAGE=	http://sqlitebrowser.sourceforge.net/
LICENSE=	public-domain

WRKSRC=		${WRKDIR}/trunk/sqlitebrowser

USE_LANGUAGES=	c c++
QMAKE=		${QTDIR}/bin/qmake

INSTALLATION_DIRS=	bin

BUILDLINK_DEPMETHOD.qt4-tools=	build

do-configure:
	cd ${WRKSRC} && ${QMAKE} QMAKE=${QMAKE:Q} sqlitedbbrowser.pro

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/sqlitebrowser/sqlitebrowser ${DESTDIR}${PREFIX}/bin

.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"