summaryrefslogtreecommitdiff
path: root/security/digest/Makefile
blob: 66c5cb6b52a91603d57c1542cbf7d7d3b3e69925 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:	digest
# Date created:				2001-03-09
# Whom:					trevor
#
# $NetBSD: Makefile,v 1.37 2003/07/17 22:52:13 grant Exp $
# $FreeBSD$
#

PORTNAME=	digest
PORTVERSION=	${VERSION}
CATEGORIES=	security sysutils
MASTER_SITES=	#
DISTFILES=

MAINTAINER=	eikemeier@fillmore-labs.com
COMMENT=	Message digest wrapper utility

GNU_CONFIGURE=	yes
NO_WRKSUBDIR=	yes

MAN1=		digest.1

CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

.include <bsd.port.pre.mk>

VERSION!=	${AWK} -F "'" '/^PACKAGE_VERSION=/ {print $$2}' \
		${FILESDIR}/configure

post-extract:
	@${CP} -Rp ${FILESDIR}/* ${WRKSRC}
	@${CHMOD} +x ${WRKSRC}/configure

test: build
	@${ECHO} "No news is good news"
	@cd ${WRKSRC} && ${SETENV} DIGESTDIR=${WRKSRC} ${SH} ./regress.sh
	@${ECHO} "All tests completed"

.include <bsd.port.post.mk>