mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
cee1bf4672
away in next version
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# New ports collection makefile for: gdesklets-sensor-psi_externalinterval
|
|
# Date created: 20 September 2003
|
|
# Whom: Franz Klammer <klammer@webonaut.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= externalinterval
|
|
PORTVERSION= 0.1.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= deskutils gnome
|
|
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
|
|
PKGNAMEPREFIX= gdesklets-sensor-psi_
|
|
DISTNAME= PsiSensorPackage-20040420
|
|
|
|
MAINTAINER= klammer@webonaut.com
|
|
COMMENT= ExternalInterval sensor from the Psi Sensor Package
|
|
|
|
RUN_DEPENDS= gdesklets:${PORTSDIR}/deskutils/gdesklets
|
|
|
|
USE_PYTHON= yes
|
|
USE_X_PREFIX= yes
|
|
|
|
NAME= ExternalInterval
|
|
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>
|