diff options
Diffstat (limited to 'freebsd/tdebase/Makefile')
-rw-r--r-- | freebsd/tdebase/Makefile | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/freebsd/tdebase/Makefile b/freebsd/tdebase/Makefile new file mode 100644 index 000000000..d2139198d --- /dev/null +++ b/freebsd/tdebase/Makefile @@ -0,0 +1,104 @@ +# -*-mode: makefile-*- +# Created by: slavek.banko@axis.cz +# $FreeBSD$ +# + +.include <../trinity.port.mk> + +PORTNAME= tdebase-trinity +COMMENT= Trinity Base Programs +TDE_PREVERSION= ~pre51+3977c550 +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.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+=\ + 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 <bsd.port.mk> |