Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / x11 / qt4-mng / Makefile
blobc6d0710f58da0dfb80a8a47934debf0d73453bfc
1 # $NetBSD: Makefile,v 1.20 2013/02/06 23:24:17 jperkin Exp $
3 PKGNAME= qt4-mng-${QTVERSION}
4 PKGREVISION= 2
5 COMMENT= QT MNG image format plugin
7 .include "../../x11/qt4-libs/Makefile.common"
8 CONFIGURE_ARGS+= -I${QTDIR}/include
9 CONFIGURE_ARGS+= -L${QTDIR}/lib
11 BUILD_QT4= yes
13 do-build:
14 cd ${WRKSRC}/src/tools/bootstrap && env ${MAKE_ENV} ${GMAKE}
15 cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE}
16 cd ${WRKSRC}/src/plugins/imageformats/mng && env ${MAKE_ENV} ${GMAKE}
18 IMGFMTDIR= ${QTPREFIX}/plugins/imageformats
20 INSTALLATION_DIRS= ${IMGFMTDIR}
22 do-install:
23 ${LIBTOOL} --mode=install ${INSTALL_LIB} \
24 ${WRKSRC}/plugins/imageformats/libqmng.la ${DESTDIR}${IMGFMTDIR}
26 .include "../../x11/qt4-libs/buildlink3.mk"
27 .include "../../x11/qt4-tools/buildlink3.mk"
28 .include "../../graphics/mng/buildlink3.mk"
29 .include "../../mk/bsd.pkg.mk"