git: c2788e7feb8e - main - x11/bgs: stop uneeded patching
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Jan 2024 08:28:37 UTC
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=c2788e7feb8e5051e1960df8a1e2ace0004a2b4c commit c2788e7feb8e5051e1960df8a1e2ace0004a2b4c Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2024-01-11 08:27:56 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2024-01-11 08:27:56 +0000 x11/bgs: stop uneeded patching Use MAKE_ARGS to make it respect prefix While move manpages from man to share/man --- x11/bgs/Makefile | 5 ++++- x11/bgs/files/patch-config.mk | 13 ------------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/x11/bgs/Makefile b/x11/bgs/Makefile index 3cfaa195db09..5862aa8d9622 100644 --- a/x11/bgs/Makefile +++ b/x11/bgs/Makefile @@ -1,6 +1,7 @@ PORTNAME= bgs DISTVERSIONPREFIX= v DISTVERSION= 0.8 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= ports@FreeBSD.org @@ -17,8 +18,10 @@ USE_XORG= x11 xinerama USE_GITHUB= yes GH_ACCOUNT= Gottox +MAKE_ARGS= PREFIX="${PREFIX}" + PLIST_FILES= bin/bgs \ - man/man1/bgs.1.gz + share/man/man1/bgs.1.gz post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bgs diff --git a/x11/bgs/files/patch-config.mk b/x11/bgs/files/patch-config.mk deleted file mode 100644 index cbc065bd7246..000000000000 --- a/x11/bgs/files/patch-config.mk +++ /dev/null @@ -1,13 +0,0 @@ ---- config.mk.orig 2021-01-04 14:17:43 UTC -+++ config.mk -@@ -4,8 +4,8 @@ VERSION = 0.8 - # Customize below to fit your system - - # paths --PREFIX = /usr/local --MANPREFIX = ${PREFIX}/share/man -+PREFIX ?= /usr/local -+MANPREFIX = ${PREFIX}/man - - # Xinerama, comment if you don't want it - XINERAMALIBS = -lXinerama