git: 90e296f4392e - main - cad/fritzing: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 13:24:20 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=90e296f4392ebabc6ee71de62330894cbbdd3d4a

commit 90e296f4392ebabc6ee71de62330894cbbdd3d4a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-22 13:09:18 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-22 13:23:52 +0000

    cad/fritzing: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 cad/fritzing/Makefile                |  2 +-
 cad/fritzing/files/patch-phoenix.pro | 12 ++++--------
 cad/fritzing/pkg-plist               |  2 +-
 3 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/cad/fritzing/Makefile b/cad/fritzing/Makefile
index 93fe3fdbfc6b..5fee2298bcb9 100644
--- a/cad/fritzing/Makefile
+++ b/cad/fritzing/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	fritzing
 PORTVERSION=	0.9.2
 DISTVERSIONSUFFIX=	b
-PORTREVISION=	20
+PORTREVISION=	21
 CATEGORIES=	cad
 
 MAINTAINER=	lenzi.sergio@gmail.com
diff --git a/cad/fritzing/files/patch-phoenix.pro b/cad/fritzing/files/patch-phoenix.pro
index 10e6c0b8d49f..333e9408db20 100644
--- a/cad/fritzing/files/patch-phoenix.pro
+++ b/cad/fritzing/files/patch-phoenix.pro
@@ -1,4 +1,4 @@
---- phoenix.pro.orig	2016-01-31 22:20:45 UTC
+--- phoenix.pro.orig	2024-02-22 13:06:37 UTC
 +++ phoenix.pro
 @@ -31,7 +31,7 @@
  # QTPLUGIN  += qjpeg qsqlite
@@ -9,7 +9,7 @@
  win32 {
  # release build using msvc 2010 needs to use Multi-threaded (/MT) for the code generation/runtime library option
  # release build using msvc 2010 needs to add msvcrt.lib;%(IgnoreSpecificDefaultLibraries) to the linker/no default libraries option
-@@ -92,7 +92,7 @@ macx {
+@@ -92,7 +92,7 @@ unix {
  unix {
      !macx { # unix is defined on mac
          HARDWARE_PLATFORM = $$system(uname -m)
@@ -27,12 +27,8 @@
          }
          BINDIR = $$PREFIX/bin
          DATADIR = $$PREFIX/share
-@@ -114,11 +114,11 @@ unix {
-         desktop.path = $$DATADIR/applications
-         desktop.files += fritzing.desktop
- 
--        manpage.path = $$DATADIR/man/man1
-+        manpage.path = /usr/local/man/man1
+@@ -117,8 +117,8 @@ unix {
+         manpage.path = $$DATADIR/man/man1
          manpage.files += Fritzing.1
  
 -        icon.path = $$DATADIR/icons
diff --git a/cad/fritzing/pkg-plist b/cad/fritzing/pkg-plist
index 01eaa29322b6..31cc641b3a4d 100644
--- a/cad/fritzing/pkg-plist
+++ b/cad/fritzing/pkg-plist
@@ -1,5 +1,5 @@
 bin/Fritzing
-man/man1/Fritzing.1.gz
+share/man/man1/Fritzing.1.gz
 share/applications/fritzing.desktop
 share/icons/hicolor/64x64/apps/fritzing.png
 @dir %%DATADIR%%/parts/core