1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/sysutils/cmospwd/Makefile
Dmitry Marakasov bbb0daa797 - Fix LICENSE
- Add LICENSE_FILE
- Pet portlint
- Switch to options helpers
- Update WWW

Approved by:	portmgr blanket
2019-06-15 09:01:56 +00:00

40 lines
810 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= cmospwd
PORTVERSION= 5.1
CATEGORIES= sysutils
MASTER_SITES= http://www.cgsecurity.org/ \
LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= BIOS password recovery tool
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
ONLY_FOR_ARCHS= amd64 i386
USES= tar:bzip2
PLIST_FILES= bin/cmospwd
PORTDOCS= cmospwd.txt
OPTIONS_DEFINE= DOCS
post-patch-DOCS-on:
@${REINPLACE_CMD} -e "s/`${ECHO_CMD} -e '\r'`*$$//" \
${WRKSRC}/cmospwd.txt
do-build:
${CC} ${CFLAGS} ${WRKSRC}/src/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>