Date: Wed, 14 Jul 2004 09:40:26 +0400 From: Roman Bogorodskiy <bogorodskiy@inbox.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/69045: [ patch ] x11-wm/fbdesk: add docs Message-ID: <E1BkcVF-000IT1-00.bogorodskiy-inbox-ru@mx2.mail.ru> Resent-Message-ID: <200407140550.i6E5oARD031857@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> .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 <bsd.port.post.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BkcVF-000IT1-00.bogorodskiy-inbox-ru>