Skip to content

Commit

Permalink
math/gh-bc: Sanitize MANPREFIX
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Jan 21, 2024
1 parent f2c82ce commit 7b4ba28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions math/gh-bc/Makefile
@@ -1,5 +1,6 @@
PORTNAME= bc
PORTVERSION= 6.7.5
PORTREVISION= 1
CATEGORIES= math lang
MASTER_SITES= https://github.com/gavinhoward/bc/releases/download/${PORTVERSION}/
PKGNAMEPREFIX= gh-
Expand Down Expand Up @@ -41,8 +42,8 @@ pre-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/bc ${STAGEDIR}${PREFIX}/bin/
${LN} ${STAGEDIR}${PREFIX}/bin/bc ${STAGEDIR}${PREFIX}/bin/dc
${INSTALL_MAN} ${WRKSRC}/manuals/bc.1 ${STAGEDIR}${MANPREFIX}/share/man/man1
${INSTALL_MAN} ${WRKSRC}/manuals/dc.1 ${STAGEDIR}${MANPREFIX}/share/man/man1
${INSTALL_MAN} ${WRKSRC}/manuals/bc.1 ${STAGEDIR}${PREFIX}/share/man/man1
${INSTALL_MAN} ${WRKSRC}/manuals/dc.1 ${STAGEDIR}${PREFIX}/share/man/man1
${MKDIR} ${STAGEDIR}${PREFIX}/share/nls/C
${WRKSRC}/scripts/locale_install.sh ${STAGEDIR}${PREFIX}/share/nls/%L/%N.cat ${PORTNAME}
${MV} ${STAGEDIR}${PREFIX}/share/nls/en_US/bc.cat ${STAGEDIR}${PREFIX}/share/nls/C/
Expand Down

0 comments on commit 7b4ba28

Please sign in to comment.