Import QTSerialPort - a QT library for dealing with.. you guessed it!

Serial ports! Eventually this can be removed, as it is included in QT
proper.

Reason for import is the most recent version of Fritzing requires it.

OK sthen@
This commit is contained in:
abieber 2015-11-24 14:57:48 +00:00
parent fbf77d2c87
commit 6a6530beb8
4 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,37 @@
# $OpenBSD: Makefile,v 1.1.1.1 2015/11/24 14:57:48 abieber Exp $
COMMENT = provides functions to access serial ports
SHARED_LIBS += QtSerialPort 0.0 # 0.0
V = 5.4.2
DISTNAME = qtserialport-v${V}
PKGNAME = ${DISTNAME:S/v//}
CATEGORIES = comms
HOMEPAGE = http://doc.qt.io/qt-5/qserialport.html
MAINTAINER = Aaron Bieber <abieber@openbsd.org>
MASTER_SITES = https://deftly.net/
# GPLv3, or LGPL.
# (GPLv2 not needed, since LGPL is more free)
# This lib is included in later versions of QT
PERMIT_PACKAGE_CDROM = Yes
MODULES = x11/qt4
FAKE_FLAGS = INSTALL_ROOT=${WRKINST}
NO_TEST = Yes
WANTLIB += m pthread stdc++
.for l v in $(SHARED_LIBS)
MAKE_FLAGS += LIB$l_VERSION=$v
.endfor
do-configure:
cd ${WRKDIST} && env -i ${CONFIGURE_ENV} \
${LOCALBASE}/bin/qmake4 PREFIX=${PREFIX}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (qtserialport-v5.4.2.tar.gz) = 8Lbp7Pka6y0al/EKKGUn2LM0s6+8fMLSyPzWkgzEEY4=
SIZE (qtserialport-v5.4.2.tar.gz) = 323187

View File

@ -0,0 +1,2 @@
The QtSerialPort module is an add-on module for the Qt library, providing a
single interface for both hardware and virtual serial ports.

View File

@ -0,0 +1,14 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/11/24 14:57:48 abieber Exp $
include/X11/qt4/
include/X11/qt4/QtSerialPort/
include/X11/qt4/QtSerialPort/QSerialPort
include/X11/qt4/QtSerialPort/QSerialPortInfo
include/X11/qt4/QtSerialPort/qserialport.h
include/X11/qt4/QtSerialPort/qserialportglobal.h
include/X11/qt4/QtSerialPort/qserialportinfo.h
lib/qt4/
lib/qt4/libQtSerialPort.prl
@lib lib/qt4/libQtSerialPort.so.${LIBQtSerialPort_VERSION}
lib/qt4/mkspecs/
lib/qt4/mkspecs/features/
lib/qt4/mkspecs/features/serialport.prf