blob: 52b72b43ca04542164804b996bcc928c0fe10aa0 (
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
|
# New ports collection makefile for: gdesklets-displayconstraints
# Date created: 06 January 2004
# Whom: Franz Klammer <klammer@webonaut.com>
#
# $FreeBSD$
#
PORTNAME= displayconstraints
PORTVERSION= 0.1.0
PORTREVISION= 2
CATEGORIES= deskutils gnome
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
PKGNAMEPREFIX= gdesklets-sensor-
DISTNAME= displayconstraints-${PORTVERSION}
MAINTAINER= klammer@webonaut.com
COMMENT= This Sensor allows a user to set maximum constraints on a display
RUN_DEPENDS= gdesklets:${PORTSDIR}/deskutils/gdesklets
WRKSRC= ${WRKDIR}/${NAME}-${PORTVERSION}
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_PYTHON= yes
NAME= DisplayConstraints
do-build:
@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
@${FIND} ${WRKSRC} -name '*.orig' -delete
do-install:
@${MKDIR} ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}
${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/
${INSTALL_DATA} ${WRKSRC}/${NAME}/README ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/
.include <bsd.port.mk>
|