Changeset View
Changeset View
Standalone View
Standalone View
head/misc/xiphos/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= xiphos | PORTNAME= xiphos | ||||
DISTVERSION= 4.1.0-72 | DISTVERSION= 4.2.1 | ||||
DISTVERSIONSUFFIX= -g9e573336 | |||||
PORTREVISION= 2 | |||||
CATEGORIES= misc gnome | CATEGORIES= misc gnome | ||||
# Don't use USE_GITHUB: the sources downloaded by USE_GITHUB cannot be | |||||
# built as they miss the file ${WRKSRC}/cmake/source_version.txt. | |||||
# See also: https://github.com/crosswire/xiphos/issues/1037 | |||||
MASTER_SITES= https://github.com/crosswire/${PORTNAME}/releases/download/${DISTVERSION}/ | |||||
MAINTAINER= salvadore@FreeBSD.org | MAINTAINER= salvadore@FreeBSD.org | ||||
COMMENT= Bible interface utilizing the sword framework | COMMENT= Bible interface utilizing the sword framework | ||||
LICENSE= GPLv2+ | LICENSE= GPLv2+ | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
BUILD_DEPENDS= appstream-util:devel/appstream-glib \ | BUILD_DEPENDS= appstream-util:devel/appstream-glib \ | ||||
desktop-file-validate:devel/desktop-file-utils \ | desktop-file-validate:devel/desktop-file-utils \ | ||||
itstool:textproc/itstool \ | itstool:textproc/itstool \ | ||||
yelp-build:textproc/yelp-tools | yelp-build:textproc/yelp-tools | ||||
LIB_DEPENDS= libbiblesync.so:misc/biblesync \ | LIB_DEPENDS= libbiblesync.so:misc/biblesync \ | ||||
libdbus-1.so:devel/dbus \ | libdbus-1.so:devel/dbus \ | ||||
libdbus-glib-1.so:devel/dbus-glib \ | libdbus-glib-1.so:devel/dbus-glib \ | ||||
libenchant.so:textproc/enchant \ | libenchant.so:textproc/enchant \ | ||||
libicui18n.so:devel/icu \ | libicui18n.so:devel/icu \ | ||||
libminizip.so:archivers/minizip \ | |||||
libsoup-2.4.so:devel/libsoup \ | libsoup-2.4.so:devel/libsoup \ | ||||
libsword.so:misc/sword \ | libsword.so:misc/sword \ | ||||
libuuid.so:misc/e2fsprogs-libuuid \ | libuuid.so:misc/e2fsprogs-libuuid \ | ||||
libwebkit2gtk-4.0.so:www/webkit2-gtk3 | libwebkit2gtk-4.0.so:www/webkit2-gtk3 | ||||
# gettext is always needed, even if NLS is off | |||||
USES= cmake gettext gnome pkgconfig | USES= cmake gettext gnome pkgconfig | ||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= crosswire | |||||
USE_GNOME= cairo gconf2 gtk30 gtkhtml4 intltool libgsf | USE_GNOME= cairo gconf2 gtk30 gtkhtml4 intltool libgsf | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
CMAKE_OFF= EPUB | CMAKE_OFF= EPUB | ||||
CMAKE_ON= GTKHTML | CMAKE_ON= GTKHTML | ||||
OPTIONS_DEFINE= NLS | OPTIONS_DEFINE= NLS | ||||
OPTIONS_SUB= NLS | OPTIONS_SUB= NLS | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> | ||||
tcberner: I don't quite understand the issue. Why are you not using the proper release tar ball which… | |||||
Done Inline ActionsI could not find a way to get such file using USE_GITHUB. If it is possible to do it of course I would be glad to do it. Otherwise I think the choice is between:
I choosed the first solution as it looked cleaner to me. salvadore: I could not find a way to get such file using USE_GITHUB. If it is possible to do it of course… |
I don't quite understand the issue. Why are you not using the proper release tar ball which includes said file?
https://github.com/crosswire/xiphos/releases/tag/4.2.1
e.g. xiphos-4.2.1.tar.xz