1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/misc/ree/Makefile
2018-09-08 10:49:46 +00:00

43 lines
919 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= ree
PORTVERSION= 1.4.1
CATEGORIES= misc
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Tool to dump your ROM extensions
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386
USE_GITHUB= yes
GH_ACCOUNT= alexmyczko
PLIST_FILES= bin/fontdump man/man1/fontdump.1.gz man/man8/rom-ree.8.gz \
sbin/rom-ree
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
MAKEFILE= makefile
post-patch:
@${REINPLACE_CMD} \
-e 's|ree|rom-ree|g' \
-e 's|REE|ROM-REE|g' \
${WRKSRC}/ree.8
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/rom-ree \
${STAGEDIR}${PREFIX}/bin/fontdump
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/ree.8 ${STAGEDIR}${MANPREFIX}/man/man8/rom-ree.8
${INSTALL_MAN} ${WRKSRC}/fontdump.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>