pkgsrc/x11/qt2-libs/Makefile
jschauma e7c1762bd0 Bump PKGREVISION due to upgrade of Mesa and friends.
Only include Mesa/buildlink2.mk if the package requires all three of
MesaLib, glu and glut - else only include the necessary buildlink2s.
2003-03-09 19:23:09 +00:00

36 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.20 2003/03/09 19:28:17 jschauma Exp $
PKGNAME= qt2-libs-${QTVERSION}
PKGREVISION= 3
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}"
MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
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/MesaLib/buildlink2.mk"
.include "../../graphics/glu/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/mng/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"