1 # $NetBSD: Makefile,v 1.20 2013/02/06 23:24:17 jperkin Exp $
3 PKGNAME
= qt4-mng-
${QTVERSION}
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
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}
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"