aboutsummaryrefslogtreecommitdiff
path: root/textproc/scdoc
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-02-28 11:37:02 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-02-28 11:37:02 +0000
commitdeefac0833cfe618d830692166276ee7197fe3e7 (patch)
treea8b45da426027690d03aee6a588bcc9f1302abcd /textproc/scdoc
parentd5bd906c1abb360256730371f945280199960ca9 (diff)
downloadports-deefac0833cfe618d830692166276ee7197fe3e7.tar.gz
ports-deefac0833cfe618d830692166276ee7197fe3e7.zip
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.
Notes
Notes: svn path=/head/; revision=494142
Diffstat (limited to 'textproc/scdoc')
-rw-r--r--textproc/scdoc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/textproc/scdoc/Makefile b/textproc/scdoc/Makefile
index 134104f1a7aa..21bfa5c1fe4d 100644
--- a/textproc/scdoc/Makefile
+++ b/textproc/scdoc/Makefile
@@ -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},' \