freebsd-ports/sysutils/setcdboot/Makefile
Mathieu Arnold 065c026fe5 Fix ports that confused the meaning of WRKDIR and WRKSRC.
PR:		204056
Submitted by:	mat
Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D2735
2015-11-05 12:36:25 +00:00

27 lines
549 B
Makefile

# 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>