pkgsrc/x11/qt2-libs/Makefile
2001-05-22 09:32:18 +00:00

29 lines
747 B
Makefile

# $NetBSD: Makefile,v 1.10 2001/05/22 09:32:28 wiz Exp $
#
USE_MESA= yes
.include "../qt2-libs/Makefile.common"
PKGNAME= qt2-libs-${QTVERSION}
COMMENT= C++ X GUI toolkit
DEPENDS+= png>=1.0.11:../../graphics/png
DEPENDS+= mng-1.0.0:../../graphics/mng
DEPENDS+= jpeg-*:../../graphics/jpeg
CONFIGURE_ENV+= QTDIR=${WRKSRC}
MAKE_ENV+= QTDIR=${WRKSRC}
ALL_TARGET= sub-src
do-install:
${INSTALL_DATA_DIR} ${QTPREFIX}
${INSTALL_PROGRAM_DIR} ${QTPREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/moc ${QTPREFIX}/bin
${INSTALL_DATA_DIR} ${QTPREFIX}/lib
${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/src/libqt.la ${QTPREFIX}/lib
${INSTALL_DATA_DIR} ${QTPREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/* ${QTPREFIX}/include
.include "../../mk/bsd.pkg.mk"