Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2024 11:05:22 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: 48a9263b9c8d - main - games/ponscripter-07th-mod: Move man pages to share/man
Message-ID:  <202403091105.429B5MT8082451@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=48a9263b9c8da2f289f78fee6183905b9ec4f4bf

commit 48a9263b9c8da2f289f78fee6183905b9ec4f4bf
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-09 10:38:31 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-09 11:04:53 +0000

    games/ponscripter-07th-mod: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 games/ponscripter-07th-mod/Makefile              |  9 +++++----
 games/ponscripter-07th-mod/files/patch-configure | 21 +++++++++++++++------
 2 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/games/ponscripter-07th-mod/Makefile b/games/ponscripter-07th-mod/Makefile
index a89adea580e0..3c84b8e05c8e 100644
--- a/games/ponscripter-07th-mod/Makefile
+++ b/games/ponscripter-07th-mod/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	ponscripter
 DISTVERSIONPREFIX=	v
 DISTVERSION=	4.0.0
+PORTREVISION=	1
 CATEGORIES=	games
 PKGNAMESUFFIX=	-${GH_ACCOUNT}
 
@@ -42,10 +43,10 @@ OPTIONS_DEFAULT=MANPAGES NOTIFY ${MACHINE_CPU:Msoftfp:C/.+/TREMOR/}
 MANPAGES_BUILD_DEPENDS=	xmlto:textproc/xmlto
 MANPAGES_CONFIGURE_OFF=	--no-docs
 MANPAGES_PLIST_FILES=\
-	man/man6/ponscr.6.gz \
-	man/man7/ponscr-ext.7.gz \
-	man/man7/ponscr-syntax.7.gz \
-	man/man7/ponscripter.7.gz
+	share/man/man6/ponscr.6.gz \
+	share/man/man7/ponscr-ext.7.gz \
+	share/man/man7/ponscr-syntax.7.gz \
+	share/man/man7/ponscripter.7.gz
 
 NOTIFY_LIB_DEPENDS=	libnotify.so:devel/libnotify
 NOTIFY_USES=		gnome
diff --git a/games/ponscripter-07th-mod/files/patch-configure b/games/ponscripter-07th-mod/files/patch-configure
index db35b556bcb1..32a51d470b8f 100644
--- a/games/ponscripter-07th-mod/files/patch-configure
+++ b/games/ponscripter-07th-mod/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig	2020-03-31 11:10:53 UTC
+--- configure.orig	2023-09-29 02:38:19 UTC
 +++ configure
-@@ -60,7 +60,7 @@ LOCAL_SAVEDIR=false
+@@ -61,7 +61,7 @@ SMPEG_CONFIG=smpeg2-config
  
  SDL_CONFIG=sdl2-config
  SMPEG_CONFIG=smpeg2-config
@@ -9,7 +9,7 @@
  EXTLIB=./extlib
  SRC=src
  MAKEFILE=$SRC/Makefile
-@@ -637,7 +637,7 @@ then
+@@ -624,7 +624,7 @@ then
  	_EOF
      INTERNAL_SDL_MIXER=true
      $CXX `$SDL_CONFIG --cflags` test.cc `$SDL_CONFIG --libs` -lSDL2_mixer -o mtest >/dev/null 2>&1
@@ -18,7 +18,7 @@
      case $? in
      0) echo "yes"; INTERNAL_SDL_MIXER=false ;;
      1) echo "no MP3" ;; 2) echo "no Ogg" ;; 3) echo "no Ogg or MP3" ;;
-@@ -725,7 +725,7 @@ then
+@@ -712,7 +712,7 @@ else
      FREETYPE_CONFIG=$EXTLIB/bin/freetype-config
  else
      $echo_n "Checking for system Freetype... ${nobr}"
@@ -27,7 +27,7 @@
      if [ -z "$VER" ]; then
  	FREETYPE_CONFIG=freetype2-config
  	VER=`($FREETYPE_CONFIG --ftversion) 2>/dev/null`
-@@ -780,7 +780,7 @@ fi
+@@ -770,7 +770,7 @@ if $WITH_LIBNOTIFY; then
  
  if $WITH_LIBNOTIFY; then
    $echo_n "Checking for system libnotify... ${nobr}"
@@ -36,7 +36,7 @@
      echo "yes"
      WITH_LIBNOTIFY=true
    else
-@@ -865,9 +865,8 @@ NOTIFYLIBS=
+@@ -855,9 +855,8 @@ then
  GTKLIBS=
  if $WITH_LIBNOTIFY
  then
@@ -48,3 +48,12 @@
    OURDEFS="$OURDEFS -DLIBNOTIFY"
  fi
  
+@@ -1194,7 +1193,7 @@ install: install-bin
+ 	util/install-sh -c $STRIPFLAG $SRC/\$(TARGET) \$(PREFIX)/bin/\$(TARGET)
+ 
+ install: install-bin
+-	util/install-man install \$(PREFIX) doc/*.[0-9]
++	util/install-man install \$(PREFIX)/share doc/*.[0-9]
+ 
+ uninstall:
+ 	\$(RM) \$(PREFIX)/bin/\$(TARGET)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403091105.429B5MT8082451>