pkgsrc/x11/qt2-libs/Makefile
jlam e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00

34 lines
994 B
Makefile

# $NetBSD: Makefile,v 1.18 2002/08/25 18:40:42 jlam Exp $
PKGNAME= qt2-libs-${QTVERSION}
PKGREVISION= 2
COMMENT= C++ X GUI toolkit
USE_BUILDLINK2= yes
.include "../qt2-libs/Makefile.common"
CONFIGURE_ARGS+= -I${LOCALBASE}/include -I${X11BASE}/include
CONFIGURE_ARGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib
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
${PKGLIBTOOL} ${INSTALL_DATA} ${WRKSRC}/src/libqt.la ${QTPREFIX}/lib
${INSTALL_DATA_DIR} ${QTPREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/* ${QTPREFIX}/include
.include "../../devel/zlib/buildlink2.mk"
.include "../../graphics/Mesa/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/mng/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"