svn commit: r364110 - head/sysutils/raincoat
Vanilla I. Shu
vanilla at FreeBSD.org
Tue Aug 5 14:40:26 UTC 2014
Author: vanilla
Date: Tue Aug 5 14:40:25 2014
New Revision: 364110
URL: http://svnweb.freebsd.org/changeset/ports/364110
QAT: https://qat.redports.org/buildarchive/r364110/
Log:
1: Stagify.
2: use @sample, bump version.
Modified:
head/sysutils/raincoat/Makefile
head/sysutils/raincoat/pkg-plist
Modified: head/sysutils/raincoat/Makefile
==============================================================================
--- head/sysutils/raincoat/Makefile Tue Aug 5 14:40:11 2014 (r364109)
+++ head/sysutils/raincoat/Makefile Tue Aug 5 14:40:25 2014 (r364110)
@@ -1,23 +1,22 @@
# Created by: Ed Schouten <ed at fxq.nl>
# $FreeBSD$
-PORTNAME= raincoat
-PORTVERSION= 0.11
-CATEGORIES= sysutils
-MASTER_SITES= SF/xbox-linux/Other/Raincoat
-EXTRACT_SUFX= .tbz2
+PORTNAME= raincoat
+PORTVERSION= 0.11
+PORTREVISION= 1
+CATEGORIES= sysutils
+MASTER_SITES= SF/xbox-linux/Other/Raincoat
+EXTRACT_SUFX= .tbz2
MAINTAINER= ports at FreeBSD.org
-COMMENT= BIOS flash utility for the Microsoft Xbox
+COMMENT= BIOS flash utility for the Microsoft Xbox
# Xbox is i386
ONLY_FOR_ARCHS= i386
-
USES= tar:bzip2
+PORTDOCS= README
+OPTIONS_DEFINE= DOCS
-PORTDOCS= README
-
-NO_STAGE= yes
post-patch:
.for f in docs/README src/${PORTNAME}.c
@${REINPLACE_CMD} -e 's|/etc/raincoat\.conf|${PREFIX}&|g' \
@@ -28,15 +27,9 @@ do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/src/${PORTNAME}.c ${WRKSRC}/src/BootFlash.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
- ${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.default
-.if !exists(${PREFIX}/etc/${PORTNAME}.conf)
- ${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.conf ${PREFIX}/etc
-.endif
-
-.if !defined (NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/${PORTDOCS} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/sysutils/raincoat/pkg-plist
==============================================================================
--- head/sysutils/raincoat/pkg-plist Tue Aug 5 14:40:11 2014 (r364109)
+++ head/sysutils/raincoat/pkg-plist Tue Aug 5 14:40:25 2014 (r364110)
@@ -1,4 +1,2 @@
sbin/raincoat
- at unexec if cmp -s %D/etc/raincoat.conf %D/etc/raincoat.conf.default; then rm -f %D/etc/raincoat.conf; fi
-etc/raincoat.conf.default
- at exec [ -f %B/raincoat.conf ] || cp %B/%f %B/raincoat.conf
+ at sample etc/raincoat.conf.sample
More information about the svn-ports-all
mailing list