svn commit: r494142 - head/textproc/scdoc

Jan Beich jbeich at FreeBSD.org
Thu Feb 28 11:37:03 UTC 2019


Author: jbeich
Date: Thu Feb 28 11:37:02 2019
New Revision: 494142
URL: https://svnweb.freebsd.org/changeset/ports/494142

Log:
  textproc/scdoc: group pkgconfig and man path fixes together
  
  Current pkgconfig and man paths are hier(7) quirks. /usr/local layout
  is only really standardized by FHS. For one, NetBSD dropped /usr/local
  from hier(7) thus PkgSrc doesn't have to engage in pointless patching.

Modified:
  head/textproc/scdoc/Makefile   (contents, props changed)

Modified: head/textproc/scdoc/Makefile
==============================================================================
--- head/textproc/scdoc/Makefile	Thu Feb 28 11:13:35 2019	(r494141)
+++ head/textproc/scdoc/Makefile	Thu Feb 28 11:37:02 2019	(r494142)
@@ -14,7 +14,6 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		gmake
-MAKE_ENV=	PCDIR="${STAGEDIR}${PREFIX}/libdata/pkgconfig"
 TEST_TARGET=	check
 PLIST_FILES=	bin/${PORTNAME} \
 		libdata/pkgconfig/${PORTNAME}.pc \
@@ -23,6 +22,7 @@ PLIST_FILES=	bin/${PORTNAME} \
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,share/man,man,' \
+		-e '/pkgconfig/s,lib,libdata,' \
 		-e '/BIN/s,install -Dm755,${INSTALL_PROGRAM},' \
 		-e '/MAN/s,install -Dm644,${INSTALL_MAN},' \
 		-e '/PC/s,install -Dm644,${INSTALL_DATA},' \


More information about the svn-ports-all mailing list