mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
* Updated 0.5.8
* Added missing depend * Sorted Uses section for portlint Changelog: https://github.com/baskerville/sxhkd/compare/0.5.7...0.5.8 PR: 220789 Submitted by: Oleh Hushchenkov <gor@clogic.com.ua> (maintainer) Reviewed by: matthew (mentor), mat Approved by: matthew (mentor) Differential Revision: https://reviews.freebsd.org/D11754
This commit is contained in:
parent
1d9eaa4bc2
commit
e6c664ecca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=446846
@ -1,8 +1,8 @@
|
||||
# Created by: Anton Törnqvist <antont@inbox.lv>
|
||||
# Created by: Anton Tornqvist <antont@inbox.lv>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sxhkd
|
||||
PORTVERSION= 0.5.7
|
||||
PORTVERSION= 0.5.8
|
||||
CATEGORIES= x11
|
||||
|
||||
MAINTAINER= gor@clogic.com.ua
|
||||
@ -13,11 +13,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libxcb-keysyms.so:x11/xcb-util-keysyms
|
||||
|
||||
USES= gmake pkgconfig
|
||||
|
||||
USE_XORG= xcb
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= baskerville
|
||||
|
||||
USES= gmake pkgconfig
|
||||
|
||||
PORTEXAMPLES= *
|
||||
PLIST_FILES= bin/sxhkd \
|
||||
man/man1/sxhkd.1.gz
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1477912763
|
||||
SHA256 (baskerville-sxhkd-0.5.7_GH0.tar.gz) = 21b8bfea2a83f019062dfea53051e2bc61896595fc788c6c7b5e3fd9354b279f
|
||||
SIZE (baskerville-sxhkd-0.5.7_GH0.tar.gz) = 34472
|
||||
TIMESTAMP = 1500267066
|
||||
SHA256 (baskerville-sxhkd-0.5.8_GH0.tar.gz) = d7df48d7d301d1cf06f45172bcfe712510e98dcdbdb896af662cf979f9666855
|
||||
SIZE (baskerville-sxhkd-0.5.8_GH0.tar.gz) = 34566
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- Makefile.orig 2016-10-30 12:28:09 UTC
|
||||
--- Makefile.orig 2017-07-14 18:57:47 UTC
|
||||
+++ Makefile
|
||||
@@ -2,14 +2,14 @@ NAME = sxhkd
|
||||
@@ -2,14 +2,15 @@ OUT = sxhkd
|
||||
VERCMD ?= git describe 2> /dev/null
|
||||
VERSION := $(shell $(VERCMD) || cat VERSION)
|
||||
|
||||
@ -13,30 +13,31 @@
|
||||
PREFIX ?= /usr/local
|
||||
-BINPREFIX ?= $(PREFIX)/bin
|
||||
-MANPREFIX ?= $(PREFIX)/share/man
|
||||
-DOCPREFIX ?= $(PREFIX)/share/doc/$(NAME)
|
||||
-DOCPREFIX ?= $(PREFIX)/share/doc/$(OUT)
|
||||
+BINPREFIX = $(PREFIX)/bin
|
||||
+MANPREFIX = $(PREFIX)/man
|
||||
+EXPREFIX = $(PREFIX)/share/examples/$(NAME)
|
||||
+DOCPREFIX = $(PREFIX)/share/doc/$(OUT)
|
||||
+EXPREFIX = $(PREFIX)/share/examples/$(OUT)
|
||||
|
||||
SRC := $(wildcard *.c)
|
||||
OBJ := $(SRC:.c=.o)
|
||||
@@ -28,11 +28,15 @@ $(NAME): $(OBJ)
|
||||
all: $(OUT)
|
||||
|
||||
@@ -28,11 +29,15 @@ $(OUT): $(OBJ)
|
||||
|
||||
install:
|
||||
mkdir -p "$(DESTDIR)$(BINPREFIX)"
|
||||
- cp -pf $(NAME) "$(DESTDIR)$(BINPREFIX)"
|
||||
+ ${BSD_INSTALL_PROGRAM} $(NAME) "$(DESTDIR)$(BINPREFIX)"
|
||||
- cp -pf $(OUT) "$(DESTDIR)$(BINPREFIX)"
|
||||
+ ${BSD_INSTALL_PROGRAM} $(OUT) "$(DESTDIR)$(BINPREFIX)"
|
||||
mkdir -p "$(DESTDIR)$(MANPREFIX)"/man1
|
||||
- cp -p doc/$(NAME).1 "$(DESTDIR)$(MANPREFIX)"/man1
|
||||
- cp -p doc/$(OUT).1 "$(DESTDIR)$(MANPREFIX)"/man1
|
||||
- mkdir -p "$(DESTDIR)$(DOCPREFIX)"
|
||||
- cp -pr examples "$(DESTDIR)$(DOCPREFIX)"/examples
|
||||
+ ${BSD_INSTALL_MAN} doc/$(NAME).1 "$(DESTDIR)$(MANPREFIX)"/man1
|
||||
+ mkdir -p "$(DESTDIR)$(EXPREFIX)/background_shell"
|
||||
+ ${BSD_INSTALL_MAN} doc/$(OUT).1 "$(DESTDIR)$(MANPREFIX)"/man1
|
||||
+ mkdir -p "$(DESTDIR)$(EXPREFIX)"/background_shell
|
||||
+ ${BSD_INSTALL_DATA} examples/background_shell/* \
|
||||
+ "$(DESTDIR)$(EXPREFIX)/background_shell"
|
||||
+ mkdir -p "$(DESTDIR)$(EXPREFIX)/notification"
|
||||
+ "$(DESTDIR)$(EXPREFIX)"/background_shell
|
||||
+ mkdir -p "$(DESTDIR)$(EXPREFIX)"/notification
|
||||
+ ${BSD_INSTALL_DATA} examples/notification/* \
|
||||
+ "$(DESTDIR)$(EXPREFIX)/notification"
|
||||
+ "$(DESTDIR)$(EXPREFIX)"/notification
|
||||
|
||||
uninstall:
|
||||
rm -f "$(DESTDIR)$(BINPREFIX)"/$(NAME)
|
||||
rm -f "$(DESTDIR)$(BINPREFIX)"/$(OUT)
|
||||
|
Loading…
Reference in New Issue
Block a user