# New ports collection makefile for: gdesklets-sensor-psi_ping # Date created: 21 September 2003 # Whom: Franz Klammer # # $FreeBSD$ # PORTNAME= ping PORTVERSION= 0.1.0 PORTREVISION= 1 CATEGORIES= net gnome MASTER_SITES= http://gdesklets.gnomedesktop.org/files/ PKGNAMEPREFIX= gdesklets-sensor-psi_ DISTNAME= PsiSensorPackage-${DISTVERSION} MAINTAINER= klammer@webonaut.com COMMENT= Ping Sensor from the Psi Sensor Package RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets USE_PYTHON= yes USE_X_PREFIX= yes DISTVERSION= 20040420 NAME= Ping 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}/ post-install: @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME} @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME} .include