mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
comms/qrq: Prevent superfluous man dir creation
This commit is contained in:
parent
d9127276e7
commit
2f6674b90c
1 changed files with 5 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
--- Makefile.orig 2022-01-22 09:18:24 UTC
|
--- Makefile.orig 2022-01-22 09:18:24 UTC
|
||||||
+++ Makefile
|
+++ Makefile
|
||||||
@@ -2,13 +2,15 @@
|
@@ -2,13 +2,15 @@ DESTDIR?=/usr
|
||||||
|
|
||||||
VERSION?=0.3.4
|
VERSION?=0.3.4
|
||||||
DESTDIR?=/usr
|
DESTDIR?=/usr
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
# set to YES if you compile with MINGW32
|
# set to YES if you compile with MINGW32
|
||||||
USE_WIN32=NO
|
USE_WIN32=NO
|
||||||
@@ -27,8 +29,8 @@ endif
|
@@ -27,8 +29,8 @@ ifeq ($(USE_WIN32), YES)
|
||||||
|
|
||||||
ifeq ($(USE_WIN32), YES)
|
ifeq ($(USE_WIN32), YES)
|
||||||
CC=i686-w64-mingw32-gcc-posix
|
CC=i686-w64-mingw32-gcc-posix
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
INSTALL ?= install
|
INSTALL ?= install
|
||||||
@@ -38,7 +40,7 @@ INSTALL ?= install
|
@@ -38,7 +40,7 @@ BUILD_INFO=" Date: $(shell date +%Y-%m-%dT%H:%M:%S%z)\
|
||||||
|
|
||||||
BUILD_INFO=" Date: $(shell date +%Y-%m-%dT%H:%M:%S%z)\n git branch/commit: $(shell if [ x${CI_COMMIT_REF_NAME} != x ]; then echo ${CI_COMMIT_REF_NAME} ; elif [ -e .git ] || [ -e ../.git ]; then git symbolic-ref --short HEAD ; else echo not built from git repository ; fi) / $(shell if [ x${CI_COMMIT_SHA} != x ]; then echo ${CI_COMMIT_SHA}; elif [ -e .git ] || [ -e ../.git ] ; then git rev-parse --verify HEAD ; else echo - ; fi )\n by $(USER)@$(shell hostname -f)\n OS: $(shell uname -s -r -p)\n Compiler: $(shell $(CC) --version | head -1)"
|
BUILD_INFO=" Date: $(shell date +%Y-%m-%dT%H:%M:%S%z)\n git branch/commit: $(shell if [ x${CI_COMMIT_REF_NAME} != x ]; then echo ${CI_COMMIT_REF_NAME} ; elif [ -e .git ] || [ -e ../.git ]; then git symbolic-ref --short HEAD ; else echo not built from git repository ; fi) / $(shell if [ x${CI_COMMIT_SHA} != x ]; then echo ${CI_COMMIT_SHA}; elif [ -e .git ] || [ -e ../.git ] ; then git rev-parse --verify HEAD ; else echo - ; fi )\n by $(USER)@$(shell hostname -f)\n OS: $(shell uname -s -r -p)\n Compiler: $(shell $(CC) --version | head -1)"
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
ifeq ($(USE_CA), YES)
|
ifeq ($(USE_CA), YES)
|
||||||
CC=clang
|
CC=clang
|
||||||
@@ -68,14 +70,14 @@ else ifeq ($(USE_WIN32), YES)
|
@@ -68,14 +70,14 @@ else
|
||||||
OBJECTS=qrq.o qrq.res lib/libncursesw.a
|
OBJECTS=qrq.o qrq.res lib/libncursesw.a
|
||||||
else
|
else
|
||||||
OBJECTS=qrq.o oss.o
|
OBJECTS=qrq.o oss.o
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC) -Wall $(CPPFLAGS) $(CFLAGS) -c $<
|
$(CC) -Wall $(CPPFLAGS) $(CFLAGS) -c $<
|
||||||
@@ -109,28 +111,28 @@ uninstall:
|
@@ -109,28 +111,27 @@ install: qrq
|
||||||
else
|
else
|
||||||
|
|
||||||
install: qrq
|
install: qrq
|
||||||
|
@ -70,7 +70,6 @@
|
||||||
- ${INSTALL} -m 0644 qrqrc $(DESTDIR)/share/qrq/
|
- ${INSTALL} -m 0644 qrqrc $(DESTDIR)/share/qrq/
|
||||||
- ${INSTALL} -m 0644 toplist $(DESTDIR)/share/qrq/
|
- ${INSTALL} -m 0644 toplist $(DESTDIR)/share/qrq/
|
||||||
+ ${INSTALL} -d -v $(DESTDIR)${PREFIX}/share/qrq/
|
+ ${INSTALL} -d -v $(DESTDIR)${PREFIX}/share/qrq/
|
||||||
+ ${INSTALL} -d -v $(DESTDIR)${PREFIX}/man/man1/
|
|
||||||
+ ${INSTALL} -d -v $(DESTDIR)${PREFIX}/bin/
|
+ ${INSTALL} -d -v $(DESTDIR)${PREFIX}/bin/
|
||||||
+ ${INSTALL} -s -m 0755 qrq $(DESTDIR)${PREFIX}/bin/
|
+ ${INSTALL} -s -m 0755 qrq $(DESTDIR)${PREFIX}/bin/
|
||||||
+ ${INSTALL} -m 0755 qrqscore $(DESTDIR)${PREFIX}/bin/
|
+ ${INSTALL} -m 0755 qrqscore $(DESTDIR)${PREFIX}/bin/
|
||||||
|
|
Loading…
Add table
Reference in a new issue