aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-21 22:02:39 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-21 22:32:09 +0000
commitff994dae79e21a968ae8cdeb76f79fc43e2e9ff4 (patch)
treeeee1b617bf63d2bb49b666de6ef0e16490d20663
parent1e02072eb8be2f48ba98b44422626f540ef818b3 (diff)
downloadports-ff994dae79e21a968ae8cdeb76f79fc43e2e9ff4.tar.gz
ports-ff994dae79e21a968ae8cdeb76f79fc43e2e9ff4.zip
lang/crystal: Sanitize MANPREFIX
Approved by: portmgr (blanket)
-rw-r--r--lang/crystal/Makefile3
-rw-r--r--lang/crystal/pkg-plist2
2 files changed, 3 insertions, 2 deletions
diff --git a/lang/crystal/Makefile b/lang/crystal/Makefile
index 989bd3f0f998..174e4f0475b9 100644
--- a/lang/crystal/Makefile
+++ b/lang/crystal/Makefile
@@ -1,5 +1,6 @@
PORTNAME= crystal
DISTVERSION= 1.10.1
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= https://github.com/dmgk/crystal-bootstrap/releases/download/${BOOTSTRAP_VERSION}/:bootstrap \
LOCAL/dmgk/crystal:bootstrap
@@ -107,7 +108,7 @@ post-build-DOCS-on:
do-install:
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/.build/crystal ${STAGEDIR}${PREFIX}/bin/
- ${INSTALL_MAN} ${INSTALL_WRKSRC}/man/crystal.1 ${STAGEDIR}${MANPREFIX}/man/man1/
+ ${INSTALL_MAN} ${INSTALL_WRKSRC}/man/crystal.1 ${STAGEDIR}${PREFIX}/share/man/man1/
(cd ${INSTALL_WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/${PORTNAME})
${MKDIR} ${STAGEDIR}${LOCALBASE}/etc/bash_completion.d
${MKDIR} ${STAGEDIR}${LOCALBASE}/share/zsh/site-functions
diff --git a/lang/crystal/pkg-plist b/lang/crystal/pkg-plist
index e57d3238ed73..e78ae074c34c 100644
--- a/lang/crystal/pkg-plist
+++ b/lang/crystal/pkg-plist
@@ -1407,5 +1407,5 @@ lib/crystal/yaml/schema/core/parser.cr
lib/crystal/yaml/schema/fail_safe.cr
lib/crystal/yaml/serialization.cr
lib/crystal/yaml/to_yaml.cr
-man/man1/crystal.1.gz
+share/man/man1/crystal.1.gz
share/zsh/site-functions/_crystal