Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # $OpenBSD: Makefile,v 1.9 2017/05/31 08:08:17 espie Exp $
  2. COMMENT = lightweight server providing access to task data
  3. DISTNAME = taskd-1.1.0
  4. CATEGORIES = productivity net
  5. REVISION = 0
  6. HOMEPAGE = http://www.taskwarrior.org/
  7. MAINTAINER = Kent R. Spillner <kspillner@openbsd.org>
  8. MASTER_SITES = ${HOMEPAGE}/download/
  9. # MIT
  10. PERMIT_PACKAGE_CDROM = Yes
  11. MODULES = devel/cmake
  12. COMPILER = gcc
  13. WANTLIB += c gnutls m pthread ${LIBECXX}
  14. LIB_DEPENDS = security/gnutls
  15. CONFIGURE_ARGS += -DTASKD_DOCDIR=share/taskd \
  16. -DTASKD_MAN1DIR=man/man1 \
  17. -DTASKD_MAN5DIR=man/man5
  18. CONFIGURE_ENV += CFLAGS="-I${LOCALBASE}/include" \
  19. LDFLAGS="-L${LOCALBASE}/lib"
  20. NO_TEST = Yes
  21. post-install:
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/taskd/pki/
  23. ${INSTALL_SCRIPT} ${WRKSRC}/pki/generate!(*.orig) \
  24. ${PREFIX}/share/examples/taskd/pki/
  25. ${INSTALL_DATA} ${WRKSRC}/pki/README \
  26. ${PREFIX}/share/examples/taskd/pki/
  27. ${INSTALL_DATA} ${WRKSRC}/pki/vars \
  28. ${PREFIX}/share/examples/taskd/pki/vars.dist
  29. ${SUBST_DATA} ${FILESDIR}/config \
  30. ${PREFIX}/share/examples/taskd/config
  31. .include <bsd.port.mk>