summaryrefslogtreecommitdiffstats
path: root/science/gramps/Makefile
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 23:18:02 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 23:18:02 +0800
commitcdcd43d03c72cdc6904b06ef67110be3b8ccc838 (patch)
treea58326b8374c28ad0f381f2744c46d72e22c79e0 /science/gramps/Makefile
parenta87c8ccda69df670d4af44e6b9f075d16bcd24f8 (diff)
downloadmarcuscom-ports-cdcd43d03c72cdc6904b06ef67110be3b8ccc838.tar
marcuscom-ports-cdcd43d03c72cdc6904b06ef67110be3b8ccc838.tar.gz
marcuscom-ports-cdcd43d03c72cdc6904b06ef67110be3b8ccc838.tar.bz2
marcuscom-ports-cdcd43d03c72cdc6904b06ef67110be3b8ccc838.tar.lz
marcuscom-ports-cdcd43d03c72cdc6904b06ef67110be3b8ccc838.tar.xz
marcuscom-ports-cdcd43d03c72cdc6904b06ef67110be3b8ccc838.tar.zst
marcuscom-ports-cdcd43d03c72cdc6904b06ef67110be3b8ccc838.zip
- Try to remove 48x48 icon dirs
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7419 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'science/gramps/Makefile')
-rw-r--r--science/gramps/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/science/gramps/Makefile b/science/gramps/Makefile
new file mode 100644
index 000000000..a8f7a597d
--- /dev/null
+++ b/science/gramps/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: gramps
+# Date created: 2003-12-25
+# Whom: Andreas Fehlner <fehlner@gmx.de>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= gramps
+PORTVERSION= 2.0.11
+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_X_PREFIX= 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>