devel/hare: rename package to not conflict with sysutils/hare

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
This commit is contained in:
Stefan Eßer 2022-04-30 20:12:13 +02:00
parent aa1a802b66
commit 2786eb3dc3
3 changed files with 7 additions and 8 deletions

View file

@ -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
@ -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}

View file

@ -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

View file

@ -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