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
|
PORTNAME= wmutils-opt
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
DISTVERSION= 1.0
|
DISTVERSION= 1.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= x11
|
CATEGORIES= x11
|
||||||
|
|
||||||
MAINTAINER= dmgk@FreeBSD.org
|
MAINTAINER= dmgk@FreeBSD.org
|
||||||
@ -17,6 +18,8 @@ USE_GITHUB= yes
|
|||||||
GH_ACCOUNT= wmutils
|
GH_ACCOUNT= wmutils
|
||||||
GH_PROJECT= opt
|
GH_PROJECT= opt
|
||||||
|
|
||||||
|
MAKE_ARGS= PREFIX="${PREFIX}" CC="${CC}"
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
|
||||||
|
|
||||||
|
@ -1,11 +1,6 @@
|
|||||||
--- config.mk.orig 2016-10-04 08:01:36 UTC
|
--- config.mk.orig 2016-10-04 08:01:36 UTC
|
||||||
+++ config.mk
|
+++ config.mk
|
||||||
@@ -1,8 +1,8 @@
|
@@ -4,5 +4,5 @@ LD = $(CC)
|
||||||
-PREFIX = /usr
|
|
||||||
-MANPREFIX = $(PREFIX)/share/man
|
|
||||||
+PREFIX ?= /usr/local
|
|
||||||
+MANPREFIX = $(PREFIX)/man
|
|
||||||
|
|
||||||
CC = cc
|
CC = cc
|
||||||
LD = $(CC)
|
LD = $(CC)
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ bin/chwb2
|
|||||||
bin/wew
|
bin/wew
|
||||||
bin/wname
|
bin/wname
|
||||||
bin/xmmv
|
bin/xmmv
|
||||||
man/man1/chwb2.1.gz
|
share/man/man1/chwb2.1.gz
|
||||||
man/man1/wew.1.gz
|
share/man/man1/wew.1.gz
|
||||||
man/man1/wname.1.gz
|
share/man/man1/wname.1.gz
|
||||||
man/man1/xmmv.1.gz
|
share/man/man1/xmmv.1.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user