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
|
2009-12-29 12:19:23 +01:00
|
|
|
PORTVERSION= 0.31.3
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 2
|
2003-09-26 13:14:37 +02:00
|
|
|
CATEGORIES= deskutils gnome
|
2009-12-29 12:19:23 +01:00
|
|
|
MASTER_SITES= http://www.gdesklets.info/archive/
|
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
|
|
|
|
2004-03-10 07:07:26 +01:00
|
|
|
USE_PYTHON= yes
|
2003-11-10 18:15:35 +01:00
|
|
|
|
2009-12-29 12:19:23 +01:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
SUB_LIST= NAME="${NAME}"
|
|
|
|
|
|
|
|
DATADIR= ${PREFIX}/share/gdesklets
|
2003-09-26 13:14:37 +02:00
|
|
|
NAME= StarterBar
|
2009-12-29 12:19:23 +01:00
|
|
|
|
|
|
|
LANG= ca cs de en_CA en_GB 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}
|
|
|
|
|
|
|
|
do-install:
|
2009-12-29 12:19:23 +01:00
|
|
|
@${MKDIR} ${DATADIR}/Displays/${NAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/Displays/${NAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/Displays/${NAME}
|
|
|
|
@${MKDIR} ${DATADIR}/Displays/${NAME}/gfx
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/Displays/${NAME}/gfx
|
|
|
|
@${MKDIR} ${DATADIR}/Sensors/${NAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${NAME}/ChangeLog ${DATADIR}/Sensors/${NAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${NAME}/*.desktop ${DATADIR}/Sensors/${NAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/Sensors/${NAME}
|
|
|
|
@${CP} ${WRKSRC}/${NAME}/.order ${DATADIR}/Sensors/${NAME}
|
2003-11-10 18:15:35 +01:00
|
|
|
.for ii in ${LANG}
|
2009-12-29 12:19:23 +01:00
|
|
|
@${MKDIR} ${DATADIR}/Sensors/${NAME}/locale/${ii}/LC_MESSAGES
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${NAME}/locale/${ii}/LC_MESSAGES/*.mo \
|
|
|
|
${DATADIR}/Sensors/${NAME}/locale/${ii}/LC_MESSAGES
|
2003-11-10 18:15:35 +01:00
|
|
|
.endfor
|
2009-12-29 12:19:23 +01:00
|
|
|
@${LN} -s ${DATADIR}/Displays/${NAME}/README \
|
|
|
|
${DATADIR}/Sensors/${NAME}/README
|
2003-09-26 13:14:37 +02:00
|
|
|
|
|
|
|
post-install:
|
2009-12-29 12:19:23 +01:00
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/Sensors/${NAME}
|
|
|
|
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/Sensors/${NAME}
|
2003-09-26 13:14:37 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2007-04-15 21:15:42 +02:00
|
|
|
.include <bsd.port.mk>
|