openbsd-ports/databases/qt3-sqlite3-plugin/Makefile

41 lines
796 B
Makefile

# $OpenBSD: Makefile,v 1.4 2007/09/15 22:27:39 simon 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/
P= qt-sqlite3-0.2
DISTNAME= 23011-$P
PKGNAME= qt3-sqlite3-0.2p0
WRKDIST= ${WRKDIR}/$P
MODULES= x11/qt3
LIB_DEPENDS+= sqlite3::databases/sqlite3
# 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>