diff options
Diffstat (limited to 'freebsd/dependencies/libart-lgpl/Makefile')
-rw-r--r-- | freebsd/dependencies/libart-lgpl/Makefile | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/freebsd/dependencies/libart-lgpl/Makefile b/freebsd/dependencies/libart-lgpl/Makefile index 1789aa381..471637f45 100644 --- a/freebsd/dependencies/libart-lgpl/Makefile +++ b/freebsd/dependencies/libart-lgpl/Makefile @@ -17,26 +17,23 @@ CATEGORIES= graphics DIST_SUBDIR= TDE/dependencies PREFIX= ${LOCALBASE} - -BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake +CONFLICTS= libart-[0-9]* -USES= libtool pathfix -USE_LDCONFIG= yes -GNU_CONFIGURE= yes -MAKE_JOBS_UNSAFE= yes +# build -CONFLICTS= libart-[0-9]* +post-patch: tde-pathfix -do-configure: - mkdir "${WRKSRC}/.build" - cd "${WRKSRC}/.build" && ${WRKSRC}/configure +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: - ${MAKE_CMD} -C "${WRKSRC}/.build" +do-build: tde-cmake-build -do-install: - ${MAKE_CMD} -C "${WRKSRC}/.build" DESTDIR=${STAGEDIR} install +do-install: tde-cmake-install post-stage: ${LN} -s libart_lgpl_2.so.2 ${STAGEDIR}${PREFIX}/lib/libart_lgpl_2.so.5 |