summaryrefslogtreecommitdiff
path: root/x11/qt5-qtserialport
diff options
context:
space:
mode:
Diffstat (limited to 'x11/qt5-qtserialport')
-rw-r--r--x11/qt5-qtserialport/DESCR1
-rw-r--r--x11/qt5-qtserialport/Makefile26
-rw-r--r--x11/qt5-qtserialport/PLIST30
-rw-r--r--x11/qt5-qtserialport/buildlink3.mk18
4 files changed, 75 insertions, 0 deletions
diff --git a/x11/qt5-qtserialport/DESCR b/x11/qt5-qtserialport/DESCR
new file mode 100644
index 00000000000..96ca1b19563
--- /dev/null
+++ b/x11/qt5-qtserialport/DESCR
@@ -0,0 +1 @@
+Qt5 module for Serial Port
diff --git a/x11/qt5-qtserialport/Makefile b/x11/qt5-qtserialport/Makefile
new file mode 100644
index 00000000000..f3df237d8fc
--- /dev/null
+++ b/x11/qt5-qtserialport/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2013/12/13 14:38:36 ryoon Exp $
+
+PKGNAME= qt5-qtserialport-${QTVERSION}
+COMMENT= Qt5 module for Serial Port
+
+.include "../../x11/qt5-qtbase/Makefile.common"
+
+USE_LIBTOOL= yes
+
+CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib
+
+BUILD_DIRS+= qtserialport
+MAKE_ENV+= QTDIR=${QTDIR}
+
+INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
+INSTALLATION_DIRS+= lib/pkgconfig
+
+post-install:
+.for i in Qt5SerialPort.pc
+ ${RM} -f ${DESTDIR}${PREFIX}/lib/pkgconfig/${i} && \
+ cd ${DESTDIR}${PREFIX}/lib/pkgconfig && \
+ ln -s ${QTPREFIX}/lib/pkgconfig/${i} ${i}
+.endfor
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/qt5-qtserialport/PLIST b/x11/qt5-qtserialport/PLIST
new file mode 100644
index 00000000000..0161ea39cb0
--- /dev/null
+++ b/x11/qt5-qtserialport/PLIST
@@ -0,0 +1,30 @@
+@comment $NetBSD: PLIST,v 1.1 2013/12/13 14:38:36 ryoon Exp $
+lib/pkgconfig/Qt5SerialPort.pc
+qt5/include/QtSerialPort/5.2.0/QtSerialPort/private/qlockfile_p.h
+qt5/include/QtSerialPort/5.2.0/QtSerialPort/private/qringbuffer_p.h
+qt5/include/QtSerialPort/5.2.0/QtSerialPort/private/qserialport_p.h
+qt5/include/QtSerialPort/5.2.0/QtSerialPort/private/qserialport_symbian_p.h
+qt5/include/QtSerialPort/5.2.0/QtSerialPort/private/qserialport_unix_p.h
+qt5/include/QtSerialPort/5.2.0/QtSerialPort/private/qserialport_win_p.h
+qt5/include/QtSerialPort/5.2.0/QtSerialPort/private/qserialportinfo_p.h
+qt5/include/QtSerialPort/5.2.0/QtSerialPort/private/qtudev_p.h
+qt5/include/QtSerialPort/QLockFile
+qt5/include/QtSerialPort/QSerialPort
+qt5/include/QtSerialPort/QSerialPortInfo
+qt5/include/QtSerialPort/QWinEventNotifier
+qt5/include/QtSerialPort/QtSerialPort
+qt5/include/QtSerialPort/QtSerialPortDepends
+qt5/include/QtSerialPort/QtSerialPortVersion
+qt5/include/QtSerialPort/qlockfile.h
+qt5/include/QtSerialPort/qserialport.h
+qt5/include/QtSerialPort/qserialportglobal.h
+qt5/include/QtSerialPort/qserialportinfo.h
+qt5/include/QtSerialPort/qtserialportversion.h
+qt5/include/QtSerialPort/qwineventnotifier.h
+qt5/lib/cmake/Qt5SerialPort/Qt5SerialPortConfig.cmake
+qt5/lib/cmake/Qt5SerialPort/Qt5SerialPortConfigVersion.cmake
+qt5/lib/libQt5SerialPort.la
+qt5/lib/libQt5SerialPort.prl
+qt5/lib/pkgconfig/Qt5SerialPort.pc
+qt5/mkspecs/modules/qt_lib_serialport.pri
+qt5/mkspecs/modules/qt_lib_serialport_private.pri
diff --git a/x11/qt5-qtserialport/buildlink3.mk b/x11/qt5-qtserialport/buildlink3.mk
new file mode 100644
index 00000000000..88c4a11942b
--- /dev/null
+++ b/x11/qt5-qtserialport/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/12/13 14:38:36 ryoon Exp $
+
+BUILDLINK_TREE+= qt5-qtserialport
+
+.if !defined(QT5_QTSERIALPORT_BUILDLINK3_MK)
+QT5_QTSERIALPORT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.qt5-qtserialport+= qt5-qtserialport>=5.2.0rc1
+BUILDLINK_PKGSRCDIR.qt5-qtserialport?= ../../x11/qt5-qtserialport
+
+BUILDLINK_INCDIRS.qt5-qtserialport+= qt5/include
+BUILDLINK_LIBDIRS.qt5-qtserialport+= qt5/lib
+BUILDLINK_LIBDIRS.qt5-qtserialport+= qt5/plugins
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.endif # QT5_QTSERIALPORT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -qt5-qtserialport