Makefile 550 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.12 2016/03/22 13:39:15 sthen Exp $
  2. COMMENT = interface to the Skein digest algorithm
  3. DISTNAME = Digest-Skein-0.05
  4. CATEGORIES = security
  5. REVISION = 4
  6. HOMEPAGE = http://www.skein-hash.info/
  7. MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
  8. # Perl
  9. PERMIT_PACKAGE_CDROM = Yes
  10. WANTLIB += c perl
  11. MODULES = cpan
  12. .include <bsd.port.arch.mk>
  13. .if ${PROPERTIES:Mle}
  14. BO= LITTLE
  15. .else
  16. BO= BIG
  17. .endif
  18. pre-configure:
  19. @perl -pi -e 's,!!ENDIAN!!,IS_${BO}_ENDIAN,g' \
  20. ${WRKSRC}/Optimized_64bit/brg_endian.h
  21. .include <bsd.port.mk>