View | Details | Raw Unified | Return to bug 149254
Collapse All | Expand All

(-)lensfun/Makefile (-9 / +11 lines)
Lines 6-43 Link Here
6
#
6
#
7
7
8
PORTNAME=	lensfun
8
PORTNAME=	lensfun
9
PORTVERSION=	0.2.3
9
PORTVERSION=	0.2.5
10
CATEGORIES=	graphics
10
CATEGORIES=	graphics
11
MASTER_SITES=	BERLIOS
11
MASTER_SITES=	BERLIOS
12
12
13
MAINTAINER=	dindin@dindin.ru
13
MAINTAINER=	dindin@dindin.ru
14
COMMENT=	Library for fixing lens geometry distortion
14
COMMENT=	Library for fixing lens geometry distortion
15
15
16
LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
16
LIB_DEPENDS=	png:${PORTSDIR}/graphics/png
17
17
18
USE_GMAKE=	yes
18
USE_GMAKE=	yes
19
USE_PYTHON=	yes
19
USE_PYTHON=	yes
20
USE_BZIP2=	yes
20
USE_BZIP2=	yes
21
USE_GNOME=	glib20
21
USE_GNOME=	glib20
22
MAKEFILE=	GNUmakefile
22
MAKEFILE=	GNUmakefile
23
LIBVERSION= 2
23
24
24
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
25
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
25
CXXFLAGS+=	-I${LOCALBASE}/include
26
CXXFLAGS+=	-I${LOCALBASE}/include
26
27
27
HAS_CONFIGURE=	yes
28
HAS_CONFIGURE=	yes
28
CONFIGURE_ENV=	LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
29
CONFIGURE_ENV=	LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
29
CONFIGURE_ARGS= --prefix=${PREFIX} --target=${TARGET}
30
CONFIGURE_ARGS= --prefix=${PREFIX} --target=${TARGET} --vectorization=SSE
30
31
31
post-patch:
32
post-patch:
32
	@${REINPLACE_CMD} -e '1s|#!/usr/bin/python|#!/usr/bin/env python|' \
33
	@${REINPLACE_CMD} -e '1s|#!/usr/bin/python|#!/usr/bin/env python|' \
33
		-e 's|make --version|gmake --version|' \
34
		-e 's|make --version|gmake --version|' \
34
		-e '/add_config_mak.*DOXYGEN/ d' \
35
		-e '/add_config_mak.*DOXYGEN/ d' \
35
		${WRKSRC}/configure
36
		${WRKSRC}/configure
36
	@${REINPLACE_CMD} \
37
	@${REINPLACE_CMD} -e 's|{_libdir}/pkgconfig|{_libdir}/../libdata/pkgconfig|' \
37
		-e 's|cp -d|/bin/cp |' ${WRKSRC}/build/mak/host/posix.mak
38
		${WRKSRC}/build/lensfun.spec.in
38
	@${REINPLACE_CMD} -e 's|lib64|lib|' ${WRKSRC}/ac.py
39
	@${REINPLACE_CMD} -e 's|CONF_LIBDIR)pkgconfig|CONF_LIBDIR)../libdata/pkgconfig|g' \
39
	@${REINPLACE_CMD} \
40
		${WRKSRC}/build/tibs/compiler/pkgconfig.mak
40
		-e 's|$$(CONF_LIBDIR)pkgconfig/|$$(CONF_PREFIX)libdata/pkgconfig/|g'\
41
41
		${WRKSRC}/build/mak/compiler/pkgconfig.mak
