Skip to content

Commit

Permalink
devel/hare: rename package to not conflict with sysutils/hare
Browse files Browse the repository at this point in the history
The package name has been changed to hare-lang in order to not collide
with the existing hare package.

The name of the binary ("hare") is unchanged, since the documentation
and possible support tools expect it to have that name. There is no
conflict with the binary installed by the sysutils/hare port, since
that is installed into ${PREFIXE}/sbin, while this port creates it in
${PREFIX}/bin.

If both the hare and hare-lang packages are installed, ${PREFIX}/bin
should be to the left of ${PREFIX}/sbin in the user's ${PATH}, since
${PREFIX}/sbin/hare is generally invoked using the full path from a
PAM configuration file.

Reported by:	antoine
  • Loading branch information
stesser committed Apr 30, 2022
1 parent aa1a802 commit 2786eb3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions devel/hare/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
PORTNAME= hare
PORTVERSION= g20220428
PORTVERSION= g20220430
CATEGORIES= devel
MASTER_SITES= https://git.sr.ht/~sircmpwn/${PORTNAME}/archive/
DISTNAME= 1bfb2e6d
PKGNAMESUFFIX= -lang
DISTNAME= 51884435
DIST_SUBDIR= hare

MAINTAINER= se@FreeBSD.org
Expand All @@ -20,8 +21,6 @@ BUILD_DEPENDS= harec:lang/harec \
RUN_DEPENDS= harec:lang/harec \
qbe:devel/qbe

USES= gmake

MAKE_ARGS= DESTDIR=${STAGEDIR}

WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTNAME}
Expand Down
6 changes: 3 additions & 3 deletions devel/hare/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1651149951
SHA256 (hare/1bfb2e6d.tar.gz) = b45ebc2bf887323010ea80c18c8f77b49eb1e6e264b192b59e4082aa80e65178
SIZE (hare/1bfb2e6d.tar.gz) = 616367
TIMESTAMP = 1651341990
SHA256 (hare/51884435.tar.gz) = 79325c1c30d2a63212590e254769409c06732e4f8224ac54c2a93875ea26170e
SIZE (hare/51884435.tar.gz) = 616472
2 changes: 1 addition & 1 deletion devel/hare/files/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#PREFIX = /usr
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/man
DATADIR= $(PREFIX)/share/hare/
DATADIR= $(PREFIX)/share/hare
SRCDIR = $(DATADIR)/src

# Where to install the stdlib tree
Expand Down

0 comments on commit 2786eb3

Please sign in to comment.