Date: Fri, 22 Apr 2011 12:53:40 GMT From: Eitan Adler <lists@eitanadler.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/156573: [patch] fix documentation problem with icewm port Message-ID: <201104221253.p3MCreeE064404@red.freebsd.org> Resent-Message-ID: <201104221300.p3MD0KYT061713@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 156573 >Category: ports >Synopsis: [patch] fix documentation problem with icewm port >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Apr 22 13:00:20 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Eitan Adler >Release: >Organization: >Environment: >Description: icewm won't find its documentation unless a symlink is added >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/x11-wm/icewm/Makefile,v retrieving revision 1.149 diff -u -r1.149 Makefile --- Makefile 8 Nov 2010 21:59:08 -0000 1.149 +++ Makefile 22 Apr 2011 12:27:12 -0000 @@ -7,6 +7,7 @@ PORTNAME= icewm PORTVERSION= 1.3.7 +PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTVERSION}/ @@ -40,6 +41,8 @@ .include <bsd.port.pre.mk> +PLIST_SUB+= PORTVERSION="${PORTVERSION}" + .if defined(WITH_GNOMEDESKTOP) USE_GNOME+= gnomedesktop CONFIGURE_ARGS+=--enable-menus-gnome2 @@ -112,6 +115,7 @@ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} . endfor ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR} + @${LN} -sf ${DOCSDIR}/${PORTNAME} ${DOCSDIR}-${PORTVERSION} .endif @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/x11-wm/icewm/pkg-plist,v retrieving revision 1.52 diff -u -r1.52 pkg-plist --- pkg-plist 20 Mar 2009 21:04:49 -0000 1.52 +++ pkg-plist 22 Apr 2011 12:27:12 -0000 @@ -32,6 +32,7 @@ %%PORTDOCS%%%%DOCSDIR%%/icewm-8.html %%PORTDOCS%%%%DOCSDIR%%/icewm-9.html %%PORTDOCS%%%%DOCSDIR%%/icewm.html +%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%% %%GNOMEDESKTOP%%share/gnome/wm-properties/IceWM.desktop %%DATADIR%%/icons/app_16x16.xpm %%DATADIR%%/icons/app_32x32.xpm >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104221253.p3MCreeE064404>