2003-09-26 13:14:37 +02:00
|
|
|
# New ports collection makefile for: gdesklets-starterbar
|
|
|
|
# Date created: 02 September 2003
|
|
|
|
# Whom: Mezz <mezz7@cox.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2003-11-10 18:15:35 +01:00
|
|
|
PORTNAME= starterbar
|
2005-01-19 08:44:56 +01:00
|
|
|
PORTVERSION= 0.31.2
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 8
|
2003-09-26 13:14:37 +02:00
|
|
|
CATEGORIES= deskutils gnome
|
|
|
|
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
|
2004-03-10 07:07:26 +01:00
|
|
|
PKGNAMEPREFIX= gdesklets-
|
2003-09-26 13:14:37 +02:00
|
|
|
DISTNAME= starterbar-desklet-${PORTVERSION}
|
|
|
|
|
2005-01-19 08:44:56 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-09-26 13:14:37 +02:00
|
|
|
COMMENT= An icon bar for GNOME 2.x where you can put starters into
|
|
|
|
|
2004-11-15 02:17:16 +01:00
|
|
|
RUN_DEPENDS= gdesklets:${PORTSDIR}/deskutils/gdesklets \
|
2004-06-26 02:48:08 +02:00
|
|
|
${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg
|
2003-09-26 13:14:37 +02:00
|
|
|
|
2005-01-19 08:44:56 +01:00
|
|
|
USE_BZIP2= yes
|
2004-03-10 07:07:26 +01:00
|
|
|
USE_PYTHON= yes
|
2003-11-10 18:15:35 +01:00
|
|
|
|
2003-09-26 13:14:37 +02:00
|
|
|
NAME= StarterBar
|
2007-10-25 01:37:25 +02:00
|
|
|
DATADIR= ${PREFIX}/share
|
2004-03-10 07:07:26 +01:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
2004-06-26 02:48:08 +02:00
|
|
|
LANG= ca cs de es fr hr nl pt pt_BR sq sr sr@Latn sv
|
2003-09-26 13:14:37 +02:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
|
|
|
|
@${FIND} ${WRKSRC} -name '*.orig' -delete
|
2003-11-10 18:15:35 +01:00
|
|
|
@${FIND} ${WRKSRC} -name '*.bak' -delete
|
2003-09-26 13:14:37 +02:00
|
|
|
|
|
|
|
do-install:
|
2003-11-10 18:15:35 +01:00
|
|
|
@${MKDIR} ${DATADIR}/gdesklets/Displays/${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}/*.desktop ${DATADIR}/gdesklets/Sensors/${NAME}/
|
|
|
|
@${CP} ${WRKSRC}/${NAME}/.order ${DATADIR}/gdesklets/Sensors/${NAME}/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${NAME}/ChangeLog ${DATADIR}/gdesklets/Sensors/${NAME}/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/gdesklets/Displays/${NAME}/gfx/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/gdesklets/Displays/${NAME}/
|
|
|
|
@${LN} -s ${DATADIR}/gdesklets/Displays/${NAME}/README \
|
|
|
|
${DATADIR}/gdesklets/Sensors/${NAME}/README
|
2003-09-26 13:14:37 +02:00
|
|
|
|
|
|
|
post-install:
|
2004-03-10 07:07:26 +01:00
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
|
|
|
|
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
|
|
|
|
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|${NAME}|g' \
|
|
|
|
${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
|
2003-09-26 13:14:37 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2007-04-15 21:15:42 +02:00
|
|
|
.include <bsd.port.mk>
|