- Update to version 1.6.1

- Trim Makefile headers

PR:		ports/171955
Submitted by: 	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Guido Falsi 2012-10-02 12:10:16 +00:00
parent cc8f7868c1
commit 75422161a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305158
4 changed files with 46 additions and 149 deletions

View file

@ -1,37 +1,62 @@
# New ports collection makefile for: gpscorrelate
# Date created: Feb 2008
# Whom: Lukas Maly
#
# Created by: Lukas Maly
# $FreeBSD$
PORTNAME= gpscorrelate
PORTVERSION= 1.5.6
PORTREVISION= 9
PORTVERSION= 1.6.1
CATEGORIES= astro geography
MASTER_SITES= http://freefoote.dview.net/linux/
MAINTAINER= ports@FreeBSD.org
COMMENT= A gps file gpx correlate exif tag in photos
LIB_DEPENDS= exiv2.12:${PORTSDIR}/graphics/exiv2 \
gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24
LICENSE= GPLv2
MAN1= gpscorrelate.1 gpscorrelate-gui.1
LIB_DEPENDS= exiv2:${PORTSDIR}/graphics/exiv2 \
gtkmm-2:${PORTSDIR}/x11-toolkits/gtkmm24
OPTIONS_DEFINE= DOCS
USE_GNOME= libxml2
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
MAN1= gpscorrelate.1
MLINKS= gpscorrelate.1 gpscorrelate-gui.1
PORTDOCS= *
PLIST_FILES= bin/gpscorrelate bin/gpscorrelate-gui
.include <bsd.port.options.mk>
# This port depends on nan(3) added in r174684, Sun Dec 16 21:19:28 2007 UTC.
# There was no __FreeBSD_version bump for this change, so use the nearest one.
.if ${OSVERSION} < 800007
BROKEN= Does not compile on 7.x: Requires nan(3)
.endif
post-patch:
@${REINPLACE_CMD} -e "s|-I/usr/include|-I${LOCALBASE}/include|" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
's|^CFLAGS|#CFLAGS| ; \
s|^override CFLAGS|override IFLAGS| ; \
s|gtk+-2.0)|gtk+-2.0 exiv2)| ; \
s|-I/usr/include/exiv2|| ; \
s|-lexiv2|| ; \
/^all:/s|gpscorrelate.1|| ; \
s|g++ $$(OFLAGS)|$$(CXX) $$(OFLAGS)| ; \
s|g++ $$(CFLAGS)|$$(CXX) $$(CXXFLAGS) $$(IFLAGS)| ; \
s|gcc $$(CFLAGS)|$$(CC) $$(CFLAGS) $$(IFLAGS)|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gpscorrelate ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/gpscorrelate-gui ${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/gpscorrelate* ${PREFIX}/man/man1
${MKDIR} ${PREFIX}/share/doc/gpscorrelate
${MKDIR} ${PREFIX}/share/gpscorrelate
${MKDIR} ${PREFIX}/share/doc/gpscorrelate/html
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/gpscorrelate/html
${INSTALL_DATA} ${WRKSRC}/doc/*.png ${PREFIX}/share/doc/gpscorrelate/html
${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/gpscorrelate/
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/gpscorrelate/
${INSTALL_DATA} ${WRKSRC}/RELEASES ${PREFIX}/share/gpscorrelate/
${INSTALL_MAN} ${FILESDIR}/gpscorrelate.1 ${MANPREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/RELEASES ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR}/html
.endif
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (gpscorrelate-1.5.6.tar.gz) = cbd75278f8707b63c135af5ec83b4323b17313b23cdd0b29fcb1d786c50e1a2e
SIZE (gpscorrelate-1.5.6.tar.gz) = 130623
SHA256 (gpscorrelate-1.6.1.tar.gz) = 966285c0a6df5ac2cc63c1f9650e65c70e303cf11d08dc283357bcd745cb5201
SIZE (gpscorrelate-1.6.1.tar.gz) = 154531

View file

@ -1,115 +0,0 @@
.\" Title: GPSCORRELATE
.\" Author: Stefano Zacchiroli
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
.\" Date: 08 Sep 2006
.\" Manual:
.\" Source:
.\"
.TH "GPSCORRELATE" "1" "08 Sep 2006" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
gpscorrelate \- correlates digital photos with GPS data filling EXIF fields
.SH "SYNOPSIS"
.HP 13
\fBgpscorrelate\fR [\fB\-g\ \fR\fB\fIfile.gpx\fR\fR] [\fIoption\fR...]
.HP 17
\fBgpscorrelate\-gui\fR
.SH "DESCRIPTION"
.PP
This manual page documents briefly the
\fBgpscorrelate\fR
and
\fBgpscorrelate\-gui\fR
commands.
.PP
This manual page was written for the
Debian(TM)
distribution because the original programs do not have a manual page. Instead, they have documentation in HTML format; see below.
.PP
\fBgpscorrelate\fR
is a program that acts on digital photo in JPEG format filling EXIF (Exchangeable Image File Format) fields related to GPS (Global Positioning System) information. Source for the GPS data is a record of GPS information encoded in GPX (GPS Exchange Format) Format. The act of filling those fields is referred to as
\fIcorrelation\fR.
.PP
If GPS data are available at the precise moment the photo was taken (with a 1\-second granularity) the GPS data are stored unmodified in EXIF fields. If they are not linear interpolation of GPS data available at moments before and after the photo was taken can be used.
.PP
\fBgpscorrelate\fR
is a command line tool implementing correlation whereas
\fBgpscorrelate\-gui\fR
is the corresponding GTK+ graphical user interface.
.SH "OPTIONS"
.PP
These programs follow the usual
GNU
command line syntax, with long options starting with two dashes (`\-'). A summary of options is included below. For a complete description, see the HTML documentation.
.TP 3n
\fB\-g\fR, \fB\-\-gps\fR
required, specifies GPX file with GPS data
.TP 3n
\fB\-z\fR, \fB\-\-timeadd\fR \fB+/\-\fR\fIXX\fR[\fB:\fR\fIXX\fR]
time to add to GPS data to make it match photos. GPS data is in UTC; photos are not likely to be in UTC. Enter the timezone used when taking the photos: eg,
\fB+8\fR
for Perth
.TP 3n
\fB\-i\fR, \fB\-\-no\-interpolation\fR
disable interpolation between points. Interpolation is linear, points are rounded if disabled
.TP 3n
\fB\-v\fR, \fB\-\-verbose\fR
show what has been selected
.TP 3n
\fB\-d\fR, \fB\-\-datum\fR \fIdatum\fR
specify measurement datum. If not set, WGS\-84 used
.TP 3n
\fB\-n\fR, \fB\-\-no\-write\fR
do not write the exif data. Useful with
\fB\-\-show\fR
.TP 3n
\fB\-m\fR, \fB\-\-max\-dist\fR \fItime\fR
max time outside points that photo will be matched. Time is in seconds
.TP 3n
\fB\-s\fR, \fB\-\-show\fR
Just show the GPS data from the given files, if it exists
.TP 3n
\fB\-o\fR, \fB\-\-machine\fR
Just show the GPS data from the given files, machine readable output
.TP 3n
\fB\-r\fR, \fB\-\-remove\fR
Strip GPS tags from the given files, and then quit
.TP 3n
\fB\-t\fR, \fB\-\-ignore\-tracksegs\fR
Interpolate between track segments too
.TP 3n
\fB\-M\fR, \fB\-\-no\-mtime\fR
Do not change mtime of modified files
.TP 3n
\fB\-h\fR, \fB\-\-help\fR
Show summary of options.
.SH "SEE ALSO"
.PP
gpsd (1), gpsbabel (1), gpxlogger (1), cgpxlogger (1).
.PP
The documentation of gpscorrelate and gpscorrelate\-gui in HTML format are available on the filesystem at
\fI/usr/local/share/doc/gpscorrelate/html/\fR.
.SH "AUTHOR"
.PP
This manual page was written by Stefano Zacchiroli
<zack@debian.org>
for the
Debian(TM)
system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the
GNU
General Public License, Version 2 any later version published by the Free Software Foundation.
.PP
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL.
.SH "AUTHOR"
.PP
\fBStefano\fR \fBZacchiroli\fR
.sp -1n
.IP "" 3n
Author.
.SH "COPYRIGHT"
Copyright \(co 2006 Stefano Zacchiroli <zack@debian.org>
.br

View file

@ -1,13 +0,0 @@
bin/gpscorrelate
bin/gpscorrelate-gui
share/gpscorrelate/README
share/gpscorrelate/RELEASES
share/gpscorrelate/command-line-options.txt
share/doc/gpscorrelate/html/command.html
share/doc/gpscorrelate/html/concepts.html
share/doc/gpscorrelate/html/corr.png
share/doc/gpscorrelate/html/gui.html
share/doc/gpscorrelate/html/index.html
@dirrm share/doc/gpscorrelate/html
@dirrm share/doc/gpscorrelate
@dirrm share/gpscorrelate