mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
053fdb6a6b
(Part 2)
53 lines
1.8 KiB
Makefile
53 lines
1.8 KiB
Makefile
# New ports collection makefile for: gdesklets-calendar
|
|
# Date created: 3 January 2004
|
|
# Whom: Mezz <mezz7@cox.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= calendar
|
|
PORTVERSION= 0.2.5.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= deskutils gnome
|
|
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
|
|
PKGNAMEPREFIX= gdesklets-
|
|
|
|
MAINTAINER= mezz7@cox.net
|
|
COMMENT= A calendar for gdesklets
|
|
|
|
RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets \
|
|
${X11BASE}/share/gnome/gdesklets/Sensors/Theme/__init__.py:${PORTSDIR}/deskutils/gdesklets-sensor-psi_theme
|
|
|
|
USE_BZIP2= yes
|
|
USE_PYTHON= yes
|
|
USE_X_PREFIX= yes
|
|
|
|
NAME= Calendar
|
|
DATADIR= ${PREFIX}/share/gnome
|
|
LANG= ca de de_DE es fr
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
do-build:
|
|
@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
|
|
@${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|${NAME}|g' > ${PKGMESSAGE}
|
|
|
|
do-install:
|
|
@${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/gfx
|
|
@${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}/gfx
|
|
.for ii in ${LANG}
|
|
@${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}/locale/${ii}/LC_MESSAGES
|
|
@${INSTALL_DATA} ${WRKSRC}/${NAME}/locale/${ii}/LC_MESSAGES/*.mo \
|
|
${DATADIR}/gdesklets/Sensors/${NAME}/locale/${ii}/LC_MESSAGES/
|
|
.endfor
|
|
@${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/
|
|
@${INSTALL_DATA} ${WRKSRC}/${NAME}/gfx/*.png ${DATADIR}/gdesklets/Sensors/${NAME}/gfx/
|
|
@${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/
|
|
@${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/gdesklets/Displays/${NAME}/gfx/
|
|
|
|
post-install:
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
|
|
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|