Makefile 815 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.4 2015/07/29 17:39:49 jturner Exp $
  2. COMMENT = create and verify cryptographic signatures
  3. VERSION = 2.1.0
  4. REVISION = 0
  5. DISTNAME = reop-${VERSION}
  6. CATEGORIES = security sysutils
  7. MAINTAINER = James Turner <james@calminferno.net>
  8. HOMEPAGE = http://www.tedunangst.com/flak/post/reop
  9. MASTER_SITES = http://www.tedunangst.com/flak/files/
  10. EXTRACT_SUFX = .tgz
  11. # ISC
  12. PERMIT_PACKAGE_CDROM = Yes
  13. WANTLIB = c sodium util
  14. LIB_DEPENDS = security/libsodium>=0.7.0
  15. ALL_TARGET = reop
  16. MAKE_FLAGS = CC="${CC}" \
  17. CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
  18. LDFLAGS="-L${LOCALBASE}/lib -lutil -lsodium"
  19. do-test:
  20. @cd ${WRKSRC}/tests && sh test.sh
  21. do-install:
  22. ${INSTALL_MAN} ${WRKSRC}/reop.1 ${PREFIX}/man/man1
  23. ${INSTALL_PROGRAM} ${WRKSRC}/reop ${PREFIX}/bin
  24. .include <bsd.port.mk>