aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-03-09 04:35:54 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-03-09 04:35:54 +0000
commit0eb7a4cc5e7f82b1a7fe96f1009ab12e2e309fd1 (patch)
tree76c7ed662419c979afa93f0ae5de4a18d9d91c9b /sysutils
parentf49402be9325de0e335464b175ebc62122af8953 (diff)
downloadports-0eb7a4cc5e7f82b1a7fe96f1009ab12e2e309fd1.tar.gz
ports-0eb7a4cc5e7f82b1a7fe96f1009ab12e2e309fd1.zip
Notes
Diffstat (limited to 'sysutils')
-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}