openbsd-ports/security/p5-Digest-Skein/Makefile
2012-08-23 15:50:05 +00:00

37 lines
624 B
Makefile

# $OpenBSD: Makefile,v 1.7 2012/08/23 15:52:47 sthen Exp $
COMMENT = interface to the Skein digest algorithm
DISTNAME = Digest-Skein-0.05
CATEGORIES = security
REVISION = 1
HOMEPAGE = http://www.skein-hash.info/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# Perl
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += c
MODULES = cpan
.include <bsd.port.arch.mk>
.if ${PROPERTIES:Mle}
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>