1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/deskutils/gdesklets-sensor-psi_iconbutton/Makefile
2004-02-04 05:21:48 +00:00

45 lines
1.3 KiB
Makefile

# New ports collection makefile for: gdesklets-sensor-psi_iconbutton
# Date created: 20 September 2003
# Whom: Franz Klammer <klammer@webonaut.com>
#
# $FreeBSD$
#
PORTNAME= iconbutton
PORTVERSION= 0.1.4
PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
PKGNAMEPREFIX= gdesklets-sensor-psi_
DISTNAME= PsiSensorPackage-${DISTVERSION}
MAINTAINER= klammer@webonaut.com
COMMENT= A sensor based on the starterbar
RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets
USE_BZIP2= yes
USE_PYTHON= yes
USE_X_PREFIX= yes
DISTVERSION= 20031028
NAME= IconButton
DATADIR= ${PREFIX}/share/gnome
WRKSRC= ${WRKDIR}/${NAME}-${PORTVERSION}
do-build:
@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
@${FIND} ${WRKSRC} -name '*.orig' -delete
do-install:
@${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}
@${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/
@${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/gdesklets/Sensors/${NAME}/
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>