openbsd-ports/databases/sqlitebrowser/Makefile
martynas 262630b8ff sqlite3IsNumber and sqlite3StrNICmp are internal sqlite functions,
which sqlbrowser shouldn't use
for now it's the best if it uses its own sqlite
spotted by naddy@ in his bulk build, a while ago
"go ahead and fix it" bernd@, ok kurt@
2008-07-24 10:06:42 +00:00

36 lines
946 B
Makefile

# $OpenBSD: Makefile,v 1.4 2008/07/24 10:06:42 martynas Exp $
COMMENT= graphical interface to sqlite databases
DISTNAME= sqlitebrowser-1.3
PKGNAME= ${DISTNAME}p0
DISTFILES= ${DISTNAME}-src.tar.gz
WRKDIST= ${WRKDIR}/sqlitebrowser
CATEGORIES= databases x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sqlitebrowser/}
HOMEPAGE= http://sqlitebrowser.sourceforge.net/
MODULES= x11/qt3
NO_REGRESS= Yes
USE_X11= Yes
WANTLIB= Xext m X11 stdc++ pthread c
# Special: files are macintosh encoded.
post-extract:
find ${WRKDIST} -type d -name images -prune -o -type f -print|xargs perl -pi.bak -e 's/\cM/\cJ/g';
find ${WRKDIST} -type f -name \*.bak -print|xargs rm
do-configure:
cd ${WRKDIST} && qmake sqlitedbbrowser.pro
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/sqlitebrowser/sqlitebrowser ${PREFIX}/bin
# Public domain
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
.include <bsd.port.mk>