Makefile 1002 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $OpenBSD: Makefile,v 1.27 2017/05/11 00:35:09 danj Exp $
  2. COMMENT= mail purpose library
  3. GH_ACCOUNT= dinhviethoa
  4. GH_PROJECT= libetpan
  5. GH_TAGNAME= 1.8
  6. CATEGORIES= mail devel
  7. SHARED_LIBS= etpan 18.0 # 21.0
  8. HOMEPAGE= http://www.etpan.org/libetpan.html
  9. MAINTAINER= Daniel Jakots <obsd@chown.me>
  10. # BSD
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB += crypto curl expat iconv m nghttp2 pthread sasl2 ssl ${LIBCXX} z
  13. AUTOCONF_VERSION= 2.69
  14. AUTOMAKE_VERSION= 1.15
  15. BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
  16. ${MODGNU_AUTOMAKE_DEPENDS} \
  17. devel/libtool
  18. LIB_DEPENDS+= converters/libiconv \
  19. net/curl \
  20. security/cyrus-sasl2
  21. CONFIGURE_STYLE= gnu
  22. CONFIGURE_ARGS+= --with-curl=auto \
  23. --with-sasl="${LOCALBASE}" \
  24. --without-gnutls
  25. CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
  26. LDFLAGS="-L${LOCALBASE}/lib"
  27. post-patch:
  28. cd ${WRKSRC} && ${SETENV} \
  29. AUTOCONF_VERSION="${AUTOCONF_VERSION}" \
  30. AUTOMAKE_VERSION="${AUTOMAKE_VERSION}" \
  31. NOCONFIGURE=1 \
  32. ./autogen.sh
  33. .include <bsd.port.mk>