1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/sysutils/cmospwd/Makefile
Emanuel Haupt 48b16bc177 Pacify portlint
Feature safe:	yes
2011-12-27 15:14:23 +00:00

45 lines
851 B
Makefile

# New ports collection makefile for: cmospwd
# Date created: 28 Jul 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= cmospwd
PORTVERSION= 5.1
CATEGORIES= sysutils
MASTER_SITES= http://www.cgsecurity.org/ \
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= A BIOS password recovery tool
LICENSE= GPLv2
USE_BZIP2= yes
MAKE_JOBS_SAFE= yes
PLIST_FILES= bin/cmospwd
PORTDOCS= cmospwd.txt
ONLY_FOR_ARCHS= i386 amd64
post-patch:
.if !defined(NOPORTDOCS)
@${REINPLACE_CMD} -e "s/`${ECHO_CMD} -e '\r'`*$$//" \
${WRKSRC}/cmospwd.txt
.endif
do-build:
${CC} ${CFLAGS} ${WRKSRC}/src/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>