Skip to content

Commit

Permalink
irc/simpleirc: Move manpages to share/man
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
rbgarga committed Jan 18, 2024
1 parent db38494 commit b16bb14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion irc/simpleirc/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= simpleirc
DISTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= http://dl.suckless.org/tools/

Expand All @@ -12,7 +13,7 @@ WWW= http://www.suckless.org/programs/sic.html
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

PLIST_FILES= bin/simpleirc man/man1/simpleirc.1.gz
PLIST_FILES= bin/simpleirc share/man/man1/simpleirc.1.gz
PORTDOCS= README

OPTIONS_DEFINE= DOCS
Expand Down
7 changes: 3 additions & 4 deletions irc/simpleirc/files/patch-Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
--- Makefile.orig 2022-10-04 17:34:08 UTC
+++ Makefile
@@ -4,13 +4,13 @@ NAME = sic
@@ -4,13 +4,13 @@ VERSION = 1.3
VERSION = 1.3

# paths
-PREFIX = /usr/local
-MANPREFIX = ${PREFIX}/share/man
+PREFIX ?= /usr/local
+MANPREFIX = ${PREFIX}/man
MANPREFIX = ${PREFIX}/share/man

# use system flags.
-SIC_CFLAGS = ${CFLAGS}
Expand All @@ -19,7 +18,7 @@

BIN = sic
SRC = ${BIN:=.c}
@@ -45,15 +45,15 @@ dist:
@@ -45,15 +45,15 @@ install: all

install: all
mkdir -p ${DESTDIR}${PREFIX}/bin
Expand Down

0 comments on commit b16bb14

Please sign in to comment.