blob: 2aad8b7ecc14d389fcc5160897a26ef1ffe41f16 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# New ports collection makefile for: gramps
# Date created: 2003-12-25
# Whom: Andreas Fehlner <fehlner@gmx.de>
#
# $FreeBSD$
#
PORTNAME= gramps
PORTVERSION= 2.0.5
CATEGORIES= science gnome python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gramps
MAINTAINER= stefan.tell@crashmail.de
COMMENT= A GTK/GNOME-based genealogy program written in Python
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 pygnome2 desktopfileutils
GNU_CONFIGURE= yes
USE_REINPLACE= yes
INSTALLS_OMF= yes
MAN1= gramps.1
GCONF_SCHEMAS= gramps.schemas
post-patch:
@${REINPLACE_CMD} -e 's|/@PACKAGE@/gnome||' \
${WRKSRC}/doc/gramps-manual/C/Makefile.in
@${REINPLACE_CMD} -e 's|share/gramps|share/gnome|' \
${WRKSRC}/src/gramps_main.py
@${REINPLACE_CMD} -e 's|share/gramps|share/gnome/gramps|' \
${WRKSRC}/src/Makefile.in \
${WRKSRC}/src/docgen/Makefile.in
@${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
@${REINPLACE_CMD} -e \
's|/usr/share/gramps|${PREFIX}/share/gnome/gramps|' \
${WRKSRC}/src/data/gramps.keys
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|