summaryrefslogtreecommitdiffstats
path: root/freebsd/core/tdebase/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/core/tdebase/Makefile')
-rw-r--r--freebsd/core/tdebase/Makefile108
1 files changed, 108 insertions, 0 deletions
diff --git a/freebsd/core/tdebase/Makefile b/freebsd/core/tdebase/Makefile
new file mode 100644
index 000000000..e1183ebaa
--- /dev/null
+++ b/freebsd/core/tdebase/Makefile
@@ -0,0 +1,108 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+# TDE port map: core/tdebase
+
+PORTSDIR?=/usr/ports
+.include <${PORTSDIR}/Mk/bsd.trinity.mk>
+
+PORTNAME= tdebase-trinity
+COMMENT= Trinity Base Programs
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= t/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= x11
+DIST_SUBDIR= TDE/core
+
+
+USES+= perl5
+USE_PERL5+= build
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libartsc.so:audio/arts-trinity \
+ ${TDE_PREFIX}/lib/libtdecore.so:x11/tdelibs-trinity \
+ ${LOCALBASE}/share/cmake/Modules/TDEMacros.cmake:devel/tde-cmake \
+
+LIB_DEPENDS+= libtqt.so:x11-toolkits/libtqtinterface \
+ libavahi-tqt.so:net/avahi-tqt \
+ libdbus-1-tqt.so:devel/dbus-1-tqt \
+ libart_lgpl_2.so:graphics/libart_lgpl-trinity \
+
+BUILD_DEPENDS+=\
+ bdftopcf:x11-fonts/bdftopcf \
+ xrdb:x11/xrdb \
+ htdig:textproc/htdig \
+ xscreensaver:x11/xscreensaver \
+
+LIB_DEPENDS+=\
+ libconfig.so:devel/libconfig \
+ libldap.so:net/openldap24-client \
+ libsasl2.so:security/cyrus-sasl2 \
+ libssh.so:security/libssh \
+ libxkbfile.so:x11/libxkbfile \
+ libXss.so:x11/libXScrnSaver \
+ libXtst.so:x11/libXtst \
+
+RUN_DEPENDS+=\
+ xrandr:x11/xrandr \
+ xset:x11/xset \
+ xsetroot:x11/xsetroot \
+
+USES+= samba
+
+
+# Build
+post-patch: tde-pathfix
+ cd ${WRKSRC}; \
+ gsed -i starttde r14-xdg-update migratekde3 \
+ -e "s| sed| gsed|g"; \
+ gsed -i r14-xdg-update migratekde3 \
+ -e "s| find| gfind|g"; \
+ gsed -i "tdm/kfrontend/gentdmconf.c" \
+ -e "s|. /etc/X11/Xsession|exec \$$session|"
+
+do-configure: tde-cmake-prepare
+ ${TDE_CMAKE_CONFIGURE} \
+ -DWITH_GCC_VISIBILITY="ON" \
+ \
+ -DWITH_ALL_OPTIONS=ON \
+ -DWITH_SASL=ON \
+ -DWITH_LDAP=ON \
+ -DWITH_SAMBA=ON \
+ -DWITH_OPENEXR=ON \
+ -DWITH_XCOMPOSITE=ON \
+ -DWITH_XCURSOR=ON \
+ -DWITH_XFIXES=ON \
+ -DWITH_XRANDR=ON \
+ -DWITH_XRENDER=ON \
+ -DWITH_LIBCONFIG=ON \
+ -DWITH_PCRE=ON \
+ -DWITH_XTEST=ON \
+ -DWITH_XSCREENSAVER=ON \
+ -DWITH_LIBART=ON \
+ -DWITH_LIBUSB=ON \
+ -DWITH_LIBRAW1394=OFF \
+ -DWITH_SUDO_TDESU_BACKEND=OFF \
+ -DWITH_SUDO_KONSOLE_SUPER_USER_COMMAND=OFF \
+ -DWITH_PAM=ON \
+ -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \
+ -DTDM_PAM_SERVICE="tdm-trinity" \
+ -DTDESCREENSAVER_PAM_SERVICE="tdescreensaver-trinity" \
+ -DWITH_SHADOW=OFF \
+ -DWITH_XDMCP=ON \
+ -DWITH_XINERAMA=ON \
+ -DWITH_ARTS=ON \
+ -DWITH_SENSORS=OFF \
+ -DWITH_TDEHWLIB=OFF \
+ -DWITH_UPOWER=ON \
+ -DWITH_ELFICON=OFF \
+ \
+ -DBUILD_ALL=ON \
+ -DBUILD_TSAK=OFF \
+ -DBUILD_TDEKBDLEDSYNC=OFF
+
+do-build: tde-cmake-build
+
+do-install: tde-cmake-install
+
+.include <bsd.port.mk>