Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 2020 16:56:48 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r528980 - head/x11/wlogout
Message-ID:  <202003231656.02NGumNv086768@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Mar 23 16:56:48 2020
New Revision: 528980
URL: https://svnweb.freebsd.org/changeset/ports/528980

Log:
  x11/wlogout: respect PREFIX != /usr/local
  
  Not quite correct as BSD hier and GNU hier don't agree on what goes
  into /usr/local. FreeBSD support for PREFIX == /usr is very poor, so
  simply redirect /usr/local.

Modified:
  head/x11/wlogout/Makefile   (contents, props changed)

Modified: head/x11/wlogout/Makefile
==============================================================================
--- head/x11/wlogout/Makefile	Mon Mar 23 16:53:46 2020	(r528979)
+++ head/x11/wlogout/Makefile	Mon Mar 23 16:56:48 2020	(r528980)
@@ -24,4 +24,10 @@ OPTIONS_SUB=	yes
 MANPAGES_BUILD_DEPENDS=	scdoc:textproc/scdoc
 MANPAGES_MESON_ENABLED=	man-pages
 
+post-patch:
+	@${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \
+		${WRKSRC}/main.c \
+		${WRKSRC}/man/${PORTNAME}.1.scd \
+		${WRKSRC}/style.css
+
 .include <bsd.port.mk>



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