blob: b8d25c7f0c1ff60723557a6c3544f205a51d0693 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# New ports collection makefile for: gdesklets-seti
# Date created: 12 November 2003
# Whom: Franz Klammer <klammer@webonaut.com>
#
# $FreeBSD$
#
PORTNAME= seti
PORTVERSION= 0.3.0
PORTREVISION= 1
CATEGORIES= astro gnome
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
PKGNAMEPREFIX= gdesklets-
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= klammer@webonaut.com
COMMENT= Simple but useful setidesklet with less CPU-usage
RUN_DEPENDS= gdesklets:${PORTSDIR}/deskutils/gdesklets
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
USE_PYTHON= yes
NAME= Seti
do-build:
@${WRKDIR}/Install_${NAME}_Sensor.bin --nomsg ${WRKDIR}/${PORTNAME}
@${REINPLACE_CMD} -e 's|/usr/setiathome|/var/db/setiathome|g' \
${WRKDIR}/${PORTNAME}/${NAME}/sah.py
@${FIND} ${WRKDIR}/${PORTNAME} -name '*.bak' -delete
do-install:
@${MKDIR} ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/gfx
@${MKDIR} ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/*.display ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/gfx/*.png ${PREFIX}/share/gnome/gdesklets/Displays/${NAME}/gfx/
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/${NAME}/*.py ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/
post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|