From a73fb8d45d9c1c4be1fe360ae65970e00d574368 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 15 Jan 2024 14:43:18 -0300 Subject: [PATCH] devel/xmake: Install manpages under share/man Sponsored by: Rubicon Communications, LLC ("Netgate") --- devel/xmake/Makefile | 4 ++-- devel/xmake/files/patch-Makefile | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/devel/xmake/Makefile b/devel/xmake/Makefile index 984bbe6e8dc32..634d7fe3026d4 100644 --- a/devel/xmake/Makefile +++ b/devel/xmake/Makefile @@ -1,6 +1,6 @@ PORTNAME= xmake PORTVERSION= 1.06 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://apollo.backplane.com/xmake/ EXTRACT_SUFX= .tgz @@ -9,7 +9,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Powerful make utility WRKSRC= ${WRKDIR}/xmake -PLIST_FILES= bin/xmake man/man1/xmake.1.gz +PLIST_FILES= bin/xmake share/man/man1/xmake.1.gz post-extract: @${RM} -r ${WRKSRC}/obj diff --git a/devel/xmake/files/patch-Makefile b/devel/xmake/files/patch-Makefile index 06a8830b730bc..51776e3c150cc 100644 --- a/devel/xmake/files/patch-Makefile +++ b/devel/xmake/files/patch-Makefile @@ -1,15 +1,15 @@ ---- ./Makefile.orig 2014-02-19 12:33:07.233262579 +0100 -+++ ./Makefile 2014-02-19 12:33:45.211272300 +0100 -@@ -6,7 +6,7 @@ +--- Makefile.orig 2002-12-11 20:51:25 UTC ++++ Makefile +@@ -6,7 +6,7 @@ IBDIR= $(PREFIX)/bin EXE= xmake PREFIX ?= /usr/local IBDIR= $(PREFIX)/bin -IMDIR= $(PREFIX)/man/man1 -+IMDIR= $(MANPREFIX)/man/man1 ++IMDIR= $(MANPREFIX)/share/man/man1 BSD_INSTALL_PROGRAM ?= install -c -s -m 755 BSD_INSTALL_MAN ?= install -c -m 644 -@@ -19,6 +19,6 @@ +@@ -19,6 +19,6 @@ install: all rm -f $(OBJS) $(EXE) install: all