summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam>2010-02-02 14:07:18 +0000
committeradam <adam>2010-02-02 14:07:18 +0000
commita504c9a22a20aa7f56d16067138eafa7dc2ab086 (patch)
treea08a39f0db3f48485e0f2c8818c46a69ec5f3225
parentd959ab514a2f9b875063914924d4da744d5ee622 (diff)
downloadpkgsrc-a504c9a22a20aa7f56d16067138eafa7dc2ab086.tar.gz
MNG support plugin for Qt.
-rw-r--r--x11/qt4-mng/DESCR1
-rw-r--r--x11/qt4-mng/Makefile31
-rw-r--r--x11/qt4-mng/PLIST2
3 files changed, 34 insertions, 0 deletions
diff --git a/x11/qt4-mng/DESCR b/x11/qt4-mng/DESCR
new file mode 100644
index 00000000000..fa5e63d2753
--- /dev/null
+++ b/x11/qt4-mng/DESCR
@@ -0,0 +1 @@
+MNG support plugin for Qt.
diff --git a/x11/qt4-mng/Makefile b/x11/qt4-mng/Makefile
new file mode 100644
index 00000000000..45ac74840c0
--- /dev/null
+++ b/x11/qt4-mng/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/02/02 14:07:18 adam Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../x11/qt4-libs/Makefile.common"
+
+PKGNAME= qt4-mng-${QTVERSION}
+COMMENT= QT MNG image format plugin
+
+CONFIGURE_ARGS+= -I${QTDIR}/include
+CONFIGURE_ARGS+= -L${QTDIR}/lib
+
+BUILD_QT4= yes
+
+do-build:
+ cd ${WRKSRC}/src/tools/bootstrap && env ${MAKE_ENV} ${GMAKE}
+ cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE}
+ cd ${WRKSRC}/src/plugins/imageformats/mng && env ${MAKE_ENV} ${GMAKE}
+
+IMGFMTDIR= ${QTPREFIX}/plugins/imageformats
+
+INSTALLATION_DIRS= ${IMGFMTDIR}
+
+do-install:
+ ${LIBTOOL} --mode=install ${INSTALL_DATA} \
+ ${WRKSRC}/plugins/imageformats/libqmng.la ${DESTDIR}${IMGFMTDIR}
+
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../graphics/mng/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/qt4-mng/PLIST b/x11/qt4-mng/PLIST
new file mode 100644
index 00000000000..7128ef35a78
--- /dev/null
+++ b/x11/qt4-mng/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/02/02 14:07:18 adam Exp $
+qt4/plugins/imageformats/libqmng.la