[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / geography / gpxsee

File: [cvs.NetBSD.org] / pkgsrc / geography / gpxsee / Makefile (download)

Revision 1.16, Wed Nov 23 16:20:11 2022 UTC (2 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.15: +2 -2 lines

massive revision bump after textproc/icu update

# $NetBSD: Makefile,v 1.16 2022/11/23 16:20:11 adam Exp $

DISTNAME=	GPXSee-6.3
PKGNAME=	${DISTNAME:tl}
PKGREVISION=	14
CATEGORIES=	geography
MASTER_SITES=	${MASTER_SITE_GITHUB:=tumic0/}
GITHUB_PROJECT=	GPXSee

MAINTAINER=	abs@NetBSD.org
HOMEPAGE=	https://github.com/tumic0/GPXSee/
COMMENT=	GPS log file viewer and analyzer
LICENSE=	gnu-gpl-v3

USE_LANGUAGES=	c++03
QMAKE=		${QTDIR}/bin/qmake

INSTALLATION_DIRS+=	bin share/gpxsee/csv share/gpxsee/maps share/applications share/mime/packages share/pixmaps

do-configure:
	cd ${WRKSRC} && ${QMAKE} DEFINES+=GPXSEE_GLOBAL_DIR=\\\\\\\"${PREFIX}/share/gpxsee\\\\\\\" gpxsee.pro

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/GPXSee ${DESTDIR}${PREFIX}/bin/gpxsee
	${INSTALL_DATA} ${WRKSRC}/pkg/csv/* ${DESTDIR}${PREFIX}/share/gpxsee/csv
	${INSTALL_DATA} ${WRKSRC}/pkg/maps/* ${DESTDIR}${PREFIX}/share/gpxsee/maps
	${INSTALL_DATA} ${WRKSRC}/pkg/gpxsee.desktop ${DESTDIR}${PREFIX}/share/applications
	${INSTALL_DATA} ${WRKSRC}/pkg/gpxsee.xml ${DESTDIR}${PREFIX}/share/mime/packages
	${INSTALL_DATA} ${WRKSRC}/icons/gpxsee.png ${DESTDIR}${PREFIX}/share/pixmaps

.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"