# -*-mode: makefile-*- # Created by: slavek.banko@axis.cz # $FreeBSD$ # .include <../trinity.port.mk> PORTNAME= tdebase-trinity COMMENT= Trinity Base Programs TDE_PREVERSION= ~pre6+dfa23aff MASTER_SITE_SUBDIR= t/${PORTNAME} PORTREVISION= 0 CATEGORIES= x11 DIST_SUBDIR= TDE USES+= perl5 USE_PERL5+= build BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libartsc.so:${PORTSDIR}/x11/trinity/dependencies/arts \ ${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/tdelibs \ LIB_DEPENDS+= libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface \ libavahi-tqt.so:${PORTSDIR}/x11/trinity/dependencies/avahi-tqt \ libdbus-tqt-1.so:${PORTSDIR}/x11/trinity/dependencies/dbus-tqt \ libdbus-1-tqt.so:${PORTSDIR}/x11/trinity/dependencies/dbus-1-tqt \ libart_lgpl_2.so:${PORTSDIR}/x11/trinity/dependencies/libart-lgpl \ BUILD_DEPENDS+=\ bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \ xrdb:${PORTSDIR}/x11/xrdb \ htdig:${PORTSDIR}/textproc/htdig \ xscreensaver:${PORTSDIR}/x11/xscreensaver \ LIB_DEPENDS+=\ libconfig.so:${PORTSDIR}/devel/libconfig \ libldap.so:${PORTSDIR}/net/openldap24-client \ libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient \ libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 \ libhal-storage.so:${PORTSDIR}/sysutils/hal \ libxkbfile.so:${PORTSDIR}/x11/libxkbfile \ libXss.so:${PORTSDIR}/x11/libXScrnSaver \ libXtst.so:${PORTSDIR}/x11/libXtst \ RUN_DEPENDS+=\ xrandr:${PORTSDIR}/x11/xrandr \ xset:${PORTSDIR}/x11/xset \ xsetroot:${PORTSDIR}/x11/xsetroot \ # 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_HAL=ON \ -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