Bug 134923 - [NEW PORT] graphics/lensfun - library for fixing lens geometry distortion
Summary: [NEW PORT] graphics/lensfun - library for fixing lens geometry distortion
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-25 03:30 UTC by Denis Barov
Modified: 2009-05-26 18:00 UTC (History)
1 user (show)

See Also:


Attachments
file.shar (3.58 KB, text/plain)
2009-05-25 03:30 UTC, Denis Barov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Barov 2009-05-25 03:30:01 UTC
	[NEW PORT] graphics/lensfun - library for fixing lens geometry distortion
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2009-05-25 07:32:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

I'll take it.
Comment 2 Denis Barov 2009-05-25 08:40:09 UTC
I'm sorry, this shar was cleaned with portlint:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	graphics/lensfun
#	graphics/lensfun/Makefile
#	graphics/lensfun/distinfo
#	graphics/lensfun/pkg-descr
#	graphics/lensfun/pkg-plist
#
echo c - graphics/lensfun
mkdir -p graphics/lensfun > /dev/null 2>&1
echo x - graphics/lensfun/Makefile
sed 's/^X//' >graphics/lensfun/Makefile << '2bd5ba36cc4352bd62ec32c1e0cf8ad4'
X# New ports collection makefile for:	lensfun
X# Date created:				Mon 25 May 2009 04:45:47 MSD
X# Whom:					dindin@dindin.ru
X#
X# $FreeBSD$
X#
X
XPORTNAME=	lensfun
XPORTVERSION=	0.2.3
XCATEGORIES=	graphics
XMASTER_SITES=	${MASTER_SITE_BERLIOS}
XMASTER_SITE_SUBDIR=lensfun
X
XMAINTAINER=	dindin@dindin.ru
XCOMMENT= Library for fixing lens geometry distortion
X
XLIB_DEPENDS=jpeg.9:${PORTSDIR}/graphics/jpeg \
X		tiff.4:${PORTSDIR}/graphics/tiff \
X		png.5:${PORTSDIR}/graphics/png 
X
XUSE_GMAKE=	yes
XUSE_PYTHON= yes
XUSE_BZIP2= yes
X
XLDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
XCXXFLAGS=	-I${LOCALBASE}/include
X
XHAS_CONFIGURE=	yes
XCONFIGURE_ENV=	LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
X
Xpost-patch:
X	@${REINPLACE_CMD} -e '1s|#!/usr/bin/python|#!/usr/bin/env python|' \
X				-e '18s|make --version|gmake --version|' ${WRKSRC}/configure
X	@${REINPLACE_CMD} \
X			-e '8,14s|cp -d|/bin/cp |' ${WRKSRC}/build/mak/host/posix.mak
X
Xpost-configure:
X	@${MV} ${WRKSRC}/GNUmakefile ${WRKSRC}/Makefile
X
X.include <bsd.port.mk>
2bd5ba36cc4352bd62ec32c1e0cf8ad4
echo x - graphics/lensfun/distinfo
sed 's/^X//' >graphics/lensfun/distinfo << 'ecd3ec8b24c9058dee35aa2479bfdd3d'
XMD5 (lensfun-0.2.3.tar.bz2) = c5c04be4f53e3eef450ff4948d8f65b3
XSHA256 (lensfun-0.2.3.tar.bz2) = 836ab5869c0e81a54100c389e7274ead183d8dd5ee1992669bad92f57c43484f
XSIZE (lensfun-0.2.3.tar.bz2) = 151189
ecd3ec8b24c9058dee35aa2479bfdd3d
echo x - graphics/lensfun/pkg-descr
sed 's/^X//' >graphics/lensfun/pkg-descr << '6223a91882c7e060483dc8b4cadcfdb4'
Xlensfun is library for rectifying the defects introduced
Xby your photographic equipment. 
X
XWWW: http://lensfun.berlios.de/
6223a91882c7e060483dc8b4cadcfdb4
echo x - graphics/lensfun/pkg-plist
sed 's/^X//' >graphics/lensfun/pkg-plist << 'e9551fb09d245b194e68b9381eb6b37c'
Xlib/liblensfun.so
Xlib/liblensfun.so.0
Xlib/liblensfun.so.0.2.3
Xinclude/lensfun.h
Xlib/pkgconfig/lensfun.pc
Xshare/lensfun/6x6.xml
Xshare/lensfun/compact-canon.xml
Xshare/lensfun/compact-casio.xml
Xshare/lensfun/compact-fujifilm.xml
Xshare/lensfun/compact-konica-minolta.xml
Xshare/lensfun/compact-leica.xml
Xshare/lensfun/compact-nikon.xml
Xshare/lensfun/compact-olympus.xml
Xshare/lensfun/compact-panasonic.xml
Xshare/lensfun/compact-pentax.xml
Xshare/lensfun/compact-ricoh.xml
Xshare/lensfun/compact-sony.xml
Xshare/lensfun/generic.xml
Xshare/lensfun/rf-leica.xml
Xshare/lensfun/slr-canon.xml
Xshare/lensfun/slr-contax.xml
Xshare/lensfun/slr-konica-minolta.xml
Xshare/lensfun/slr-nikon.xml
Xshare/lensfun/slr-olympus.xml
Xshare/lensfun/slr-pentax.xml
Xshare/lensfun/slr-samsung.xml
Xshare/lensfun/slr-schneider.xml
Xshare/lensfun/slr-sigma.xml
Xshare/lensfun/slr-sony.xml
Xshare/lensfun/slr-tamron.xml
Xshare/lensfun/slr-tokina.xml
Xshare/lensfun/slr-ussr.xml
Xshare/doc/lensfun-0.2.3/README
Xshare/doc/lensfun-0.2.3/lgpl-3.0.txt
Xshare/doc/lensfun-0.2.3/gpl-3.0.txt
Xshare/doc/lensfun-0.2.3/cc-by-sa-3.0.txt
X@dirrm share/doc/lensfun-0.2.3
X@dirrm share/lensfun
e9551fb09d245b194e68b9381eb6b37c
exit



