Date: Wed, 20 Mar 2024 13:20:00 GMT From: Nuno Teixeira <eduardo@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 08f73de5bd0c - main - net-mgmt/subcalc: Move man pages to share/man Message-ID: <202403201320.42KDK0Es001178@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=08f73de5bd0c0e42de1a1c8ff4b56b0e79c69434 commit 08f73de5bd0c0e42de1a1c8ff4b56b0e79c69434 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2024-03-20 13:15:49 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2024-03-20 13:19:32 +0000 net-mgmt/subcalc: Move man pages to share/man Approved by: portmgr (blanket) --- net-mgmt/subcalc/Makefile | 3 ++- net-mgmt/subcalc/files/patch-Makefile | 12 ++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/net-mgmt/subcalc/Makefile b/net-mgmt/subcalc/Makefile index c3731d5b7938..3b2915c4583f 100644 --- a/net-mgmt/subcalc/Makefile +++ b/net-mgmt/subcalc/Makefile @@ -1,6 +1,7 @@ PORTNAME= subcalc DISTVERSIONPREFIX= v DISTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= csjp@FreeBSD.org @@ -10,6 +11,6 @@ WWW= http://www.seccuris.com USE_GITHUB= yes GH_ACCOUNT= csjayp -PLIST_FILES= bin/subcalc man/man1/subcalc.1.gz +PLIST_FILES= bin/subcalc share/man/man1/subcalc.1.gz .include <bsd.port.mk> diff --git a/net-mgmt/subcalc/files/patch-Makefile b/net-mgmt/subcalc/files/patch-Makefile index 363210787d9e..2169a11d559c 100644 --- a/net-mgmt/subcalc/files/patch-Makefile +++ b/net-mgmt/subcalc/files/patch-Makefile @@ -1,6 +1,6 @@ ---- Makefile.orig 2018-06-30 14:11:02.000000000 -0700 -+++ Makefile 2020-03-18 08:43:27.327184000 -0700 -@@ -13,14 +13,14 @@ +--- Makefile.orig 2018-06-30 21:11:02 UTC ++++ Makefile +@@ -13,14 +13,14 @@ install: $(CC) -o $@ $(OBJS) $(LIBS) $(CFLAGS) install: @@ -10,13 +10,13 @@ - cp subcalc.1 $(PREFIX)/share/man/man1/ + [ -d $(DESTDIR)$(PREFIX)/bin ] || mkdir -p $(DESTDIR)$(PREFIX)/bin + cp subcalc $(DESTDIR)$(PREFIX)/bin -+ [ -d $(DESTDIR)$(PREFIX)/man/man1/ ] || mkdir -p $(DESTDIR)$(PREFIX)/man/man1/ -+ cp subcalc.1 $(DESTDIR)$(PREFIX)/man/man1/ ++ [ -d $(DESTDIR)$(PREFIX)/share/man/man1/ ] || mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1/ ++ cp subcalc.1 $(DESTDIR)$(PREFIX)/share/man/man1/ deinstall: - rm -f $(PREFIX)/share/man/man1/subcalc.1.gz - rm -f $(PREFIX)/bin/subcalc -+ rm -f $(DESTDIR)$(PREFIX)/man/man1/subcalc.1.gz ++ rm -f $(DESTDIR)$(PREFIX)/share/man/man1/subcalc.1.gz + rm -f $(DESTDIR)$(PREFIX)/bin/subcalc clean:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403201320.42KDK0Es001178>