mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Add gdesklets-sensor-psi_network, a network scanning backend sensor for
gDesklets from the PSI project. PR: 59823 Submitted by: Franz Klammer <klammer@webonaut.com>
This commit is contained in:
parent
6dc41400ac
commit
8c4fcf027a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96104
@ -156,6 +156,7 @@
|
||||
SUBDIR += gaim
|
||||
SUBDIR += gale
|
||||
SUBDIR += gatekeeper
|
||||
SUBDIR += gdesklets-sensor-psi_network
|
||||
SUBDIR += gdesklets-sensor-psi_ping
|
||||
SUBDIR += generic-nqs
|
||||
SUBDIR += geotrace
|
||||
|
43
net/gdesklets-sensor-psi_network/Makefile
Normal file
43
net/gdesklets-sensor-psi_network/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# New ports collection makefile for: gdesklets-sensor-psi_network
|
||||
# Date created: 20 September 2003
|
||||
# Whom: Franz Klammer <klammer@webonaut.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= network
|
||||
PORTVERSION= 0.2.0
|
||||
CATEGORIES= net gnome
|
||||
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
|
||||
PKGNAMEPREFIX= gdesklets-sensor-psi_
|
||||
DISTNAME= PsiSensorPackage-${DISTVERSION}
|
||||
|
||||
MAINTAINER= klammer@webonaut.com
|
||||
COMMENT= Network Sensor from the Psi Sensor Package
|
||||
|
||||
RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_PYTHON= yes
|
||||
USE_X_PREFIX= yes
|
||||
|
||||
DISTVERSION= 20031028
|
||||
NAME= Network
|
||||
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>
|
1
net/gdesklets-sensor-psi_network/distinfo
Normal file
1
net/gdesklets-sensor-psi_network/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (PsiSensorPackage-20031028.tar.bz2) = 24c891e1d0f66426040b4e4fb618f9f5
|
@ -0,0 +1,19 @@
|
||||
--- Install_Network_Sensor.bin.orig Wed Nov 19 18:34:09 2003
|
||||
+++ Install_Network_Sensor.bin Wed Nov 19 18:34:26 2003
|
||||
@@ -75,15 +75,9 @@
|
||||
else:
|
||||
cmd = "mkdir -p %(destination)s; cd %(destination)s; " \
|
||||
"LANG=C tar -xzvf %(tmp)s 2>&1"
|
||||
- fail, out = commands.getstatusoutput(cmd % vars())
|
||||
+ commands.getstatusoutput(cmd % vars())
|
||||
os.unlink(tmp)
|
||||
|
||||
- if (fail):
|
||||
- if (no_message): print ERROR_TAR + out
|
||||
- else: message(ERROR_TAR + out, "error")
|
||||
- sys.exit(1)
|
||||
-
|
||||
- print out
|
||||
if (not list_only):
|
||||
if (no_message): print SUCCESS
|
||||
else: message(SUCCESS, "info")
|
3
net/gdesklets-sensor-psi_network/pkg-descr
Normal file
3
net/gdesklets-sensor-psi_network/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Network Sensor from the Psi Sensor Package.
|
||||
|
||||
WWW: http://gdesklets.gnomedesktop.org/
|
8
net/gdesklets-sensor-psi_network/pkg-message
Normal file
8
net/gdesklets-sensor-psi_network/pkg-message
Normal file
@ -0,0 +1,8 @@
|
||||
##
|
||||
To view the README, do the command following:
|
||||
|
||||
cat ${PREFIX}/share/gnome/gdesklets/Sensors/Network/README
|
||||
|
||||
This is just a sensor, to actually see the data it collects, you have to install
|
||||
an appropriate display plugin.
|
||||
##
|
5
net/gdesklets-sensor-psi_network/pkg-plist
Normal file
5
net/gdesklets-sensor-psi_network/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
share/gnome/gdesklets/Sensors/Network/__init__.py
|
||||
share/gnome/gdesklets/Sensors/Network/__init__.pyc
|
||||
share/gnome/gdesklets/Sensors/Network/__init__.pyo
|
||||
share/gnome/gdesklets/Sensors/Network/README
|
||||
@dirrm share/gnome/gdesklets/Sensors/Network
|
Loading…
Reference in New Issue
Block a user