aboutsummaryrefslogtreecommitdiff
path: root/security/digest/Makefile
blob: 1d57d3495ad1c59c7b6045ade037a993f84afb7c (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
40
41
42
43
# 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?=	eik@FreeBSD.org
COMMENT?=	Message digest wrapper utility

CONFLICTS?=	nss-[0-9]* emboss-[0-9]* qmail-ldap2-*

GNU_CONFIGURE=	yes
NO_WRKSUBDIR=	yes

MAN1?=		${PORTNAME}.1

PLIST_FILES?=	bin/${PORTNAME}

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 ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

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

.include <bsd.port.post.mk>