Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # $OpenBSD: Makefile,v 1.18 2017/04/10 11:46:22 sthen Exp $
  2. COMMENT = mail server storing messages in a database
  3. DISTNAME = archiveopteryx-3.2.0
  4. CATEGORIES = mail databases
  5. HOMEPAGE = http://www.archiveopteryx.org/
  6. # BSD
  7. PERMIT_PACKAGE_CDROM = Yes
  8. WANTLIB = c crypto m pthread ssl ${LIBCXX} z
  9. MASTER_SITES = ${HOMEPAGE}/download/
  10. EXTRACT_SUFX = .tar.bz2
  11. BUILD_DEPENDS = devel/jam
  12. NO_TEST = yes
  13. JAMDEBUG = -d x # display command-lines
  14. JAMDEBUG += -q # die quickly on build failure
  15. MAKE_ENV += CC=${CC} CXX=${CXX}
  16. JAMFLAGS = \
  17. -sAOXUSER=_aox \
  18. -sAOXGROUP=_aox \
  19. -sBUILD= \
  20. -sOPTIM="${CFLAGS}" \
  21. -sCXXFLAGS="${CXXFLAGS}" \
  22. -sLDFLAGS="${LDFLAGS}"
  23. pre-configure:
  24. ${SUBST_CMD} ${WRKSRC}/Jam{rules,settings}
  25. do-build:
  26. cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} jam ${JAMDEBUG} ${JAMFLAGS}
  27. do-install:
  28. cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} jam ${JAMDEBUG} ${JAMFLAGS} install
  29. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/archiveopteryx
  30. ${INSTALL_DATA} ${FILESDIR}/*.conf ${PREFIX}/share/examples/archiveopteryx
  31. .include <bsd.port.mk>