Update to 2.0.0

PR:		ports/81098
Submitted by:	maintainer
This commit is contained in:
Jean-Yves Lefort 2005-05-19 23:56:40 +00:00
parent 831bda93e3
commit dcd5382601
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135659
5 changed files with 536 additions and 725 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= gramps
PORTVERSION= 1.0.11
PORTVERSION= 2.0.0
CATEGORIES= science gnome python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gramps
@ -14,22 +14,37 @@ MASTER_SITE_SUBDIR= gramps
MAINTAINER= stefan.tell@crashmail.de
COMMENT= A GTK/GNOME-based genealogy program written in Python
BUILD_DEPENDS= ${PYTHON_LIBDIR}/site-packages/_xmlplus/__init__.py:${PORTSDIR}/textproc/py-xml \
${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb \
${PYTHON_LIBDIR}/site-packages/_xmlplus/__init__.py:${PORTSDIR}/textproc/py-xml
USE_X_PREFIX= yes
USE_PYTHON= yes
USE_GMAKE= yes
USE_GNOME= gnomehack gnomeprefix
USE_GNOME= gnomehack gnomeprefix pygnome2
GNU_CONFIGURE= yes
USE_REINPLACE= yes
INSTALLS_OMF= yes
MAN1= gramps.1
GCONF_SCHEMAS= gramps.schemas
post-patch:
@${REINPLACE_CMD} -e 's|{prefix}/share|{prefix}/share/gnome|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|gnome/help|help|' ${WRKSRC}/doc/gramps-manual/C/Makefile.in
@${REINPLACE_CMD} -e 's|share/gramps|share/gnome/gramps|g' ${WRKSRC}/src/gramps_main.py
@${REINPLACE_CMD} -e 's|/@PACKAGE@/gnome||' \
${WRKSRC}/doc/gramps-manual/C/Makefile.in
@${REINPLACE_CMD} -e 's|share/gramps|share/gnome/gramps|' \
${WRKSRC}/src/Makefile.in \
${WRKSRC}/src/docgen/Makefile.in \
${WRKSRC}/src/gramps_main.py
@${REINPLACE_CMD} -e \
's|share/application-registry|share/gnome/application-registry|; \
s|share/applications|share/gnome/applications|; \
s|share/mime-info|share/gnome/mime-info|' \
${WRKSRC}/src/data/Makefile.in
@${REINPLACE_CMD} -e \
's|gramps\.png|${PREFIX}/share/gnome/gramps/gramps.png|' \
${WRKSRC}/src/data/gramps.desktop
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
MD5 (gramps-1.0.11.tar.gz) = f934e3cc4e12cce272e24611b143e728
SIZE (gramps-1.0.11.tar.gz) = 6571586
MD5 (gramps-2.0.0.tar.gz) = 3edddfe3024b691baeea9a06aad8ceb1
SIZE (gramps-2.0.0.tar.gz) = 2850094

View File

@ -1,18 +0,0 @@
--- src/Makefile.in.orig Sun Nov 21 23:18:47 2004
+++ src/Makefile.in Sun Nov 21 23:19:07 2004
@@ -560,11 +560,11 @@
pychecker $(pkgpython_PYTHON)
install-data-local:
- $(INSTALL) -d $(DESTDIR)$(prefix)/share/pixmaps
- $(INSTALL) -d $(DESTDIR)$(prefix)/share/applications
+ $(INSTALL) -d $(DESTDIR)$(prefix)/share/gnome/pixmaps
+ $(INSTALL) -d $(DESTDIR)$(prefix)/share/gnome/applications
$(INSTALL) -d $(DESTDIR)$(pkglibdir)
- $(INSTALL_DATA) $(srcdir)/gramps.png $(DESTDIR)$(prefix)/share/pixmaps
- $(INSTALL_DATA) $(srcdir)/gramps.desktop $(DESTDIR)$(prefix)/share/applications
+ $(INSTALL_DATA) $(srcdir)/gramps.png $(DESTDIR)$(prefix)/share/gnome/pixmaps
+ $(INSTALL_DATA) $(srcdir)/gramps.desktop $(DESTDIR)$(prefix)/share/gnome/applications
$(INSTALL_DATA) grampslib.so $(DESTDIR)$(pkglibdir)
uninstall-local:

View File

@ -0,0 +1,10 @@
***********************************************************************
The development of 2.0.0 involved a lot of internal changes and took
a long time. While the foundation is solid, there has been little user
testing of this branch. Therefore, you are advised to keep
a copy of your XML databases in safe place,
just in case. We believe that this is an extra precaution, but we want
our users to better be safe than sorry.
***********************************************************************

File diff suppressed because it is too large Load Diff