2008-03-07 21:18:17 +01:00
|
|
|
PORTNAME= gpscorrelate
|
2012-10-02 14:10:16 +02:00
|
|
|
PORTVERSION= 1.6.1
|
2023-07-02 14:53:49 +02:00
|
|
|
PORTREVISION= 10
|
2008-03-07 21:18:17 +01:00
|
|
|
CATEGORIES= astro geography
|
|
|
|
|
2012-09-22 23:26:45 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-02-25 12:09:19 +01:00
|
|
|
COMMENT= Correlate digital camera photos with GPS data in GPX format
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= http://freefoote.dview.net/linux_gpscorr.html
|
2008-03-07 21:18:17 +01:00
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2015-12-14 02:07:57 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2008-03-07 21:18:17 +01:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libexiv2.so:graphics/exiv2 \
|
|
|
|
libgtkmm-2.4.so:x11-toolkits/gtkmm24
|
2023-07-02 14:53:49 +02:00
|
|
|
LIB_DEPENDS+= libatk-1.0.so:accessibility/at-spi2-core
|
|
|
|
LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig
|
|
|
|
LIB_DEPENDS+= libfreetype.so:print/freetype2
|
|
|
|
LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz
|
2012-10-02 14:10:16 +02:00
|
|
|
|
2023-07-02 14:53:49 +02:00
|
|
|
USES= compiler:c++11-lang gettext-runtime gmake gnome pkgconfig
|
2012-10-02 14:10:16 +02:00
|
|
|
|
2013-06-17 17:05:07 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= freefoote
|
|
|
|
|
2023-07-02 14:53:49 +02:00
|
|
|
USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 libxml2 pango
|
|
|
|
|
2014-01-02 09:42:08 +01:00
|
|
|
PLIST_FILES= bin/gpscorrelate bin/gpscorrelate-gui \
|
|
|
|
man/man1/gpscorrelate.1.gz man/man1/gpscorrelate-gui.1.gz
|
2014-04-04 22:36:47 +02:00
|
|
|
PORTDOCS= *
|
2012-10-02 14:10:16 +02:00
|
|
|
|
2014-04-04 22:36:47 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2012-10-02 14:10:16 +02:00
|
|
|
|
2008-03-07 21:18:17 +01:00
|
|
|
post-patch:
|
2012-10-02 14:10:16 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
2013-06-17 17:05:07 +02:00
|
|
|
'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)|' \
|
2014-04-04 22:36:47 +02:00
|
|
|
${WRKSRC}/Makefile
|
2012-10-02 14:10:16 +02:00
|
|
|
|
2008-03-07 21:18:17 +01:00
|
|
|
do-install:
|
2014-01-02 09:42:08 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gpscorrelate ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gpscorrelate-gui ${STAGEDIR}${PREFIX}/bin
|
2014-04-04 22:36:47 +02:00
|
|
|
${INSTALL_MAN} ${FILESDIR}/gpscorrelate.1 \
|
|
|
|
${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
${LN} -sf gpscorrelate.1 \
|
|
|
|
${STAGEDIR}${MANPREFIX}/man/man1/gpscorrelate-gui.1
|
2015-12-14 02:07:57 +01:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2014-01-02 09:42:08 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/RELEASES ${STAGEDIR}${DOCSDIR}
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.png ${STAGEDIR}${DOCSDIR}/html
|
2008-03-07 21:18:17 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|