Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2006 21:33:03 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/100887: [MAINTAINER] games/toycars: do install README
Message-ID:  <20060726173303.592421E8@hades.panopticon>
Resent-Message-ID: <200607261740.k6QHeG3p025567@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100887
>Category:       ports
>Synopsis:       [MAINTAINER] games/toycars: do install README
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 26 17:40:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu May 11 15:07:32 MSD 2006 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
I've got a mail from someone who couldn't figure out game controls, so make port install README for convenience.
>How-To-Repeat:
>Fix:

--- toycars.patch begins here ---
diff -ruN toycars.orig/Makefile toycars/Makefile
--- toycars.orig/Makefile	Wed Jul 26 21:25:13 2006
+++ toycars/Makefile	Wed Jul 26 21:26:28 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	toycars
 PORTVERSION=	0.2.5
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	toycars
@@ -19,5 +20,15 @@
 GNU_CONFIGURE=	yes
 
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
+
+PORTDOCS=	README
+
+.if !defined(NOPORTDOCS)
+post-install:
+	${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
 
 .include <bsd.port.mk>
--- toycars.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060726173303.592421E8>