aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/hextools/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/sysutils/hextools/Makefile b/sysutils/hextools/Makefile
index 44f8f3adbc48..c9c869d20b98 100644
--- a/sysutils/hextools/Makefile
+++ b/sysutils/hextools/Makefile
@@ -10,8 +10,7 @@ COMMENT= Useful tools for dealing with hex files
NO_WRKSUBDIR=yes
-MAN1= bin2hex.1 hex2bin.1
-PLIST_FILES= bin/hex2bin bin/bin2hex
+PLIST_FILES= bin/hex2bin bin/bin2hex man/man1/bin2hex.1 man/man1/hex2bin.1
ALL_TARGET= build
#not strictly true - it uses a self-styled license
@@ -19,11 +18,9 @@ ALL_TARGET= build
NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/hex2bin ${PREFIX}/bin/hex2bin
- ${INSTALL_PROGRAM} ${WRKSRC}/hexdump ${PREFIX}/bin/bin2hex
-.if !defined(NO_INSTALL_MANPAGES)
- ${INSTALL_MAN} ${WRKSRC}/hex2bin.1 ${MANPREFIX}/man/man1/hex2bin.1
- ${INSTALL_MAN} ${WRKSRC}/hexdump.1 ${MANPREFIX}/man/man1/bin2hex.1
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/hex2bin ${STAGEDIR}${PREFIX}/bin/hex2bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/hexdump ${STAGEDIR}${PREFIX}/bin/bin2hex
+ ${INSTALL_MAN} ${WRKSRC}/hex2bin.1 ${STAGEDIR}${MANPREFIX}/man/man1/hex2bin.1
+ ${INSTALL_MAN} ${WRKSRC}/hexdump.1 ${STAGEDIR}${MANPREFIX}/man/man1/bin2hex.1
.include <bsd.port.mk>