mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
b50a4b0708
- Mk/bsd.database.mk rewrite, new default to db5. - db6 is eligible by default only if installed on the system. - Bump PORTREVISION of all ports that directly depend on BerkeleyDB or where USE_BDB is found in the port's directory - Patch a few ports such that they will pick up or work with newer versions. - Add UPDATING entry - Drive-by format fix for pks - Drop BerkeleyDB option from mail/popular for now, requires more work. - Exp-run logs linked from the PR below. - Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes for new Berkeley DB, but are untested. NOTE: please read UPDATING and the Wiki page before proceeding! Announcement: http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html Wiki reference: https://wiki.freebsd.org/Ports/BerkeleyDBCleanup PR: 192690 Approved by: portmgr (implicit, PORTREVISION bump on unstaged ports)
63 lines
1.9 KiB
Makefile
63 lines
1.9 KiB
Makefile
# Created by: Andreas Fehlner <fehlner@gmx.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gramps
|
|
PORTVERSION= 3.4.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= science gnome python
|
|
MASTER_SITES= SF/${PORTNAME}/Stable/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= GTK/GNOME-based genealogy program
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb>0:${PORTSDIR}/databases/py-bsddb \
|
|
${PYTHON_PKGNAMEPREFIX}icu>=1.8:${PORTSDIR}/devel/py-icu \
|
|
${PYXML}
|
|
|
|
USE_BDB= 5+
|
|
USE_PYTHON= yes
|
|
USES= desktop-file-utils gettext pathfix shared-mime-info gmake
|
|
USE_GNOME= pygtk2
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_OMF= yes
|
|
INSTALLS_ICONS= yes
|
|
CONFIGURE_ENV+= GMSGFMT="${LOCALBASE}/bin/msgfmt"
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
OPTIONS_DEFINE= ENCHANT PYWEBKITGTK GNOME GRAPHVIZ EXIV
|
|
OPTIONS_DEFAULT= PYWEBKITGTK GRAPHVIZ EXIV
|
|
ENCHANT_DESC= Spellchecking support
|
|
PYWEBKITGTK_DESC= Use webkit backend for Geographic view
|
|
EXIV_DESC= Managing exiv metadata support
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MGNOME}
|
|
USE_GNOME= pygnome2 pygnomeextras gnomedocutils
|
|
.endif
|
|
.if ${PORT_OPTIONS:MENCHANT}
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enchant>=0:${PORTSDIR}/textproc/py-enchant
|
|
.endif
|
|
.if ${PORT_OPTIONS:MPYWEBKITGTK}
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}webkitgtk>=0:${PORTSDIR}/www/py-webkitgtk
|
|
.endif
|
|
.if ${PORT_OPTIONS:MGRAPHVIZ}
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}graphviz>-0:${PORTSDIR}/graphics/py-graphviz
|
|
.endif
|
|
.if ${PORT_OPTIONS:MEXIV}
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}exiv2>=0.1.3:${PORTSDIR}/graphics/py-exiv2
|
|
.endif
|
|
|
|
pre-extract:
|
|
@${ECHO_MSG} "=========================================================="
|
|
@${ECHO_MSG} "*WARNING*: The Berkeley DB has been upgraded to version 5."
|
|
@${ECHO_MSG} "Cancel this installation now and export your databases if"
|
|
@${ECHO_MSG} "you are upgrading from a Gramps version older than 3.4.X"
|
|
@${ECHO_MSG} "=========================================================="
|
|
@sleep 5
|
|
|
|
.include <bsd.port.mk>
|