diff --git a/devel/hare/Makefile b/devel/hare/Makefile index be01fa28bb01..2db8866be65a 100644 --- a/devel/hare/Makefile +++ b/devel/hare/Makefile @@ -1,50 +1,47 @@ PORTNAME= hare PORTVERSION= 0.24.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://git.sr.ht/~sircmpwn/${PORTNAME}/archive/ -# https://git.sr.ht/~sircmpwn/hare/archive/0.24.0.tar.gz PKGNAMESUFFIX= -lang DISTNAME= ${PORTVERSION} DIST_SUBDIR= hare MAINTAINER= se@FreeBSD.org COMMENT= Hare language build system and standard library WWW= https://harelang.org/ LICENSE= GPLv3 MPL20 LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 # aarch64 riscv64 BUILD_DEPENDS= harec:lang/harec \ qbe:devel/qbe \ scdoc:textproc/scdoc RUN_DEPENDS= harec:lang/harec MAKE_ARGS= ARCH=${ARCH:S/^amd64$/x86_64/} \ DESTDIR=${STAGEDIR} \ + HARECACHE=${WRKDIR}/.cache/hare \ PREFIX=${PREFIX} -# HARECACHE=${WRKDIR}/.cache/hare \ -# HARECFLAGS="-a x86_64" \ - - WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTNAME} OPTIONS_DEFINE= DOCS do-build: cd ${WRKSRC} && ${CP} configs/freebsd.mk config.mk cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS} do-install: cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS} install ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/bin/* ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/*.md ${STAGEDIR}${DOCSDIR}/ do-test: cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS} check .include