svn commit: r549819 - head/sysutils/hexpeek
Stefan Eßer
se at FreeBSD.org
Wed Sep 23 18:55:28 UTC 2020
Author: se
Date: Wed Sep 23 18:55:27 2020
New Revision: 549819
URL: https://svnweb.freebsd.org/changeset/ports/549819
Log:
Improve port's Makefile:
- use LOCALBASE instead of PREFIX in reference to local library directory
- install man-page to share/man/man1 instead of man/man1
- use DISTVERSIONPREFIX instead of complex DISTNAME specification
Submitted by: 0mp
Modified:
head/sysutils/hexpeek/Makefile
Modified: head/sysutils/hexpeek/Makefile
==============================================================================
--- head/sysutils/hexpeek/Makefile Wed Sep 23 18:53:53 2020 (r549818)
+++ head/sysutils/hexpeek/Makefile Wed Sep 23 18:55:27 2020 (r549819)
@@ -3,9 +3,10 @@
PORTNAME= hexpeek
DISTVERSION= 1.0.20200804
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://www.hexpeek.com/releases/${DISTNAME}/
-DISTNAME= ${PORTNAME}-v${PORTVERSION}
+DISTVERSIONPREFIX= v
MAINTAINER= se at freebsd.org
COMMENT= Hex file editor
@@ -15,13 +16,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= tar:bzip2 libedit ncurses
-CFLAGS+= -Isrc -D_WITH_GETLINE -L${PREFIX}/lib
+CFLAGS+= -Isrc -D_WITH_GETLINE -L${LOCALBASE}/lib
PLIST_FILES= bin/hexdiff bin/hexDump bin/hexpack bin/hexpeek bin/hexview
-PLIST_FILES+= man/man1/hexpeek.1.gz
+PLIST_FILES+= share/man/man1/hexpeek.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/etc/hexpeek.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/etc/hexpeek.1 ${STAGEDIR}${MANPREFIX}/share/man/man1
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list