-- 
Cheers
Denis Barov
Comment 3 Denis Barov 2009-05-25 16:24:06 UTC
fixed amd64 libdir, some cleanup

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	graphics/lensfun
#	graphics/lensfun/Makefile
#	graphics/lensfun/distinfo
#	graphics/lensfun/pkg-descr
#	graphics/lensfun/pkg-plist
#
echo c - graphics/lensfun
mkdir -p graphics/lensfun > /dev/null 2>&1
echo x - graphics/lensfun/Makefile
sed 's/^X//' >graphics/lensfun/Makefile << '2bd5ba36cc4352bd62ec32c1e0cf8ad4'
X# New ports collection makefile for:	lensfun
X# Date created:				Mon 25 May 2009 04:45:47 MSD
X# Whom:					dindin@dindin.ru
X#
X# $FreeBSD$
X#
X
XPORTNAME=	lensfun
XPORTVERSION=	0.2.3
XCATEGORIES=	graphics
XMASTER_SITES=	BERLIOS
XMASTER_SITE_SUBDIR=	lensfun
X
XMAINTAINER=	dindin@dindin.ru
XCOMMENT=	Library for fixing lens geometry distortion
X
XLIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
X
XUSE_GMAKE=	yes
XUSE_PYTHON=	yes
XUSE_BZIP2=	yes
XUSE_GNOME=	glib20
XMAKEFILE=	GNUmakefile
X
XLDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
XCXXFLAGS=	-I${LOCALBASE}/include
X
XHAS_CONFIGURE=	yes
XCONFIGURE_ENV=	LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
X
Xpost-patch:
X	@${REINPLACE_CMD} -e '1s|#!/usr/bin/python|#!/usr/bin/env python|' \
X		-e '18s|make --version|gmake --version|' ${WRKSRC}/configure
X	@${REINPLACE_CMD} \
X		-e '8,14s|cp -d|/bin/cp |' ${WRKSRC}/build/mak/host/posix.mak
X	@${REINPLACE_CMD} -e '321s|lib64|lib|' ${WRKSRC}/ac.py
X
X.include <bsd.port.mk>
2bd5ba36cc4352bd62ec32c1e0cf8ad4
echo x - graphics/lensfun/distinfo
sed 's/^X//' >graphics/lensfun/distinfo << 'ecd3ec8b24c9058dee35aa2479bfdd3d'
XMD5 (lensfun-0.2.3.tar.bz2) = c5c04be4f53e3eef450ff4948d8f65b3
XSHA256 (lensfun-0.2.3.tar.bz2) = 836ab5869c0e81a54100c389e7274ead183d8dd5ee1992669bad92f57c43484f
XSIZE (lensfun-0.2.3.tar.bz2) = 151189
ecd3ec8b24c9058dee35aa2479bfdd3d
echo x - graphics/lensfun/pkg-descr
sed 's/^X//' >graphics/lensfun/pkg-descr << '6223a91882c7e060483dc8b4cadcfdb4'
Xlensfun is library for rectifying the defects introduced
Xby your photographic equipment. 
X
XWWW: http://lensfun.berlios.de/
6223a91882c7e060483dc8b4cadcfdb4
echo x - graphics/lensfun/pkg-plist
sed 's/^X//' >graphics/lensfun/pkg-plist << 'e9551fb09d245b194e68b9381eb6b37c'
Xlib/liblensfun.so
Xlib/liblensfun.so.0
Xlib/liblensfun.so.0.2.3
Xinclude/lensfun.h
Xlib/pkgconfig/lensfun.pc
Xshare/lensfun/6x6.xml
Xshare/lensfun/compact-canon.xml
Xshare/lensfun/compact-casio.xml
Xshare/lensfun/compact-fujifilm.xml
Xshare/lensfun/compact-konica-minolta.xml
Xshare/lensfun/compact-leica.xml
Xshare/lensfun/compact-nikon.xml
Xshare/lensfun/compact-olympus.xml
Xshare/lensfun/compact-panasonic.xml
Xshare/lensfun/compact-pentax.xml
Xshare/lensfun/compact-ricoh.xml
Xshare/lensfun/compact-sony.xml
Xshare/lensfun/generic.xml
Xshare/lensfun/rf-leica.xml
Xshare/lensfun/slr-canon.xml
Xshare/lensfun/slr-contax.xml
Xshare/lensfun/slr-konica-minolta.xml
Xshare/lensfun/slr-nikon.xml
Xshare/lensfun/slr-olympus.xml
Xshare/lensfun/slr-pentax.xml
Xshare/lensfun/slr-samsung.xml
Xshare/lensfun/slr-schneider.xml
Xshare/lensfun/slr-sigma.xml
Xshare/lensfun/slr-sony.xml
Xshare/lensfun/slr-tamron.xml
Xshare/lensfun/slr-tokina.xml
Xshare/lensfun/slr-ussr.xml
Xshare/doc/lensfun-0.2.3/README
Xshare/doc/lensfun-0.2.3/lgpl-3.0.txt
Xshare/doc/lensfun-0.2.3/gpl-3.0.txt
Xshare/doc/lensfun-0.2.3/cc-by-sa-3.0.txt
X@dirrm share/doc/lensfun-0.2.3
X@dirrm share/lensfun
e9551fb09d245b194e68b9381eb6b37c
exit

