From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 14 05:50:11 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DC8F16A4CE for ; Wed, 14 Jul 2004 05:50:11 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF0B843D45 for ; Wed, 14 Jul 2004 05:50:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6E5oAVW031858 for ; Wed, 14 Jul 2004 05:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6E5oARD031857; Wed, 14 Jul 2004 05:50:10 GMT (envelope-from gnats) Resent-Date: Wed, 14 Jul 2004 05:50:10 GMT Resent-Message-Id: <200407140550.i6E5oARD031857@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Roman Bogorodskiy Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD60516A4CE for ; Wed, 14 Jul 2004 05:40:27 +0000 (GMT) Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64CAC43D1F for ; Wed, 14 Jul 2004 05:40:27 +0000 (GMT) (envelope-from bogorodskiy@inbox.ru) Received: from [194.186.150.145] (port=49389 helo=inbox.ru) by mx2.mail.ru with esmtp id 1BkcVF-000IT1-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 14 Jul 2004 09:40:26 +0400 Message-Id: Date: Wed, 14 Jul 2004 09:40:26 +0400 From: Roman Bogorodskiy To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/69045: [ patch ] x11-wm/fbdesk: add docs X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Roman Bogorodskiy List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 05:50:11 -0000 >Number: 69045 >Category: ports >Synopsis: [ patch ] x11-wm/fbdesk: add docs >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 14 05:50:10 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Roman Bogorodskiy >Release: FreeBSD 5.2.1-RELEASE-p8 i386 >Organization: >Environment: System: FreeBSD lame.novel.ru 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #5: Sat Jun 19 22:04:33 MSD 2004 root@lame.novel.ru:/usr/obj/usr/src/sys/NOV i386 >Description: fbdesk comes with some docs which describes how to use it. Current version of the fbdesk port won't know about them. Here's a fix. >How-To-Repeat: >Fix: diff -ruN fbdesk.orig/Makefile fbdesk/Makefile --- fbdesk.orig/Makefile Wed Jul 14 09:22:55 2004 +++ fbdesk/Makefile Wed Jul 14 09:27:48 2004 @@ -16,10 +16,11 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ Xft.2:${PORTSDIR}/x11-fonts/libXft -PLIST_FILES= bin/fbdesk USE_X_PREFIX= yes GNU_CONFIGURE= yes +DOCS= COPYING ChangeLog INSTALL README + .include .if ${OSVERSION} >= 500000 @@ -27,6 +28,14 @@ post-patch: ${REINPLACE_CMD} -e "s/inttypes\.h/stdint\.h/" \ ${WRKSRC}/src/FbTk/Timer.hh +.endif + +post-install: +.ifndef (NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for i in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor .endif .include diff -ruN fbdesk.orig/pkg-plist fbdesk/pkg-plist --- fbdesk.orig/pkg-plist Thu Jan 1 03:00:00 1970 +++ fbdesk/pkg-plist Wed Jul 14 09:27:07 2004 @@ -0,0 +1,5 @@ +bin/fbdesk +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/README >Release-Note: >Audit-Trail: >Unformatted: