From ee160ce55087d3dd790be59e22f56f66a494758a Mon Sep 17 00:00:00 2001 From: Yasuhiro Kimura Date: Fri, 29 Mar 2024 17:19:30 +0900 Subject: [PATCH] x11/lilyterm: Move man page to share/man Approved by: portmgr (blanket) --- x11/lilyterm/Makefile | 2 +- x11/lilyterm/files/patch-configure | 20 ++++++++++++++++++++ x11/lilyterm/pkg-plist | 2 +- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 x11/lilyterm/files/patch-configure diff --git a/x11/lilyterm/Makefile b/x11/lilyterm/Makefile index b0eb75d2cef52..0cc7b2be8b533 100644 --- a/x11/lilyterm/Makefile +++ b/x11/lilyterm/Makefile @@ -1,7 +1,7 @@ PORTNAME= lilyterm DISTVERSIONPREFIX= v DISTVERSION= 0.9.9.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 MAINTAINER= jwb@FreeBSD.org diff --git a/x11/lilyterm/files/patch-configure b/x11/lilyterm/files/patch-configure new file mode 100644 index 0000000000000..69f66fdd7ea85 --- /dev/null +++ b/x11/lilyterm/files/patch-configure @@ -0,0 +1,20 @@ +--- configure.orig 2013-02-27 09:04:56 UTC ++++ configure +@@ -365,7 +365,7 @@ if [ $BSD -eq 1 ]; then + $ECHO " GTK = $GTK" + $ECHO " VTE = $VTE" + if [ $BSD -eq 1 ]; then +- IMPORTANT " MANDIR = \$(PREFIX)/man/man1\n" ++ IMPORTANT " MANDIR = \$(PREFIX)/share/man/man1\n" + IMPORTANT " EXAMPLES_DIR = \$(DATADIR)/examples/\$(BINARY)\n" + fi + if [ "$GNOME_CONTROL_CENTER" = 'Y' ]; then +@@ -386,7 +386,7 @@ if [ $BSD -eq 1 ]; then + $ECHO "PREFIX = $PREFIX" >> .config + $ECHO "ETCDIR = $ETCDIR" >> .config + if [ $BSD -eq 1 ]; then +- $ECHO "MANDIR = \$(PREFIX)/man/man1" >> .config ++ $ECHO "MANDIR = \$(PREFIX)/share/man/man1" >> .config + $ECHO "EXAMPLES_DIR = \$(DATADIR)/examples/\$(BINARY)" >> .config + fi + $ECHO "NLS = $NLS" >> .config diff --git a/x11/lilyterm/pkg-plist b/x11/lilyterm/pkg-plist index 539776a160d6a..d04eb2ef042c9 100644 --- a/x11/lilyterm/pkg-plist +++ b/x11/lilyterm/pkg-plist @@ -1,6 +1,5 @@ bin/lilyterm @sample etc/xdg/lilyterm.conf.sample -man/man1/lilyterm.1.gz share/applications/lilyterm.desktop %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/COPYING @@ -18,5 +17,6 @@ share/applications/lilyterm.desktop %%NLS%%share/locale/uk/LC_MESSAGES/lilyterm.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/lilyterm.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/lilyterm.mo +share/man/man1/lilyterm.1.gz share/pixmaps/lilyterm.png share/pixmaps/lilyterm.xpm