42
#post-install:
43
#	@${LN} -sf ${PREFIX}/lib/lib${PORTNAME}.so ${PREFIX}/lib/lib${PORTNAME}.so.${LIBVERSION}
42
44
43
.include <bsd.port.mk>
45
.include <bsd.port.mk>
(-)lensfun/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (lensfun-0.2.3.tar.bz2) = c5c04be4f53e3eef450ff4948d8f65b3
1
MD5 (lensfun-0.2.5.tar.bz2) = a10438dffae68a5988fc54b0393a3755
2
SHA256 (lensfun-0.2.3.tar.bz2) = 836ab5869c0e81a54100c389e7274ead183d8dd5ee1992669bad92f57c43484f
2
SHA256 (lensfun-0.2.5.tar.bz2) = c21498eb1889714af25e4e08474d9faa1e45132c89a8c1ac97340233e988fb87
3
SIZE (lensfun-0.2.3.tar.bz2) = 151189
3
SIZE (lensfun-0.2.5.tar.bz2) = 470733
(-)lensfun/pkg-plist (-8 / +12 lines)
Lines 1-12 Link Here
1
lib/liblensfun.so
1
lib/liblensfun.so
2
lib/liblensfun.so.0
3
lib/liblensfun.so.0.2.3
4
include/lensfun.h
5
libdata/pkgconfig/lensfun.pc
2
libdata/pkgconfig/lensfun.pc
3
include/lensfun.h
6
%%DATADIR%%/6x6.xml
4
%%DATADIR%%/6x6.xml
7
%%DATADIR%%/compact-canon.xml
5
%%DATADIR%%/compact-canon.xml
8
%%DATADIR%%/compact-casio.xml
6
%%DATADIR%%/compact-casio.xml
9
%%DATADIR%%/compact-fujifilm.xml
7
%%DATADIR%%/compact-fujifilm.xml
8
%%DATADIR%%/compact-kodak.xml
10
%%DATADIR%%/compact-konica-minolta.xml
9
%%DATADIR%%/compact-konica-minolta.xml
11
%%DATADIR%%/compact-leica.xml
10
%%DATADIR%%/compact-leica.xml
12
%%DATADIR%%/compact-nikon.xml
11
%%DATADIR%%/compact-nikon.xml
Lines 14-27 Link Here
14
%%DATADIR%%/compact-panasonic.xml
13
%%DATADIR%%/compact-panasonic.xml
15
%%DATADIR%%/compact-pentax.xml
14
%%DATADIR%%/compact-pentax.xml
16
%%DATADIR%%/compact-ricoh.xml
15
%%DATADIR%%/compact-ricoh.xml
16
%%DATADIR%%/compact-sigma.xml
17
%%DATADIR%%/compact-sony.xml
17
%%DATADIR%%/compact-sony.xml
18
%%DATADIR%%/generic.xml
18
%%DATADIR%%/generic.xml
19
%%DATADIR%%/rf-leica.xml
19
%%DATADIR%%/rf-leica.xml
20
%%DATADIR%%/slr-canon.xml
20
%%DATADIR%%/slr-canon.xml
21
%%DATADIR%%/slr-contax.xml
21
%%DATADIR%%/slr-contax.xml
22
%%DATADIR%%/slr-hasselblad.xml
22
%%DATADIR%%/slr-konica-minolta.xml
23
%%DATADIR%%/slr-konica-minolta.xml
23
%%DATADIR%%/slr-nikon.xml
24
%%DATADIR%%/slr-nikon.xml
24
%%DATADIR%%/slr-olympus.xml
25
%%DATADIR%%/slr-olympus.xml
26
%%DATADIR%%/slr-panasonic.xml
25
%%DATADIR%%/slr-pentax.xml
27
%%DATADIR%%/slr-pentax.xml
26
%%DATADIR%%/slr-samsung.xml
28
%%DATADIR%%/slr-samsung.xml
27
%%DATADIR%%/slr-schneider.xml
29
%%DATADIR%%/slr-schneider.xml
Lines 30-38 Link Here
30
%%DATADIR%%/slr-tamron.xml
32
%%DATADIR%%/slr-tamron.xml
31
%%DATADIR%%/slr-tokina.xml
33
%%DATADIR%%/slr-tokina.xml
32
%%DATADIR%%/slr-ussr.xml
34
%%DATADIR%%/slr-ussr.xml
33
share/doc/lensfun-0.2.3/README
35
share/doc/lensfun-0.2.5/README
34
share/doc/lensfun-0.2.3/lgpl-3.0.txt
36
share/doc/lensfun-0.2.5/lgpl-3.0.txt
35
share/doc/lensfun-0.2.3/gpl-3.0.txt
37
share/doc/lensfun-0.2.5/gpl-3.0.txt
36
share/doc/lensfun-0.2.3/cc-by-sa-3.0.txt
38
share/doc/lensfun-0.2.5/cc-by-sa-3.0.txt
37
@dirrm share/doc/lensfun-0.2.3
39
@dirrm share/doc/lensfun-0.2.5
38
@dirrm %%DATADIR%%
40
@dirrm %%DATADIR%%
41
@dirrmtry lib/pkgconfig
42
@exec ln -fs lib/liblensfun.so lib/liblensfun.so.2

Return to bug 149254