summaryrefslogtreecommitdiffstats
path: root/freebsd/core/tdelibs/Makefile
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-04-22 00:00:02 +0200
committerSlávek Banko <slavek.banko@axis.cz>2023-04-22 20:51:11 +0200
commit4975402d7f239a520dfcbd48e03dbab43e491d68 (patch)
tree1fa8069b82399fccffe1736bbc8af73d1f3a4d93 /freebsd/core/tdelibs/Makefile
parent718961e63499208eae72b6d4f56ae94004d41020 (diff)
downloadtde-packaging-4975402d7f239a520dfcbd48e03dbab43e491d68.tar.gz
tde-packaging-4975402d7f239a520dfcbd48e03dbab43e491d68.zip
FreeBSD: Add ports updated for final release R14.1.0.
Add a script to synchronize ports to the FreeBSD ports structure. Add meta-port 'tde-meta' to install all TDE ports. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/core/tdelibs/Makefile')
-rw-r--r--freebsd/core/tdelibs/Makefile101
1 files changed, 101 insertions, 0 deletions
diff --git a/freebsd/core/tdelibs/Makefile b/freebsd/core/tdelibs/Makefile
new file mode 100644
index 000000000..97bcf41a0
--- /dev/null
+++ b/freebsd/core/tdelibs/Makefile
@@ -0,0 +1,101 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+# TDE port map: core/tdelibs
+
+PORTSDIR?=/usr/ports
+.include <${PORTSDIR}/Mk/bsd.trinity.mk>
+
+PORTNAME= tdelibs-trinity
+COMMENT= Core libraries and binaries for all TDE applications
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= t/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= x11
+DIST_SUBDIR= TDE/core
+
+
+BUILD_DEPENDS+= ${TDE_PREFIX}/lib/libartsc.so:audio/arts-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+=\
+ hspell:hebrew/hspell \
+ iceauth:x11/iceauth \
+
+LIB_DEPENDS+=\
+ libbz2.so:archivers/bzip2 \
+ libgamin-1.so:devel/gamin \
+ libpcre.so:devel/pcre \
+ libmagic.so:sysutils/file \
+ libidn.so:dns/libidn \
+ libjasper.so:graphics/jasper \
+ libOpenEXR.so:graphics/openexr \
+ libtiff.so:graphics/tiff \
+ libcups.so:print/cups \
+ libfreetype.so:print/freetype2 \
+ libssl.so:security/openssl \
+ libaspell.so:textproc/aspell \
+ libxslt.so:textproc/libxslt \
+ libXcomposite.so:x11/libXcomposite \
+
+RUN_DEPENDS:\
+ ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \
+
+
+# Build
+post-patch: tde-pathfix
+ cd ${WRKSRC}; \
+ gsed -i kate/data/mel.xml \
+ tderandr/libtderandr.cpp \
+ -e "s|/bin/bash|${LOCALBASE}/bin/bash|g"
+
+do-configure: tde-cmake-prepare
+ ${TDE_CMAKE_CONFIGURE} \
+ -DWITH_GCC_VISIBILITY="ON" \
+ \
+ -DWITH_ALL_OPTIONS=ON \
+ -DWITH_ARTS=ON \
+ -DWITH_ALSA=ON \
+ -DWITH_SSL=ON \
+ -DWITH_CUPS=ON \
+ -DWITH_LUA=OFF \
+ -DWITH_TIFF=ON \
+ -DWITH_JASPER=ON \
+ -DWITH_OPENEXR=ON \
+ -DWITH_ELFICON=OFF \
+ -DWITH_AVAHI=ON \
+ -DWITH_PCRE=ON \
+ -DWITH_INOTIFY=OFF \
+ -DWITH_GAMIN=ON \
+ -DWITH_TDEHWLIB=OFF \
+ -DWITH_TDEHWLIB_DAEMONS=OFF \
+ -DWITH_UTEMPTER=OFF \
+ -DWITH_CONSOLEKIT=ON \
+ -DWITH_NETWORK_MANAGER_BACKEND=OFF \
+ -DWITH_SUDO_TDESU_BACKEND=OFF \
+ -DWITH_OLD_XDG_STD=OFF \
+ -DWITH_LZMA=ON \
+ -DWITH_LIBBFD=OFF \
+ -DWITH_XRANDR=ON \
+ -DWITH_XCOMPOSITE=ON \
+ -DWITH_MITSHM=ON \
+ -DWITH_IMAGETOPS_BINARY=ON \
+ \
+ -DWITH_ISPELL=ON \
+ -DWITH_ASPELL=ON \
+ -DWITH_HSPELL=ON \
+ -DDEFAULT_SPELL_CHECKER="ASPELL"
+
+do-build: tde-cmake-build
+
+post-build: tde-cmake-check
+
+do-install: tde-cmake-install
+
+.include <bsd.port.mk>