2003-02-28 07:46:44 +00:00
|
|
|
# New ports collection makefile for: gdeskcal
|
|
|
|
# Date created: 27 February 2003
|
|
|
|
# Whom: Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2006-10-14 08:54:54 +00:00
|
|
|
# $MCom: ports/deskutils/gdeskcal/Makefile,v 1.2 2006/09/30 03:23:19 ahze Exp $
|
2003-02-28 07:46:44 +00:00
|
|
|
|
|
|
|
PORTNAME= gdeskcal
|
2004-03-18 21:04:29 +00:00
|
|
|
PORTVERSION= 0.57.1
|
2006-10-14 08:54:54 +00:00
|
|
|
PORTREVISION= 4
|
2003-02-28 07:46:44 +00:00
|
|
|
CATEGORIES= deskutils python gnome
|
|
|
|
MASTER_SITES= http://www.pycage.de/download/
|
2004-03-18 21:04:29 +00:00
|
|
|
DISTNAME= gDeskCal-${PORTVERSION:S/./_/g}
|
2003-02-28 07:46:44 +00:00
|
|
|
|
2004-01-03 22:50:53 +00:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-02-28 07:46:44 +00:00
|
|
|
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
|
2006-05-15 22:23:04 +00:00
|
|
|
USE_GETTEXT= yes
|
2003-02-28 07:46:44 +00:00
|
|
|
USE_GNOME= gnomehier
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
DATA_DIRS= code data skins
|
|
|
|
|
2003-06-26 13:53:38 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|"locale"|"${PREFIX}/share/locale"|g' \
|
|
|
|
${WRKSRC}/code/values.py
|
|
|
|
|
2003-02-28 07:46:44 +00:00
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/gnome/gdeskcal
|
|
|
|
for d in ${DATA_DIRS}; do \
|
|
|
|
${MKDIR} ${PREFIX}/share/gnome/gdeskcal/$$d ; \
|
|
|
|
cd ${WRKSRC}/$$d && ${FIND} . | \
|
2004-01-22 12:18:43 +00:00
|
|
|
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} \
|
2003-02-28 07:46:44 +00:00
|
|
|
${PREFIX}/share/gnome/gdeskcal/$$d ; \
|
|
|
|
done
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/gdeskcal \
|
|
|
|
${PREFIX}/share/gnome/gdeskcal
|
2003-03-01 07:47:06 +00:00
|
|
|
|
2003-03-02 23:28:42 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/locale/ar/LC_MESSAGES
|
2003-03-29 01:20:08 +00:00
|
|
|
|
2003-06-28 04:57:41 +00:00
|
|
|
.for i in ar bg cs de de_AT el es fi fr he hu is it \
|
2004-03-04 18:03:57 +00:00
|
|
|
ja ko lt nl no pl ru sk sr sv tr uk zh_CN
|
2003-03-02 23:28:42 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/locale/${i}/LC_MESSAGES
|
2003-03-01 07:47:06 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/locale/${i}/LC_MESSAGES/gdeskcal.mo \
|
|
|
|
${PREFIX}/share/locale/${i}/LC_MESSAGES
|
|
|
|
.endfor
|
2003-02-28 07:46:44 +00:00
|
|
|
${LN} -sf ${PREFIX}/share/gnome/gdeskcal/gdeskcal ${PREFIX}/bin/gdeskcal
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|