aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gdesklets-multitail/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-01-07 04:13:54 +0800
committerpav <pav@FreeBSD.org>2004-01-07 04:13:54 +0800
commita844215a8c637695caeb3becb74b1a78185afb50 (patch)
tree00de489038f4b9ad7661865f934305877674ddd8 /sysutils/gdesklets-multitail/Makefile
parent78cee69e767018db60d977cfc59b268253c1502d (diff)
downloadfreebsd-ports-gnome-a844215a8c637695caeb3becb74b1a78185afb50.tar.gz
freebsd-ports-gnome-a844215a8c637695caeb3becb74b1a78185afb50.tar.zst
freebsd-ports-gnome-a844215a8c637695caeb3becb74b1a78185afb50.zip
- Switch to use standalone port of displayconstraints
- Raise PORTREVISION PR: ports/60980 Submitted by: Franz Klammer <klammer@webonaut.com> (maintainer)
Diffstat (limited to 'sysutils/gdesklets-multitail/Makefile')
-rw-r--r--sysutils/gdesklets-multitail/Makefile64
1 files changed, 29 insertions, 35 deletions
diff --git a/sysutils/gdesklets-multitail/Makefile b/sysutils/gdesklets-multitail/Makefile
index b748433d68df..721aabd57441 100644
--- a/sysutils/gdesklets-multitail/Makefile
+++ b/sysutils/gdesklets-multitail/Makefile
@@ -7,6 +7,7 @@
PORTNAME= multitail
PORTVERSION= 0.1.6
+PORTREVISION= 1
CATEGORIES= sysutils gnome
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
PKGNAMEPREFIX= gdesklets-
@@ -15,53 +16,46 @@ DISTNAME= multitail-${PORTVERSION}
MAINTAINER= klammer@webonaut.com
COMMENT= Tail up to 5 files in one gdesklets display
-RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets
+RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets \
+ ${DATADIR}/gdesklets/Sensors/DisplayConstraints/__init__.py:${PORTSDIR}/deskutils/gdesklets-sensor-displayconstraints
-WRKSRC= ${WRKDIR}/${NAME1}-${PORTVERSION}
+WRKSRC= ${WRKDIR}/${NAME}-${PORTVERSION}
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_PYTHON= yes
-NAME1= MultiTail
-NAME2= DisplayConstraints
+DATADIR= ${PREFIX}/share/gnome
+NAME= MultiTail
do-build:
- @${WRKSRC}/Install_${NAME1}_Sensor.bin --nomsg ${WRKSRC}
- @${WRKSRC}/Install_${NAME2}_Sensor.bin --nomsg ${WRKSRC}
+ @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
@${FIND} ${WRKSRC} -name '*.orig' -delete
do-install:
- @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME1}
- @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME2}
- @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/dark-theme/gfx
- @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/light-theme/gfx
- @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/trans-theme/gfx
- ${INSTALL_DATA} ${WRKSRC}/${NAME1}/README \
- ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/
- ${INSTALL_DATA} ${WRKSRC}/${NAME1}/dark-theme/*.display \
- ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/dark-theme/
- ${INSTALL_DATA} ${WRKSRC}/${NAME1}/dark-theme/gfx/*.png \
- ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/dark-theme/gfx/
- ${INSTALL_DATA} ${WRKSRC}/${NAME1}/light-theme/*.display \
- ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/light-theme/
- ${INSTALL_DATA} ${WRKSRC}/${NAME1}/light-theme/gfx/*.png \
- ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/light-theme/gfx/
- ${INSTALL_DATA} ${WRKSRC}/${NAME1}/trans-theme/*.display \
- ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/trans-theme/
- ${INSTALL_DATA} ${WRKSRC}/${NAME1}/trans-theme/gfx/*.png \
- ${PREFIX}/share/gnome/gdesklets/Displays/${NAME1}/trans-theme/gfx/
- ${INSTALL_DATA} ${WRKSRC}/${NAME1}/*.py \
- ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME1}/
- ${INSTALL_DATA} ${WRKSRC}/${NAME2}/*.py \
- ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME2}/
+ @${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}
+ @${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/dark-theme/gfx
+ @${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/light-theme/gfx
+ @${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/trans-theme/gfx
+ ${INSTALL_DATA} ${WRKSRC}/${NAME}/README \
+ ${DATADIR}/gdesklets/Displays/${NAME}/
+ ${INSTALL_DATA} ${WRKSRC}/${NAME}/dark-theme/*.display \
+ ${DATADIR}/gdesklets/Displays/${NAME}/dark-theme/
+ ${INSTALL_DATA} ${WRKSRC}/${NAME}/dark-theme/gfx/*.png \
+ ${DATADIR}/gdesklets/Displays/${NAME}/dark-theme/gfx/
+ ${INSTALL_DATA} ${WRKSRC}/${NAME}/light-theme/*.display \
+ ${DATADIR}/gdesklets/Displays/${NAME}/light-theme/
+ ${INSTALL_DATA} ${WRKSRC}/${NAME}/light-theme/gfx/*.png \
+ ${DATADIR}/gdesklets/Displays/${NAME}/light-theme/gfx/
+ ${INSTALL_DATA} ${WRKSRC}/${NAME}/trans-theme/*.display \
+ ${DATADIR}/gdesklets/Displays/${NAME}/trans-theme/
+ ${INSTALL_DATA} ${WRKSRC}/${NAME}/trans-theme/gfx/*.png \
+ ${DATADIR}/gdesklets/Displays/${NAME}/trans-theme/gfx/
+ ${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py \
+ ${DATADIR}/gdesklets/Sensors/${NAME}/
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
- ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME1}/
+ ${DATADIR}/gdesklets/Sensors/${NAME}/
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
- ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME1}/
- @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
- ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME2}/
- @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
- ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME2}/
+ ${DATADIR}/gdesklets/Sensors/${NAME}/
post-install:
@${CAT} ${PKGMESSAGE}