mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
x11/wmutils-opt: reduce patching
Respect PREFIX and CC via MAKE_ARGS, while here move manpages to share/man
This commit is contained in:
parent
3f210b79f1
commit
a221529ab0
@ -1,6 +1,7 @@
|
||||
PORTNAME= wmutils-opt
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11
|
||||
|
||||
MAINTAINER= dmgk@FreeBSD.org
|
||||
@ -17,6 +18,8 @@ USE_GITHUB= yes
|
||||
GH_ACCOUNT= wmutils
|
||||
GH_PROJECT= opt
|
||||
|
||||
MAKE_ARGS= PREFIX="${PREFIX}" CC="${CC}"
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
|
||||
|
||||
|
@ -1,11 +1,6 @@
|
||||
--- config.mk.orig 2016-10-04 08:01:36 UTC
|
||||
+++ config.mk
|
||||
@@ -1,8 +1,8 @@
|
||||
-PREFIX = /usr
|
||||
-MANPREFIX = $(PREFIX)/share/man
|
||||
+PREFIX ?= /usr/local
|
||||
+MANPREFIX = $(PREFIX)/man
|
||||
|
||||
@@ -4,5 +4,5 @@ LD = $(CC)
|
||||
CC = cc
|
||||
LD = $(CC)
|
||||
|
||||
|
@ -2,7 +2,7 @@ bin/chwb2
|
||||
bin/wew
|
||||
bin/wname
|
||||
bin/xmmv
|
||||
man/man1/chwb2.1.gz
|
||||
man/man1/wew.1.gz
|
||||
man/man1/wname.1.gz
|
||||
man/man1/xmmv.1.gz
|
||||
share/man/man1/chwb2.1.gz
|
||||
share/man/man1/wew.1.gz
|
||||
share/man/man1/wname.1.gz
|
||||
share/man/man1/xmmv.1.gz
|
||||
|
Loading…
Reference in New Issue
Block a user