openbsd-ports/security/p5-Digest-Skein/Makefile
2010-04-13 12:33:57 +00:00

32 lines
614 B
Makefile

# $OpenBSD: Makefile,v 1.3 2010/04/13 12:33:57 stephan Exp $
COMMENT= interface to the Skein digest algorithm
HOMEPAGE= http://www.skein-hash.info/
MODULES= cpan
DISTNAME= Digest-Skein-0.05
CATEGORIES= security
MAINTAINER= Stephan A. Rickauer <stephan@openbsd.org>
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
BYTEORDER!=sysctl -n hw.byteorder
.if ${BYTEORDER} == "1234"
BO= LITTLE
.else
BO= BIG
.endif
pre-configure:
@perl -pi -e 's,!!ENDIAN!!,IS_${BO}_ENDIAN,g' \
${WRKSRC}/Optimized_64bit/brg_endian.h
.include <bsd.port.mk>