-- 
Cheers
Denis Barov
Comment 4 Denis Barov 2009-05-26 17:14:12 UTC
- share/lensfun substituted with %%DATADIR%% in pkg-plist
- lensfun.pc insalling in libdata/pkgconfig/
- add ${PREFIX} support


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	graphics/lensfun
#	graphics/lensfun/Makefile
#	graphics/lensfun/distinfo
#	graphics/lensfun/pkg-descr
#	graphics/lensfun/pkg-plist
#
echo c - graphics/lensfun
mkdir -p graphics/lensfun > /dev/null 2>&1
echo x - graphics/lensfun/Makefile
sed 's/^X//' >graphics/lensfun/Makefile << '2bd5ba36cc4352bd62ec32c1e0cf8ad4'
X# New ports collection makefile for:	lensfun
X# Date created:				Mon 25 May 2009 04:45:47 MSD
X# Whom:					dindin@dindin.ru
X#
X# $FreeBSD$
X#
X
XPORTNAME=	lensfun
XPORTVERSION=	0.2.3
XCATEGORIES=	graphics
XMASTER_SITES=	BERLIOS
XMASTER_SITE_SUBDIR=	lensfun
X
XMAINTAINER=	dindin@dindin.ru
XCOMMENT=	Library for fixing lens geometry distortion
X
XLIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
X
XUSE_GMAKE=	yes
XUSE_PYTHON=	yes
XUSE_BZIP2=	yes
XUSE_GNOME=	glib20
XMAKEFILE=	GNUmakefile
X
XLDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
XCXXFLAGS+=	-I${LOCALBASE}/include
X
XHAS_CONFIGURE=	yes
XCONFIGURE_ENV=	LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
XCONFIGURE_ARGS= --prefix=${PREFIX} --target=${TARGET}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e '1s|#!/usr/bin/python|#!/usr/bin/env python|' \
X		-e 's|make --version|gmake --version|' ${WRKSRC}/configure
X	@${REINPLACE_CMD} \
X		-e 's|cp -d|/bin/cp |' ${WRKSRC}/build/mak/host/posix.mak
X	@${REINPLACE_CMD} -e 's|lib64|lib|' ${WRKSRC}/ac.py
X	@${REINPLACE_CMD} \
X			-e 's|$$(CONF_LIBDIR)pkgconfig/|$$(CONF_PREFIX)libdata/pkgconfig/|g'\
X			${WRKSRC}/build/mak/compiler/pkgconfig.mak
X
X.include <bsd.port.mk>
2bd5ba36cc4352bd62ec32c1e0cf8ad4
echo x - graphics/lensfun/distinfo
sed 's/^X//' >graphics/lensfun/distinfo << 'ecd3ec8b24c9058dee35aa2479bfdd3d'
XMD5 (lensfun-0.2.3.tar.bz2) = c5c04be4f53e3eef450ff4948d8f65b3
XSHA256 (lensfun-0.2.3.tar.bz2) = 836ab5869c0e81a54100c389e7274ead183d8dd5ee1992669bad92f57c43484f
XSIZE (lensfun-0.2.3.tar.bz2) = 151189
ecd3ec8b24c9058dee35aa2479bfdd3d
echo x - graphics/lensfun/pkg-descr
sed 's/^X//' >graphics/lensfun/pkg-descr << '6223a91882c7e060483dc8b4cadcfdb4'
Xlensfun is library for rectifying the defects introduced
Xby your photographic equipment. 
X
XWWW: http://lensfun.berlios.de/
6223a91882c7e060483dc8b4cadcfdb4
echo x - graphics/lensfun/pkg-plist
sed 's/^X//' >graphics/lensfun/pkg-plist << 'e9551fb09d245b194e68b9381eb6b37c'
Xlib/liblensfun.so
Xlib/liblensfun.so.0
Xlib/liblensfun.so.0.2.3
Xinclude/lensfun.h
Xlibdata/pkgconfig/lensfun.pc
X%%DATADIR%%/6x6.xml
X%%DATADIR%%/compact-canon.xml
X%%DATADIR%%/compact-casio.xml
X%%DATADIR%%/compact-fujifilm.xml
X%%DATADIR%%/compact-konica-minolta.xml
X%%DATADIR%%/compact-leica.xml
X%%DATADIR%%/compact-nikon.xml
X%%DATADIR%%/compact-olympus.xml
X%%DATADIR%%/compact-panasonic.xml
X%%DATADIR%%/compact-pentax.xml
X%%DATADIR%%/compact-ricoh.xml
X%%DATADIR%%/compact-sony.xml
X%%DATADIR%%/generic.xml
X%%DATADIR%%/rf-leica.xml
X%%DATADIR%%/slr-canon.xml
X%%DATADIR%%/slr-contax.xml
X%%DATADIR%%/slr-konica-minolta.xml
X%%DATADIR%%/slr-nikon.xml
X%%DATADIR%%/slr-olympus.xml
X%%DATADIR%%/slr-pentax.xml
X%%DATADIR%%/slr-samsung.xml
X%%DATADIR%%/slr-schneider.xml
X%%DATADIR%%/slr-sigma.xml
X%%DATADIR%%/slr-sony.xml
X%%DATADIR%%/slr-tamron.xml
X%%DATADIR%%/slr-tokina.xml
X%%DATADIR%%/slr-ussr.xml
Xshare/doc/lensfun-0.2.3/README
Xshare/doc/lensfun-0.2.3/lgpl-3.0.txt
Xshare/doc/lensfun-0.2.3/gpl-3.0.txt
Xshare/doc/lensfun-0.2.3/cc-by-sa-3.0.txt
X@dirrm share/doc/lensfun-0.2.3
X@dirrm %%DATADIR%%
e9551fb09d245b194e68b9381eb6b37c
exit





-- 
Cheers
Denis Barov
Comment 5 dfilter service freebsd_committer freebsd_triage 2009-05-26 17:52:11 UTC
amdmi3      2009-05-26 16:52:00 UTC

  FreeBSD ports repository

  Modified files:
    graphics             Makefile 
  Added files:
    graphics/lensfun     Makefile distinfo pkg-descr pkg-plist 
  Log:
  lensfun is library for rectifying the defects introduced
  by your photographic equipment.
  
  WWW: http://lensfun.berlios.de/
  
  PR:             134923
  Submitted by:   Denis Barov <dindin@dindin.ru>
  
  Revision  Changes    Path
  1.1257    +1 -0      ports/graphics/Makefile
  1.1       +43 -0     ports/graphics/lensfun/Makefile (new)
  1.1       +3 -0      ports/graphics/lensfun/distinfo (new)
  1.1       +4 -0      ports/graphics/lensfun/pkg-descr (new)
  1.1       +38 -0     ports/graphics/lensfun/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Dmitry Marakasov freebsd_committer freebsd_triage 2009-05-26 17:52:27 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!