summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>1999-12-06 18:59:40 +0000
committerrh <rh@pkgsrc.org>1999-12-06 18:59:40 +0000
commit33dfe1864f6de45e49c263d94924053892209371 (patch)
tree6af9d5615c939758ce041f02de4f28dc8a892f05
parentb06ebcbefe39507a53a9fe9173b5206dc932f368 (diff)
downloadpkgsrc-33dfe1864f6de45e49c263d94924053892209371.tar.gz
Convert FreeBSD port to NetBSD port. This closes PR 8961 by Greg A. Woods,
thanks!
-rw-r--r--benchmarks/postmark/Makefile37
-rw-r--r--benchmarks/postmark/files/md52
2 files changed, 22 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"
diff --git a/benchmarks/postmark/files/md5 b/benchmarks/postmark/files/md5
index 2928fbea453..c20d2dc2a34 100644
--- a/benchmarks/postmark/files/md5
+++ b/benchmarks/postmark/files/md5
@@ -1 +1,3 @@
+$NetBSD: md5,v 1.1.1.2 1999/12/06 18:59:41 rh Exp $
+
MD5 (postmark-1_11.c) = 0a89d3849a5058651eb0eaf03e8230f2