mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
29747f458a
new freetype2 where needed. Submitted by: mezz, ahze, pav, and many others Approved by: portmgr (implicit, kris)
57 lines
1.6 KiB
Makefile
57 lines
1.6 KiB
Makefile
# New ports collection makefile for: gramps
|
|
# Date created: 2003-12-25
|
|
# Whom: Andreas Fehlner <fehlner@gmx.de>
|
|
#
|
|
# $FreeBSD$
|
|
# $MCom: ports/science/gramps/Makefile,v 1.2 2006/10/10 20:22:19 mezz Exp $
|
|
#
|
|
|
|
PORTNAME= gramps
|
|
PORTVERSION= 2.0.11
|
|
PORTREVISION= 1
|
|
CATEGORIES= science gnome python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= gramps
|
|
|
|
MAINTAINER= ports@freebsd.org
|
|
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_XLIB= yes
|
|
USE_PYTHON= yes
|
|
USE_GETTEXT= yes
|
|
USE_GMAKE= yes
|
|
USE_GNOME= gnomehack gnomeprefix pygnome2 desktopfileutils
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_OMF= yes
|
|
INSTALLS_ICONS= yes
|
|
|
|
MAN1= gramps.1
|
|
GCONF_SCHEMAS= gramps.schemas
|
|
|
|
post-patch:
|
|
.for l in C fr sk
|
|
@${REINPLACE_CMD} -e 's|/@PACKAGE@/gnome||' \
|
|
${WRKSRC}/doc/gramps-manual/${l}/Makefile.in
|
|
.endfor
|
|
@${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
|
|
|
|
.include <bsd.port.mk>
|