summaryrefslogtreecommitdiffstats
path: root/sysutils/setcdboot/Makefile
blob: fc019cbc5973cce00c7bb104967cf60ec94f985e (plain)
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
# Created by: David O'Brien (obrien@NUXI.com)
# $FreeBSD$

PORTNAME=	setcdboot
PORTVERSION=	1.0
CATEGORIES=	sysutils

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Mark a file bootable within a DEC Alpha ISO-9660 image

DISTFILES=
NO_WRKSUBDIR=	yes
PLIST_FILES=	bin/setcdboot

.include <bsd.port.pre.mk>

do-extract:
	${MKDIR} ${WRKSRC}
	${CP} ${FILESDIR}/setcdboot.c ${WRKSRC}

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

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

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud