mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
5e4abd2a76
- Take maintainership
- Convert to USE_GITHUB (new location of main upstream repository)
- Update dependencies for new version (namely python 3.2+ and GTK3) [1]
- Convert "strongly recommended" options to dependencies (removing option) [1]
- Add "optional" dependencies as OPTIONS [1]
- Remove pkg-plist and convert build to USE_PYTHON=autoplist distutils
- Remove pre-extract upgrade warning as it is ineffective for pkg upgrades
and now only applies for systems which have not been upgraded in 1.5 years.
- Add post-stage hack to fix staging support, copied from Arch Linux [2]
- Delete files/patch-src_gramps.py as the offending file has been removed
- Add files/patch-setup.py to allow "--single-version-externally-managed" [3]
- Add files/patch-setup.py to fix double slashes in generated by autoplist [4]
Changes:
https://github.com/gramps-project/gramps/blob/v4.2.3/NEWS
[1] https://github.com/gramps-project/gramps/blob/v4.2.3/README
[2] https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/gramps&id=ee1c7fae15872481d8f55868f4211efcbce15314
[3] ab67c786b0
[4] https://github.com/gramps-project/gramps/pull/96
PR: 207005
Reviewed by: mat (mentor)
Approved by: adamw (mentor)
Differential Revision: https://reviews.freebsd.org/D6439
50 lines
1.6 KiB
Makefile
50 lines
1.6 KiB
Makefile
# Created by: Andreas Fehlner <fehlner@gmx.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gramps
|
|
PORTVERSION= 4.2.3
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= science gnome python
|
|
|
|
MAINTAINER= woodsb02@FreeBSD.org
|
|
COMMENT= GTK3-based genealogy program
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb3>0:databases/py3-bsddb3 \
|
|
${PYTHON_PKGNAMEPREFIX}pyicu>=1.8:devel/py3-pyicu \
|
|
${PYTHON_PKGNAMEPREFIX}pygraphviz>=0:graphics/py3-pygraphviz \
|
|
xdg-open:devel/xdg-utils
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= gramps-project
|
|
|
|
NO_ARCH= yes
|
|
USES= desktop-file-utils gettext shared-mime-info python:3.2+
|
|
USE_GNOME= cairo gtk30 intltool librsvg2 pango py3gobject3
|
|
USE_PYTHON= autoplist distutils
|
|
CONFIGURE_ARGS= --disable-mime-install
|
|
INSTALLS_OMF= yes
|
|
INSTALLS_ICONS= yes
|
|
|
|
OPTIONS_DEFINE= GEXIV GTKSPELL PIL RCS TTFFREEFONT
|
|
OPTIONS_DEFAULT= GEXIV GTKSPELL
|
|
GEXIV_DESC= Manage Exif metadata embedded in media
|
|
GTKSPELL_DESC= Spell checking support via gtkspell
|
|
PIL_DESC= Crop/convert images with Python Imaging Library (Pillow)
|
|
RCS_DESC= Manage revisions of family trees with with GNU RCS
|
|
TTFFREEFONT_DESC= More font support in reports
|
|
|
|
GEXIV_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2
|
|
GTKSPELL_LIB_DEPENDS= libgtkspell3-3.so:textproc/gtkspell3
|
|
PIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py3-pillow
|
|
RCS_RUN_DEPENDS= rcsdiff:devel/rcs
|
|
TTFFREEFONT_RUN_DEPENDS=${LOCALBASE}/share/fonts/freefont-ttf/FreeMono.ttf:x11-fonts/freefont-ttf
|
|
|
|
post-install:
|
|
${ECHO_CMD} -n ${PREFIX}/share > ${STAGEDIR}${PYTHON_SITELIBDIR}/gramps/gen/utils/resource-path
|
|
|
|
.include <bsd.port.mk>
|