diff options
Diffstat (limited to 'deskutils/hebcal')
-rw-r--r-- | deskutils/hebcal/Makefile | 19 | ||||
-rw-r--r-- | deskutils/hebcal/distinfo | 6 |
2 files changed, 15 insertions, 10 deletions
diff --git a/deskutils/hebcal/Makefile b/deskutils/hebcal/Makefile index e788dd84af1a..5902eed3446e 100644 --- a/deskutils/hebcal/Makefile +++ b/deskutils/hebcal/Makefile @@ -1,7 +1,7 @@ PORTNAME= hebcal -PORTVERSION= 4.13 -PORTREVISION= 1 DISTVERSIONPREFIX= v +DISTVERSION= 5.9.2.20250725 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= rtd24@columbia.edu @@ -11,14 +11,19 @@ WWW= https://hebcal.github.io LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= autoreconf gmake perl5 -GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share -TEST_TARGET= check - +USES= go:modules USE_GITHUB= yes +GH_TAGNAME= 16a4dbad70c5fd10 PLIST_FILES= bin/hebcal \ share/man/man1/hebcal.1.gz +pre-build: + @${ECHO_CMD} 'package main' > ${WRKSRC}/dcity.go + @${ECHO_CMD} 'var defaultCity = "New York"' >> ${WRKSRC}/dcity.go + +do-install: + ${INSTALL_PROGRAM} ${WRKDIR}/bin/hebcal ${STAGEDIR}${PREFIX}/bin/hebcal + ${INSTALL_MAN} ${WRKSRC}/hebcal.1.in ${STAGEDIR}${PREFIX}/share/man/man1/hebcal.1 + .include <bsd.port.mk> diff --git a/deskutils/hebcal/distinfo b/deskutils/hebcal/distinfo index c9bb9a743764..d0feac04af40 100644 --- a/deskutils/hebcal/distinfo +++ b/deskutils/hebcal/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1509188632 -SHA256 (hebcal-hebcal-v4.13_GH0.tar.gz) = 7b2e69b0e400ffd727fd818d926484c3f15a51cd6b325cea2483354501d6fce9 -SIZE (hebcal-hebcal-v4.13_GH0.tar.gz) = 721583 +TIMESTAMP = 1753451608 +SHA256 (hebcal-hebcal-v5.9.2.20250725-16a4dbad70c5fd10_GH0.tar.gz) = 1ae14518cc35dab13db8e78b6d99b76dc59870cf71d29d34f5eba444a97076c8 +SIZE (hebcal-hebcal-v5.9.2.20250725-16a4dbad70c5fd10_GH0.tar.gz) = 174257 |