aboutsummaryrefslogtreecommitdiff
path: root/sysutils/raincoat
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/raincoat')
-rw-r--r--sysutils/raincoat/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/sysutils/raincoat/Makefile b/sysutils/raincoat/Makefile
index 685296b33307..d187d539a048 100644
--- a/sysutils/raincoat/Makefile
+++ b/sysutils/raincoat/Makefile
@@ -6,22 +6,24 @@ PORTVERSION= 0.11
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/xbox-linux/Other/Raincoat
-EXTRACT_SUFX= .tbz2
MAINTAINER= ports@FreeBSD.org
COMMENT= BIOS flash utility for the Microsoft Xbox
-# Xbox is i386
-ONLY_FOR_ARCHS= i386
-USES= tar:bzip2
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/docs/COPYING
+
+ONLY_FOR_ARCHS= i386 # Xbox is i386
+
+USES= tar:tbz2
+
PORTDOCS= README
+
OPTIONS_DEFINE= DOCS
post-patch:
-.for f in docs/README src/${PORTNAME}.c
@${REINPLACE_CMD} -e 's|/etc/raincoat\.conf|${PREFIX}&|g' \
- ${WRKSRC}/${f}
-.endfor
+ ${WRKSRC}/docs/README ${WRKSRC}/src/${PORTNAME}.c
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/src/${PORTNAME}.c ${WRKSRC}/src/BootFlash.c
@@ -29,6 +31,8 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/${PORTDOCS} ${STAGEDIR}${DOCSDIR}