diff options
author | rh <rh@pkgsrc.org> | 1999-12-06 18:59:40 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 1999-12-06 18:59:40 +0000 |
commit | 4d4c0887140871f0565cfe67fd605ca8a0e04d1e (patch) | |
tree | c15ff2b33b1e9f9990671f99cb266c7072a07cb9 /benchmarks/postmark/Makefile | |
parent | 7d73b7b3eb775a1c079ae899e3492093907cf3f5 (diff) | |
download | pkgsrc-4d4c0887140871f0565cfe67fd605ca8a0e04d1e.tar.gz |
Convert FreeBSD port to NetBSD port. This closes PR 8961 by Greg A. Woods,
thanks!
Diffstat (limited to 'benchmarks/postmark/Makefile')
-rw-r--r-- | benchmarks/postmark/Makefile | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/benchmarks/postmark/Makefile b/benchmarks/postmark/Makefile index 2a813ef82b6..32088493b17 100644 --- a/benchmarks/postmark/Makefile +++ b/benchmarks/postmark/Makefile @@ -1,31 +1,34 @@ -# ex:ts=8 -# Ports collection makefile for: postmark -# Version required: 1.11 -# Date created: Sat Sep 18, 1999 -# Whom: David O'Brien (obrien@NUXI.com) -# -# $FreeBSD: ports/benchmarks/postmark/Makefile,v 1.2 1999/09/19 05:13:20 obrien Exp $ +# $NetBSD: Makefile,v 1.1.1.2 1999/12/06 18:59:40 rh Exp $ +# FreeBSD ID: ports/benchmarks/postmark/Makefile,v 1.2 1999/09/19 05:13:20 obrien Exp # -DISTNAME= postmark-1_11 +DISTNAME= postmark-1_11.c PKGNAME= postmark-1.11 CATEGORIES= benchmarks -MASTER_SITES= http://www.netapp.com/ftp/ \ +MASTER_SITES= http://www.netapp.com/ftp/ \ http://www.taronga.com/~nick/files/ -EXTRACT_SUFX= .c +EXTRACT_SUFX= # -MAINTAINER= obrien@FreeBSD.org +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.netapp.com/tech_library/3022.html -NO_WRKSUBDIR= yes +EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} postmark.c -do-extract: - @${MKDIR} ${WRKDIR} - @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR} +NO_PATCH= yes +NO_CONFIGURE= yes +NO_WRKSUBDIR= yes do-build: - (cd ${WRKSRC} && ${CC} ${CFLAGS} -o postmark ${DISTFILES}) + (cd ${WRKSRC} && ${CC} ${CFLAGS} -o postmark postmark.c) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/postmark ${PREFIX}/sbin -.include <bsd.port.mk> +benchmark: + @(cd ${WRKSRC}; ${ECHO} run | ./postmark | tee postmark.out) + +results: + -@${MKDIR} /tmp/benches/`domainname` + -@${CP} ${WRKSRC}/postmark.out /tmp/benches/`domainname`/postmark.`uname`-`uname -m`-`uname -r`.`hostname` + +.include "../../mk/bsd.pkg.mk" |