1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

- Update to version 0.2.8, another minor maintenance release, which brings

build system fixes and includes many new lens profiles (as always)
- Set MASTER_SITES back to BERLIOS; SF/lensfun.berlios does not provide
  distfile for v0.2.8 (carries 13 distfiles; 0.2.2b -> 0.2.7)
- Convert USE_GMAKE, modernize LIB_DEPENDS, sort knobs, stagify while here

PR:		ports/185424
Submitted by:	Matthieu Volat
This commit is contained in:
Alexey Dokuchaev 2014-01-15 05:36:17 +00:00
parent fcf9d7b312
commit 2e0636b6e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339754
3 changed files with 16 additions and 13 deletions

View File

@ -2,31 +2,29 @@
# $FreeBSD$
PORTNAME= lensfun
PORTVERSION= 0.2.7
PORTVERSION= 0.2.8
CATEGORIES= graphics
MASTER_SITES= SF/lensfun.berlios
MASTER_SITES= BERLIOS
MAINTAINER= danfe@FreeBSD.org
COMMENT= Library for fixing lens geometry distortions
LICENSE= LGPL3
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
USES= pkgconfig
USES= gmake pkgconfig
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= glib20
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
MAKEFILE= GNUmakefile
LIBVERSION= 2
PLIST_SUB+= LIBVERSION=${LIBVERSION}
@ -36,13 +34,12 @@ post-patch: .SILENT
${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}|' \
${REINPLACE_CMD} -e '/-s -O3/d' \
${WRKSRC}/build/tibs/compiler/gcc.mak
${REINPLACE_CMD} -e '/GROUPS/s| DOCS||' ${WRKSRC}/build/tibs/rules.mak
NO_STAGE= yes
post-install:
${LN} -sf lib${PORTNAME}.so \
${PREFIX}/lib/lib${PORTNAME}.so.${LIBVERSION}
${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.${LIBVERSION}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (lensfun-0.2.7.tar.bz2) = 3ddf0747bd6af1ec7d722f8c45dafdd8adfb96c081492b216c14d89f82806477
SIZE (lensfun-0.2.7.tar.bz2) = 552960
SHA256 (lensfun-0.2.8.tar.bz2) = f88f97fbc78259a2b2edddef295caf50770901107c8469e54bb5e9699faa1a48
SIZE (lensfun-0.2.8.tar.bz2) = 628913

View File

@ -14,14 +14,18 @@ libdata/pkgconfig/lensfun.pc
%%DATADIR%%/compact-panasonic.xml
%%DATADIR%%/compact-pentax.xml
%%DATADIR%%/compact-ricoh.xml
%%DATADIR%%/compact-samsung.xml
%%DATADIR%%/compact-sigma.xml
%%DATADIR%%/compact-sony.xml
%%DATADIR%%/generic.xml
%%DATADIR%%/mil-canon.xml
%%DATADIR%%/mil-fujifilm.xml
%%DATADIR%%/mil-nikon.xml
%%DATADIR%%/mil-olympus.xml
%%DATADIR%%/mil-panasonic.xml
%%DATADIR%%/mil-samsung.xml
%%DATADIR%%/mil-samyang.xml
%%DATADIR%%/mil-sigma.xml
%%DATADIR%%/mil-sony.xml
%%DATADIR%%/rf-leica.xml
%%DATADIR%%/slr-canon.xml
@ -34,8 +38,10 @@ libdata/pkgconfig/lensfun.pc
%%DATADIR%%/slr-panasonic.xml
%%DATADIR%%/slr-pentax.xml
%%DATADIR%%/slr-samsung.xml
%%DATADIR%%/slr-samyang.xml
%%DATADIR%%/slr-schneider.xml
%%DATADIR%%/slr-sigma.xml
%%DATADIR%%/slr-soligor.xml
%%DATADIR%%/slr-sony.xml
%%DATADIR%%/slr-tamron.xml
%%DATADIR%%/slr-tokina.xml