diff options
Diffstat (limited to 'deskutils/hebcal/Makefile')
-rw-r--r-- | deskutils/hebcal/Makefile | 19 |
1 files changed, 12 insertions, 7 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> |