summaryrefslogtreecommitdiff
path: root/textproc/scdoc
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-01-20 02:01:42 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-01-20 02:01:42 +0000
commitacae7ed8a23a74fd368552ecaafcd0d75f1c6b88 (patch)
tree5d8aa8f2d76a8e600582d17f58038ba0c3ffd872 /textproc/scdoc
parentgraphics/libavif: add new port (diff)
Simplify port-specific manpages location after r523104
Not all of my ports are covered because: - USES=cmake requires patching devel/cmake to undo BSD-specific defaults (A good example why BSD quirks should stay in ports, not to be upstreamed) - USES=meson and GNU_CONFIGURE require dropping --mandir argument - ponscripter-sekai requires Templates/BSD.local.dist to NOT create PREFIX/man
Notes
Notes: svn path=/head/; revision=523601
Diffstat (limited to 'textproc/scdoc')
-rw-r--r--textproc/scdoc/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/textproc/scdoc/Makefile b/textproc/scdoc/Makefile
index b39423befbe4..5a3065e3f4c0 100644
--- a/textproc/scdoc/Makefile
+++ b/textproc/scdoc/Makefile
@@ -12,13 +12,12 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake
-MAKE_ENV= MANDIR='$$(_INSTDIR)/man' \
- PCDIR='$$(_INSTDIR)/libdata/pkgconfig'
+MAKE_ENV= PCDIR='$$(_INSTDIR)/libdata/pkgconfig'
TEST_TARGET= check
PLIST_FILES= bin/${PORTNAME} \
libdata/pkgconfig/${PORTNAME}.pc \
- man/man1/${PORTNAME}.1.gz \
- man/man5/${PORTNAME}.5.gz
+ share/man/man1/${PORTNAME}.1.gz \
+ share/man/man5/${PORTNAME}.5.gz
post-patch:
@${REINPLACE_CMD} '/-static/d' ${WRKSRC}/Makefile