aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/memtest/Makefile
blob: bd43d5fc63017d4d60f87d401b7dab7867e84324 (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
# New ports collection makefile for:    memtest
# Date created:         18 Jun 2000
# Whom:         Mario S F Ferreira <lioux@linf.unb.br> et al.
#
# $FreeBSD$
#

PORTNAME=   memtest
PORTVERSION=    2.93.1
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   http://www.qcc.sk.ca/~charlesc/software/memtester/
DISTNAME=   ${PORTNAME}er-${PORTVERSION}

MAINTAINER= lioux@FreeBSD.org
COMMENT=    Utility to test for faulty memory subsystem

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_REINPLACE=  yes

MAN1=       ${PORTNAME}.1
PLIST_FILES=    bin/memtest

post-patch:
    @${REINPLACE_CMD} -e 's|gcc|${CC}|' \
        ${WRKSRC}/${MAKEFILE}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1

.include <bsd.port.mk>