diff options
Diffstat (limited to 'freebsd/dependencies/libart-lgpl/Makefile')
-rw-r--r-- | freebsd/dependencies/libart-lgpl/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/freebsd/dependencies/libart-lgpl/Makefile b/freebsd/dependencies/libart-lgpl/Makefile new file mode 100644 index 000000000..5405d5e78 --- /dev/null +++ b/freebsd/dependencies/libart-lgpl/Makefile @@ -0,0 +1,46 @@ +# -*-mode: makefile-*- +# Created by: slavek.banko@axis.cz +# $FreeBSD$ +# +# TDE port map: dependencies/libart-lgpl > graphics/libart_lgpl-trinity + +PORTSDIR?=/usr/ports +.include <${PORTSDIR}/Mk/bsd.trinity.mk> + +PORTNAME= libart_lgpl +COMMENT= Library for high-performance 2D graphics +TDE_PREVERSION= +MASTER_SITE_SUBDIR= liba/libart-lgpl +DISTNAME= libart-lgpl_${TDE_VERSION}${TDE_PREVERSION:C/(~(pre|r|s)[0-9]*).*/\1/1} +DISTSRC= libart-lgpl-trinity-${TDE_VERSION}${TDE_PREVERSION} +PORTREVISION= 0 +PORTEPOCH= 1 +CATEGORIES= graphics +DIST_SUBDIR= TDE/dependencies +PREFIX= ${LOCALBASE} + +CONFLICTS= libart-[0-9]* + +BUILD_DEPENDS += \ + ${LOCALBASE}/share/cmake/Modules/TDEMacros.cmake:devel/tde-cmake \ + + +# Build + +post-patch: tde-pathfix + +do-configure: tde-cmake-prepare + ${TDE_CMAKE_CONFIGURE} \ + -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ + -DPKGCONFIG_INSTALL_DIR="${PREFIX}/libdata/pkgconfig" \ + -DBUILD_ALL="ON" \ + -DWITH_ALL_OPTIONS="ON" + +do-build: tde-cmake-build + +do-install: tde-cmake-install + +post-stage: + ${LN} -s libart_lgpl_2.so.2 ${STAGEDIR}${PREFIX}/lib/libart_lgpl_2.so.5 + +.include <bsd.port.mk> |