Adjusted makefile for rdigest slave port.

Forgotten by:	me
Noticed by:	kris
This commit is contained in:
Oliver Eikemeier 2004-07-02 20:01:15 +00:00
parent dacf14741c
commit 532767070b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112796

View file

@ -6,38 +6,38 @@
# $FreeBSD$ # $FreeBSD$
# #
PORTNAME= digest PORTNAME?= digest
PORTVERSION= ${VERSION} PORTVERSION?= ${VERSION}
CATEGORIES= security sysutils CATEGORIES?= security sysutils
MASTER_SITES= # MASTER_SITES= #
DISTFILES= DISTFILES=
MAINTAINER= eik@FreeBSD.org MAINTAINER?= eik@FreeBSD.org
COMMENT= Message digest wrapper utility COMMENT?= Message digest wrapper utility
CONFLICTS= nss-[0-9]* emboss-[0-9]* CONFLICTS?= nss-[0-9]* emboss-[0-9]*
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
NO_WRKSUBDIR= yes NO_WRKSUBDIR= yes
MAN1= digest.1 MAN1?= ${PORTNAME}.1
PLIST_FILES= bin/digest PLIST_FILES?= bin/${PORTNAME}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
VERSION!= ${AWK} -F "'" '/^PACKAGE_VERSION=/ {print $$2}' \ VERSION!= ${AWK} -F "'" '/^PACKAGE_VERSION=/ {print $$2}' \
${FILESDIR}/configure ${FILESDIR}/configure
post-extract: post-extract:
@${CP} -Rp ${FILESDIR}/* ${WRKSRC} @${CP} -Rp ${FILESDIR}/* ${WRKSRC}
@${CHMOD} +x ${WRKSRC}/configure @${CHMOD} +x ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
test: build test: build
@${ECHO} "No news is good news" @${ECHO_MSG} "No news is good news"
@cd ${WRKSRC} && ${SETENV} DIGESTDIR=${WRKSRC} ${SH} ./regress.sh @cd ${WRKSRC} && ${SETENV} DIGESTDIR=${WRKSRC} DIGESTCMD=${PORTNAME} ${SH} ./regress.sh
@${ECHO} "All tests completed" @${ECHO_MSG} "All tests completed"
.include <bsd.port.post.mk> .include <bsd.port.post.mk>