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

File: [cvs.NetBSD.org] / pkgsrc / net / gitso / Attic / Makefile (download)

Revision 1.41, Fri Dec 4 20:45:33 2020 UTC (3 years, 2 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.40: +2 -2 lines

Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.

# $NetBSD: Makefile,v 1.41 2020/12/04 20:45:33 nia Exp $

DISTNAME=		gitso-0.6
PKGREVISION=		26
CATEGORIES=		net x11
MASTER_SITES=		http://gitso.googlecode.com/files/
DISTFILES=		gitso_0.6_linux_all.tar.gz

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://code.google.com/archive/p/gitso/
COMMENT=		Gitso is to support others
LICENSE=		gnu-gpl-v3

DEPENDS+=		vncviewer-[0-9]*:../../net/vncviewer
DEPENDS+=		x11vnc-[0-9]*:../../x11/x11vnc

WRKSRC=			${WRKDIR}/Gitso

PY_PATCHPLIST=		yes
PYTHON_VERSIONS_ACCEPTED= 27 # py-wxWidgets

USE_TOOLS+=		bash:run

REPLACE_BASH+=		run-gitso.sh.local
REPLACE_PYTHON+=	bin/gitso
REPLACE_PYTHON+=	share/gitso/ArgsParser.py
REPLACE_PYTHON+=	share/gitso/ConnectionWindow.py
REPLACE_PYTHON+=	share/gitso/Gitso.py
REPLACE_PYTHON+=	share/gitso/GitsoThread.py
REPLACE_PYTHON+=	share/gitso/NATPMP.py
REPLACE_PYTHON+=	share/gitso/Processes.py

.include "../../lang/python/extension.mk"
.include "../../lang/python/application.mk"

MAKE_JOBS_SAFE=		no
NO_BUILD=		yes
INSTALLATION_DIRS+=	bin
INSTALLATION_DIRS+=	share/gitso
INSTALLATION_DIRS+=	${PYSITELIB}/gitso

.include "../../mk/bsd.prefs.mk"

SITEFILES=	${WRKSRC}/share/gitso/*.py \
		${WRKSRC}/share/gitso/icon.* \
		${WRKSRC}/share/gitso/icon.* \
		${WRKSRC}/share/gitso/hosts.txt \
		${WRKSRC}/share/doc/gitso/COPYING

post-patch:
	${SED} -e 's|bin/gitso|${DESTDIR}${PREFIX}/bin/gitso|' \
		< ${WRKSRC}/run-gitso.sh \
		> ${WRKSRC}/run-gitso.sh.local

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/run-gitso.sh.local \
		${DESTDIR}${PREFIX}/bin/run-gitso.sh
	${INSTALL_SCRIPT} ${WRKSRC}/bin/gitso ${DESTDIR}${PREFIX}/bin
	for i in ${SITEFILES}; do \
		${INSTALL_DATA} $$i ${DESTDIR}${PREFIX}/${PYSITELIB}/gitso; \
	done

.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/py-wxWidgets/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"