are the latest stable releases. * Update vala to the newest stable release 0.18.1, also update a few ports in the gtk/gnome stack. * The c++ bindings ports for glib, atk, gconf, etc, have now USE_GNOME toggles. * Remove pkg-config run depends from glib20 and freetype2. This doesn't eliminate pkg-config run dependency completely, a second phase is needed and is planned. * Support for .:run. and .:build. for USE_GNOME components was added. Currently only libxml2 and libxslt support this mechanism. * Updates of the telepathy stack and empathy. * Trim makefile headers, convert ports to new options, trim off library versions for some ports. * Fix other ports so they build with the new glib version. Thanks to miwi and crees for helping out with some exp-runs. Approved by: portmgr (miwi & bapt) Obtained from: gnome team repo
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# Created by: Denis Barov <dindin@dindin.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lensfun
|
|
PORTVERSION= 0.2.7
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/lensfun.berlios
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Library for fixing lens geometry distortions
|
|
|
|
LICENSE= LGPL3
|
|
|
|
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_GNOME= glib20
|
|
USE_PKGCONFIG= build
|
|
USE_LDCONFIG= yes
|
|
USE_PYTHON_BUILD= yes
|
|
|
|
MAKEFILE= GNUmakefile
|
|
LIBVERSION= 2
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ENV= LD="${CXX}" AR="${AR}"
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --target=${TARGET} --vectorization=SSE
|
|
MAKE_ARGS= V=1 # we want to know what's going on during the build
|
|
|
|
PLIST_SUB+= LIBVERSION=${LIBVERSION}
|
|
|
|
post-patch: .SILENT
|
|
${REINPLACE_CMD} -e '1s|#!/usr/bin/python|#!/usr/bin/env python|' \
|
|
-e 's|make --version|g&|' -e '/DOXYGEN/d' ${WRKSRC}/configure
|
|
${REINPLACE_CMD} -e \
|
|
's|CONF_LIBDIR)pkgconfig|CONF_LIBDIR)../libdata/pkgconfig|' \
|
|
${WRKSRC}/build/tibs/compiler/pkgconfig.mak
|
|
${REINPLACE_CMD} -e '/-s -O3/d' -e '/LDFLAGS\.r/s|-s|${STRIP}|' \
|
|
${WRKSRC}/build/tibs/compiler/gcc.mak
|
|
${REINPLACE_CMD} -e '/GROUPS/s| DOCS||' ${WRKSRC}/build/tibs/rules.mak
|
|
|
|
post-install:
|
|
${LN} -sf lib${PORTNAME}.so \
|
|
${PREFIX}/lib/lib${PORTNAME}.so.${LIBVERSION}
|
|
|
|
.include <bsd.port.mk>
|