# Created by: Ekkehard 'Ekki' Gehm <gehm@physik.tu-berlin.de>
# $FreeBSD: security/aespipe/Makefile 327769 2013-09-20 22:55:24Z bapt $

PORTNAME=	aespipe
DISTVERSION=	v2.3e
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://loop-aes.sourceforge.net/${PORTNAME}/ \
		http://koti.tnnet.fi/jari.ruusu/linux/

MAINTAINER=	gehm@physik.tu-berlin.de
COMMENT=	AES encrypting or decrypting pipe

RUN_DEPENDS=	gpg:${PORTSDIR}/security/gnupg

MAN1=		aespipe.1

USE_BZIP2=	yes

GNU_CONFIGURE=	yes
PLIST_FILES=	bin/aespipe

NO_STAGE=	yes
.include <bsd.port.pre.mk>
ALL_TARGET=
.if ${ARCH} == amd64
MAKE_ARGS=	amd64
.endif

.if ${ARCH} == i386
MAKE_ARGS=	x86
.endif

post-build:
	cd ${WRKSRC} && make tests
.include <bsd.port.post.mk>
