mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
55 lines
1.6 KiB
Makefile
55 lines
1.6 KiB
Makefile
# New ports collection makefile for: gdeskcal
|
|
# Date created: 27 February 2003
|
|
# Whom: Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
|
|
#
|
|
# $FreeBSD$
|
|
# $MCom: ports/deskutils/gdeskcal/Makefile,v 1.2 2006/09/30 03:23:19 ahze Exp $
|
|
|
|
PORTNAME= gdeskcal
|
|
PORTVERSION= 0.57.1
|
|
PORTREVISION= 5
|
|
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/gnome/gdeskcal
|
|
for d in ${DATA_DIRS}; do \
|
|
${MKDIR} ${PREFIX}/share/gnome/gdeskcal/$$d ; \
|
|
cd ${WRKSRC}/$$d && ${FIND} . | \
|
|
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} \
|
|
${PREFIX}/share/gnome/gdeskcal/$$d ; \
|
|
done
|
|
${INSTALL_SCRIPT} ${WRKSRC}/gdeskcal \
|
|
${PREFIX}/share/gnome/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/gnome/gdeskcal/gdeskcal ${PREFIX}/bin/gdeskcal
|
|
|
|
.include <bsd.port.mk>
|