Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # $OpenBSD: Makefile,v 1.3 2017/04/10 11:46:33 sthen Exp $
  2. COMMENT = REINER SCT cyberJack chipcard reader driver
  3. DISTNAME = pcsc-cyberjack-3.99.5final.SP08
  4. SHARED_LIBS = ifd-cyberjack 0.0 # 6.0
  5. CATEGORIES = security
  6. HOMEPAGE = https://www.reiner-sct.com/support/download/treiber-und-software/cyberjack/chip-linux.html
  7. MAINTAINER = Ingo Feinerer <feinerer@logic.at>
  8. # LGPL2.1+
  9. PERMIT_PACKAGE_CDROM = Yes
  10. WANTLIB += m pthread ${LIBCXX} usb-1.0
  11. MASTER_SITES = http://support.reiner-sct.de/downloads/LINUX/V3.99.5_SP08/
  12. EXTRACT_SUFX = .tar.bz2
  13. BUILD_DEPENDS = devel/libtool \
  14. security/pcsc-lite
  15. RUN_DEPENDS = security/pcsc-lite
  16. LIB_DEPENDS = devel/libusb1
  17. MAKE_FLAGS = CPPFLAGS=-I${LOCALBASE}/include
  18. CONFIGURE_STYLE = autoconf automake
  19. CONFIGURE_ARGS += --disable-fox \
  20. --disable-xml2 \
  21. --enable-release
  22. AUTOCONF_VERSION = 2.61
  23. AUTOMAKE_VERSION = 1.10
  24. # Remove MSDOS line endings in files needing a patch
  25. post-extract:
  26. cd ${WRKSRC} && perl -i -pe 's/\r$$//' cjeca32/Debug.cpp \
  27. cjeca32/RSCTCriticalSection.cpp
  28. post-patch:
  29. cd ${WRKSRC} && \
  30. libtoolize -f --copy && \
  31. AUTOCONF_VERSION=${AUTOCONF_VERSION} \
  32. AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
  33. aclocal -I m4
  34. pre-configure:
  35. cd ${WRKSRC} && \
  36. AUTOCONF_VERSION=${AUTOCONF_VERSION} \
  37. AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
  38. automake --add-missing --copy
  39. .include <bsd.port.mk>