Makefile 777 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.6 2017/04/10 11:45:24 sthen Exp $
  2. COMMENT = provides functions to access serial ports
  3. SHARED_LIBS += QtSerialPort 0.0 # 0.0
  4. V = 5.4.2
  5. DISTNAME = qtserialport-v${V}
  6. PKGNAME = ${DISTNAME:S/v//}
  7. PKGSPEC = qtserialport-<5.6
  8. REVISION = 0
  9. CATEGORIES = comms
  10. HOMEPAGE = http://doc.qt.io/qt-5/qserialport.html
  11. MAINTAINER = Aaron Bieber <abieber@openbsd.org>
  12. MASTER_SITES = https://deftly.net/
  13. # GPLv3, or LGPL.
  14. # (GPLv2 not needed, since LGPL is more free)
  15. # This lib is included in later versions of QT
  16. PERMIT_PACKAGE_CDROM = Yes
  17. MODULES = devel/qmake x11/qt4
  18. FAKE_FLAGS = INSTALL_ROOT=${WRKINST}
  19. NO_TEST = Yes
  20. WANTLIB += m pthread ${LIBCXX}
  21. .for l v in $(SHARED_LIBS)
  22. MAKE_FLAGS += LIB$l_VERSION=$v
  23. .endfor
  24. .include <bsd.port.mk>