aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/setcdboot/Makefile
blob: 2d791aad9df28ac214d9e7b8dc81a8af96ad50b5 (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
# ex:ts=8
# Ports collection makefile for:  setcdboot
# Date created:           Mon Jan 17, 1998
# Whom:               David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#

PORTNAME=   setcdboot
PORTVERSION=    1.0
CATEGORIES= sysutils
MASTER_SITES=   'part of port'
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .c

MAINTAINER=     obrien@FreeBSD.org

NO_WRKSUBDIR=   yes
DISTDIR=    ${FILESDIR}

do-extract:
    @${MKDIR} ${WRKDIR}
    @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}

do-build:
    (cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${DISTNAME} ${DISTNAME}.c)

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin

.include <bsd.port.mk>