diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-24 04:34:48 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-24 04:34:48 +0800 |
commit | 6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6 (patch) | |
tree | 81f3a8c4095040ea7f5dc4fabf06780b4abd2111 /deskutils/gdeskcal/Makefile | |
parent | 3f2d648b714133754d45834582aebaf05cef4600 (diff) | |
download | marcuscom-ports-6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6.tar marcuscom-ports-6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6.tar.gz marcuscom-ports-6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6.tar.bz2 marcuscom-ports-6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6.tar.lz marcuscom-ports-6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6.tar.xz marcuscom-ports-6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6.tar.zst marcuscom-ports-6a6af1c7727308fd81d3fa8cfd8a67a1d79e80c6.zip |
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9242 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/gdeskcal/Makefile')
-rw-r--r-- | deskutils/gdeskcal/Makefile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/deskutils/gdeskcal/Makefile b/deskutils/gdeskcal/Makefile new file mode 100644 index 000000000..9ec204c7d --- /dev/null +++ b/deskutils/gdeskcal/Makefile @@ -0,0 +1,55 @@ +# New ports collection makefile for: gdeskcal +# Date created: 27 February 2003 +# Whom: Martin Klaffenboeck <martin.klaffenboeck@gmx.at> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gdeskcal +PORTVERSION= 0.57.1 +PORTREVISION= 6 +CATEGORIES= deskutils python gnome +MASTER_SITES= http://www.pycage.de/download/ +DISTNAME= gDeskCal-${PORTVERSION:S/./_/g} + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A calendar for the gnome2 desktop with smooth alpha-blending + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2 + +WRKSRC= ${WRKDIR}/gDeskCal-${PORTVERSION} + +USE_PYTHON= yes +USE_GETTEXT= yes +USE_GNOME= gnomehier +NO_BUILD= yes + +DATA_DIRS= code data skins + +post-patch: + @${REINPLACE_CMD} -e 's|"locale"|"${PREFIX}/share/locale"|g' \ + ${WRKSRC}/code/values.py + +do-install: + ${MKDIR} ${PREFIX}/share/gdeskcal + for d in ${DATA_DIRS}; do \ + ${MKDIR} ${PREFIX}/share/gdeskcal/$$d ; \ + cd ${WRKSRC}/$$d && ${FIND} . | \ + ${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} \ + ${PREFIX}/share/gdeskcal/$$d ; \ + done + ${INSTALL_SCRIPT} ${WRKSRC}/gdeskcal \ + ${PREFIX}/share/gdeskcal + + ${MKDIR} ${PREFIX}/share/locale/ar/LC_MESSAGES + +.for i in ar bg cs de de_AT el es fi fr he hu is it \ + ja ko lt nl no pl ru sk sr sv tr uk zh_CN + ${MKDIR} ${PREFIX}/share/locale/${i}/LC_MESSAGES + ${INSTALL_DATA} ${WRKSRC}/locale/${i}/LC_MESSAGES/gdeskcal.mo \ + ${PREFIX}/share/locale/${i}/LC_MESSAGES +.endfor + ${LN} -sf ${PREFIX}/share/gdeskcal/gdeskcal ${PREFIX}/bin/gdeskcal + +.include <bsd.port.mk> |