openbsd-ports/misc/gramps/Makefile
2022-11-13 15:28:39 +00:00

47 lines
1.0 KiB
Makefile

COMMENT= Genealogical Research Analysis Management Programming System
MODPY_EGG_VERSION = 5.1.5
DISTNAME= gramps-${MODPY_EGG_VERSION}
REVISION= 0
CATEGORIES= misc x11
HOMEPAGE= https://gramps-project.org/
# GPLv2+
PERMIT_PACKAGE= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gramps/}
MODULES= lang/python \
textproc/intltool
RUN_DEPENDS= databases/py-bsddb3${MODPY_FLAVOR} \
devel/desktop-file-utils \
devel/py-gobject3${MODPY_FLAVOR} \
devel/xdg-utils \
fonts/freefont-ttf \
geo/osm-gps-map \
graphics/libgexiv2 \
graphics/py-Pillow${MODPY_FLAVOR} \
math/graphviz \
misc/shared-mime-info \
textproc/gtkspell3 \
textproc/py-ICU${MODPY_FLAVOR} \
x11/gtk+3,-guic
MODPY_DISTUTILS_BUILD= build
NO_TEST= Yes
pre-configure:
sed -i 's,/usr/share,${PREFIX}/share,g' \
${WRKSRC}/data/gramps.keys.in
sed -i 's,share/man,man,g' ${WRKSRC}/setup.py
post-install:
echo -n '${TRUEPREFIX}/share' \
>${WRKINST}/${MODPY_SITEPKG}/gramps/gen/utils/resource-path
gunzip ${PREFIX}/man/*/{,*}/*.gz
.include <bsd.port.mk>