Skip to content

Commit

Permalink
devel/roboctl: 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 e54574b commit 4b419e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions devel/roboctl/Makefile
@@ -1,5 +1,6 @@
PORTNAME= roboctl
PORTVERSION= 0.3.8
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://acadix.biz/Ports/distfiles/

Expand All @@ -13,7 +14,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libgamepad.a:devel/libgamepad

MAKE_ENV= EXTRALIBS=-lbluetooth
MAKE_FLAGS+= PREFIX=${STAGEDIR}${PREFIX} \
MANPREFIX=${STAGEDIR}${PREFIX}
MANPREFIX=${STAGEDIR}${PREFIX}/share
MAKE_JOBS_UNSAFE= yes

USES= tar:xz
Expand All @@ -30,6 +31,6 @@ post-install:
(cd ${WRKSRC}/Commands/NXTRemote; ${MAKE})
${INSTALL_PROGRAM} ${WRKSRC}/Commands/NXTRemote/nxtremote ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/Scripts/lego_bluetooth_config ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/Commands/NXTRemote/nxtremote.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/Commands/NXTRemote/nxtremote.1 ${STAGEDIR}${MANPREFIX}/share/man/man1

.include <bsd.port.mk>
8 changes: 4 additions & 4 deletions devel/roboctl/pkg-plist
Expand Up @@ -10,7 +10,7 @@ include/roboctl/rct_protos.h
include/roboctl/rct_rcx.h
include/roboctl/roboctl.h
lib/libroboctl.a
man/man1/legoctl.1.gz
man/man1/nxtremote.1.gz
man/man1/vexctl.1.gz
man/man3/roboctl.3.gz
share/man/man1/legoctl.1.gz
share/man/man1/nxtremote.1.gz
share/man/man1/vexctl.1.gz
share/man/man3/roboctl.3.gz

0 comments on commit 4b419e6

Please sign in to comment.