1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

x11/tabbed: reduce patching

Repect PREFIX and CC by using MAKE_ARGS instead of patching
While here move manpages to share/man
This commit is contained in:
Baptiste Daroussin 2024-01-11 09:54:35 +01:00
parent eabba650ca
commit 16cdb8a0f3
2 changed files with 5 additions and 14 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= tabbed
PORTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://dl.suckless.org/tools/
@ -15,8 +16,9 @@ USE_XORG= x11
OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/tabbed \
man/man1/tabbed.1.gz
share/man/man1/tabbed.1.gz
PORTDOCS= LICENSE README
MAKE_ARGS= PREFIX="${PREFIX}" CC="${CC}"
pre-everything::
@${ECHO_MSG} "You can build tabbed with your own config.h using the TABBED_CONF knob:"

View File

@ -1,11 +1,7 @@
--- config.mk.orig 2014-01-21 18:22:03 UTC
+++ config.mk
@@ -5,15 +5,15 @@ VERSION = 0.6
# paths
PREFIX = /usr/local
-MANPREFIX = ${PREFIX}/share/man
+MANPREFIX = ${PREFIX}/man
@@ -8,12 +8,12 @@ MANPREFIX = ${PREFIX}/share/man
MANPREFIX = ${PREFIX}/share/man
# includes and libs
-INCS = -I. -I/usr/include
@ -20,10 +16,3 @@
LDFLAGS = -s ${LIBS}
# Solaris
@@ -21,5 +21,5 @@ LDFLAGS = -s ${LIBS}
#LDFLAGS = ${LIBS}
# compiler and linker
-CC = cc
+CC?= cc