Skip to content

Commit

Permalink
devel/hare: Move man pages to share/man
Browse files Browse the repository at this point in the history
While here, fix build with poudriere.

HAREC   .cache/hare.ssa
QBE     .cache/hare.s
AS      .cache/hare.o
LD      .bin/hare
HARE    .bin/harec2
Error creating /nonexistent/.cache/hare: Permission denied
*** Error code 255

Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/hare/work/hare-0919412b
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/hare

Approved by:	portmgr (blanket, just fix it)
  • Loading branch information
Yasuhiro Kimura authored and Yasuhiro Kimura committed Mar 20, 2024
1 parent 050ff9f commit dda0309
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion devel/hare/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= hare
PORTVERSION= g20230719
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://git.sr.ht/~sircmpwn/${PORTNAME}/archive/
PKGNAMESUFFIX= -lang
Expand All @@ -21,7 +22,7 @@ BUILD_DEPENDS= harec:lang/harec \
scdoc:textproc/scdoc
RUN_DEPENDS= harec:lang/harec

MAKE_ARGS= ARCH=${ARCH:S/^amd64$/x86_64/} PREFIX=${PREFIX}
MAKE_ARGS= ARCH=${ARCH:S/^amd64$/x86_64/} HARECACHE=${WRKDIR}/.cache/hare PREFIX=${PREFIX}

WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTNAME}

Expand Down
6 changes: 3 additions & 3 deletions devel/hare/files/patch-config.example.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- config.example.mk.orig 2023-07-19 01:21:32.000000000 +0200
+++ config.example.mk 2023-07-19 13:07:52.729248178 +0200
--- config.example.mk.orig 2023-07-18 23:21:32 UTC
+++ config.example.mk
@@ -1,21 +1,23 @@
## Install configuration

Expand All @@ -9,7 +9,7 @@
-SRCDIR = $(PREFIX)/src
+#PREFIX = %%LOCALBASE%%
+BINDIR = $(PREFIX)/bin
+MANDIR = $(PREFIX)/man
+MANDIR = $(PREFIX)/share/man
+DATADIR = $(PREFIX)/share/hare
+SRCDIR = $(DATADIR)/src

Expand Down
4 changes: 2 additions & 2 deletions devel/hare/pkg-plist
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bin/hare
bin/haredoc
man/man1/hare.1.gz
man/man1/haredoc.1.gz
share/man/man1/hare.1.gz
share/man/man1/haredoc.1.gz
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%PORTDOCS%%%%DOCSDIR%%/maintainers.md
%%PORTDOCS%%%%DOCSDIR%%/modules.md
Expand Down

0 comments on commit dda0309

Please sign in to comment.