Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # $OpenBSD: Makefile,v 1.74 2017/04/10 11:45:24 sthen Exp $
  2. COMMENT= send/receive faxes and share modems
  3. DISTNAME= hylafax-6.0.6
  4. REVISION= 5
  5. CATEGORIES= comms
  6. HOMEPAGE= http://www.HylaFAX.org/
  7. MASTER_SITES= http://ftp.hylafax.org/source/ \
  8. ftp://ftp.hylafax.org/source/ \
  9. ftp://ftp.ntua.gr/pub/net/hylafax/source/ \
  10. http://mirror.aarnet.edu.au/pub/hylafax/source/
  11. # License: BSD
  12. # http://www.hylafax.org/HylaFAQ/copyright.html
  13. PERMIT_PACKAGE_CDROM= Yes
  14. FLAVORS= a4
  15. FLAVOR?=
  16. WANTLIB= c jbig m ${LIBCXX} tiff util z
  17. MODULES= devel/gettext
  18. BUILD_DEPENDS= print/ghostscript/gnu
  19. RUN_DEPENDS= print/ghostscript/gnu \
  20. mail/metamail
  21. LIB_DEPENDS= graphics/jbigkit \
  22. graphics/tiff
  23. CONFIGURE_STYLE= simple
  24. USE_GMAKE= Yes
  25. USE_GROFF = Yes
  26. CONFIGURE_ARGS= --nointeractive \
  27. --disable-pam \
  28. --disable-nls \
  29. --with-CC="${CC}" \
  30. --with-CXX="${CXX}" \
  31. --with-INSTALL="" \
  32. --with-OPTIMIZER=""
  33. CONFIGURE_ENV+= CCOMPILER="${CC}" CXXCOMPILER="${CXX}" \
  34. GCOPTS="${CFLAGS}" GCXXOPTS="${CXXFLAGS}" \
  35. PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}" \
  36. DIR_LIBDATA=${TRUEPREFIX}/libdata/hylafax/etc \
  37. INETDCONF=/etc/inetd.conf MKFIFO=/sbin/mkfifo \
  38. SCRIPT_SH=/bin/ksh
  39. .if ${FLAVOR:Ma4}
  40. CONFIGURE_ARGS+= --with-PAGESIZE=A4
  41. .endif
  42. FAKE_FLAGS= ROOT=${WRKINST} SPOOL=${PREFIX}/libdata/hylafax
  43. NO_TEST= Yes
  44. pre-configure:
  45. ${SUBST_CMD} ${WRKSRC}/configure
  46. post-install:
  47. echo "FontMap: ${LOCALBASE}/share/fonts/ghostscript" >${PREFIX}/libdata/hylafax/etc/hyla.conf
  48. .include <bsd.port.mk>