summaryrefslogtreecommitdiffstats
path: root/freebsd/applications/kpowersave/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/applications/kpowersave/Makefile')
-rw-r--r--freebsd/applications/kpowersave/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/freebsd/applications/kpowersave/Makefile b/freebsd/applications/kpowersave/Makefile
new file mode 100644
index 000000000..b2a465418
--- /dev/null
+++ b/freebsd/applications/kpowersave/Makefile
@@ -0,0 +1,40 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+
+.include <../../trinity.port.mk>
+
+PORTNAME= kpowersave-trinity
+COMMENT= HAL based power management applet for Trinity
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= k/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= x11
+DIST_SUBDIR= TDE/applications
+
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/tdelibs
+
+LIB_DEPENDS+=\
+ libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface \
+ libdbus-tqt-1.so:${PORTSDIR}/x11/trinity/dependencies/dbus-tqt
+
+LIB_DEPENDS+=\
+ libhal.so:${PORTSDIR}/sysutils/hal \
+ libXss.so:${PORTSDIR}/x11/libXScrnSaver \
+ libXtst.so:${PORTSDIR}/x11/libXtst \
+
+
+# Build
+post-patch: tde-pathfix
+
+do-configure: tde-cmake-prepare
+ ${TDE_CMAKE_CONFIGURE} \
+ -DBUILD_ALL="ON"
+
+do-build: tde-cmake-build
+
+do-install: tde-cmake-install
+
+.include <bsd.port.mk>