From owner-svn-ports-head@freebsd.org Wed Sep 23 18:55:28 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 953A1423472; Wed, 23 Sep 2020 18:55:28 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BxS6m3QXtz47hc; Wed, 23 Sep 2020 18:55:28 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5A06B150EA; Wed, 23 Sep 2020 18:55:28 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08NItS7h029154; Wed, 23 Sep 2020 18:55:28 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08NItS6Z029153; Wed, 23 Sep 2020 18:55:28 GMT (envelope-from se@FreeBSD.org) Message-Id: <202009231855.08NItS6Z029153@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: =?UTF-8?Q?Stefan_E=c3=9fer?= Date: Wed, 23 Sep 2020 18:55:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549819 - head/sysutils/hexpeek X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: head/sysutils/hexpeek X-SVN-Commit-Revision: 549819 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2020 18:55:28 -0000 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@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