summaryrefslogtreecommitdiffstats
path: root/freebsd/applications/kpowersave/Makefile
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-02-18 19:50:22 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-04-27 23:22:25 +0200
commit4015e6cf3ce7a2787b4d9d8aee4c860c28c110fb (patch)
treec4821fd4feebc8bb562fd5b3bda7ec3556fb1a69 /freebsd/applications/kpowersave/Makefile
parent37c9371d70f9aeffc435b896e88bf20b490cfd55 (diff)
downloadtde-packaging-4015e6cf3ce7a2787b4d9d8aee4c860c28c110fb.tar.gz
tde-packaging-4015e6cf3ce7a2787b4d9d8aee4c860c28c110fb.zip
FreeBSD: Update for final release R14.0.8.r14.0.8
Switch from gmake to ninja for CMake builds. Switch several applications to CMake. Add ports for several applications. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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>