openbsd-ports/databases/qt3-sqlite3-plugin/Makefile
2011-11-04 08:16:23 +00:00

42 lines
839 B
Makefile

# $OpenBSD: Makefile,v 1.12 2011/11/04 08:16:24 jasper Exp $
SHARED_ONLY= Yes
COMMENT= qt3 sqlite3 plugin
CATEGORIES= databases devel x11
HOMEPAGE= http://kde-apps.org/content/show.php?content=23011
MASTER_SITES= http://kde-apps.org/CONTENT/content-files/
V= 0.2
DISTNAME= 23011-qt-sqlite3-$V
PKGNAME= qt3-sqlite3-$V
REVISION= 4
WRKDIST= ${WRKDIR}/qt-sqlite3-${V}
MODULES= x11/qt3
LIB_DEPENDS += databases/sqlite3
WANTLIB += sqlite3 m stdc++
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
NO_REGRESS= Yes
SUBST_VARS= MODQT_PLUGINS
do-configure:
cd ${WRKDIST} && qmake
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/${MODQT_PLUGINS}/sqldrivers
${INSTALL_DATA} ${WRKBUILD}/sqldrivers/libqsqlite3.so \
${PREFIX}/${MODQT_PLUGINS}/sqldrivers
.include <bsd.port.mk>