| @@ -1,65 +1,65 @@ | | | @@ -1,65 +1,65 @@ |
1 | # $NetBSD: Makefile,v 1.25 2017/02/12 06:25:50 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.26 2017/08/01 17:05:15 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= gitso-0.6 | | 3 | DISTNAME= gitso-0.6 |
4 | PKGREVISION= 16 | | 4 | PKGREVISION= 16 |
5 | CATEGORIES= net x11 | | 5 | CATEGORIES= net x11 |
6 | MASTER_SITES= http://gitso.googlecode.com/files/ | | 6 | MASTER_SITES= http://gitso.googlecode.com/files/ |
7 | DISTFILES= gitso_0.6_linux_all.tar.gz | | 7 | DISTFILES= gitso_0.6_linux_all.tar.gz |
8 | | | 8 | |
9 | MAINTAINER= darcy@NetBSD.org | | 9 | MAINTAINER= darcy@NetBSD.org |
10 | HOMEPAGE= http://code.google.com/p/gitso/ | | 10 | HOMEPAGE= https://code.google.com/archive/p/gitso/ |
11 | COMMENT= Gitso is to support others | | 11 | COMMENT= Gitso is to support others |
12 | LICENSE= gnu-gpl-v3 | | 12 | LICENSE= gnu-gpl-v3 |
13 | | | 13 | |
14 | DEPENDS+= vncviewer-[0-9]*:../../net/vncviewer | | 14 | DEPENDS+= vncviewer-[0-9]*:../../net/vncviewer |
15 | DEPENDS+= x11vnc-[0-9]*:../../x11/x11vnc | | 15 | DEPENDS+= x11vnc-[0-9]*:../../x11/x11vnc |
16 | | | 16 | |
17 | WRKSRC= ${WRKDIR}/Gitso | | 17 | WRKSRC= ${WRKDIR}/Gitso |
18 | | | 18 | |
19 | PY_PATCHPLIST= yes | | 19 | PY_PATCHPLIST= yes |
20 | PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-wxWidgets | | 20 | PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-wxWidgets |
21 | | | 21 | |
22 | USE_TOOLS+= bash:run | | 22 | USE_TOOLS+= bash:run |
23 | | | 23 | |
24 | REPLACE_BASH+= run-gitso.sh.local | | 24 | REPLACE_BASH+= run-gitso.sh.local |
25 | REPLACE_PYTHON+= bin/gitso | | 25 | REPLACE_PYTHON+= bin/gitso |
26 | REPLACE_PYTHON+= share/gitso/ArgsParser.py | | 26 | REPLACE_PYTHON+= share/gitso/ArgsParser.py |
27 | REPLACE_PYTHON+= share/gitso/ConnectionWindow.py | | 27 | REPLACE_PYTHON+= share/gitso/ConnectionWindow.py |
28 | REPLACE_PYTHON+= share/gitso/Gitso.py | | 28 | REPLACE_PYTHON+= share/gitso/Gitso.py |
29 | REPLACE_PYTHON+= share/gitso/GitsoThread.py | | 29 | REPLACE_PYTHON+= share/gitso/GitsoThread.py |
30 | REPLACE_PYTHON+= share/gitso/NATPMP.py | | 30 | REPLACE_PYTHON+= share/gitso/NATPMP.py |
31 | REPLACE_PYTHON+= share/gitso/Processes.py | | 31 | REPLACE_PYTHON+= share/gitso/Processes.py |
32 | | | 32 | |
33 | .include "../../lang/python/extension.mk" | | 33 | .include "../../lang/python/extension.mk" |
34 | .include "../../lang/python/application.mk" | | 34 | .include "../../lang/python/application.mk" |
35 | | | 35 | |
36 | MAKE_JOBS_SAFE= no | | 36 | MAKE_JOBS_SAFE= no |
37 | NO_BUILD= yes | | 37 | NO_BUILD= yes |
38 | INSTALLATION_DIRS+= bin | | 38 | INSTALLATION_DIRS+= bin |
39 | INSTALLATION_DIRS+= share/gitso | | 39 | INSTALLATION_DIRS+= share/gitso |
40 | INSTALLATION_DIRS+= ${PYSITELIB}/gitso | | 40 | INSTALLATION_DIRS+= ${PYSITELIB}/gitso |
41 | | | 41 | |
42 | .include "../../mk/bsd.prefs.mk" | | 42 | .include "../../mk/bsd.prefs.mk" |
43 | | | 43 | |
44 | SITEFILES= ${WRKSRC}/share/gitso/*.py \ | | 44 | SITEFILES= ${WRKSRC}/share/gitso/*.py \ |
45 | ${WRKSRC}/share/gitso/icon.* \ | | 45 | ${WRKSRC}/share/gitso/icon.* \ |
46 | ${WRKSRC}/share/gitso/icon.* \ | | 46 | ${WRKSRC}/share/gitso/icon.* \ |
47 | ${WRKSRC}/share/gitso/hosts.txt \ | | 47 | ${WRKSRC}/share/gitso/hosts.txt \ |
48 | ${WRKSRC}/share/doc/gitso/COPYING | | 48 | ${WRKSRC}/share/doc/gitso/COPYING |
49 | | | 49 | |
50 | post-patch: | | 50 | post-patch: |
51 | ${SED} -e 's|bin/gitso|${DESTDIR}${PREFIX}/bin/gitso|' \ | | 51 | ${SED} -e 's|bin/gitso|${DESTDIR}${PREFIX}/bin/gitso|' \ |
52 | < ${WRKSRC}/run-gitso.sh \ | | 52 | < ${WRKSRC}/run-gitso.sh \ |
53 | > ${WRKSRC}/run-gitso.sh.local | | 53 | > ${WRKSRC}/run-gitso.sh.local |
54 | | | 54 | |
55 | do-install: | | 55 | do-install: |
56 | ${INSTALL_SCRIPT} ${WRKSRC}/run-gitso.sh.local \ | | 56 | ${INSTALL_SCRIPT} ${WRKSRC}/run-gitso.sh.local \ |
57 | ${DESTDIR}${PREFIX}/bin/run-gitso.sh | | 57 | ${DESTDIR}${PREFIX}/bin/run-gitso.sh |
58 | ${INSTALL_SCRIPT} ${WRKSRC}/bin/gitso ${DESTDIR}${PREFIX}/bin | | 58 | ${INSTALL_SCRIPT} ${WRKSRC}/bin/gitso ${DESTDIR}${PREFIX}/bin |
59 | for i in ${SITEFILES}; do \ | | 59 | for i in ${SITEFILES}; do \ |
60 | ${INSTALL_DATA} $$i ${DESTDIR}${PREFIX}/${PYSITELIB}/gitso; \ | | 60 | ${INSTALL_DATA} $$i ${DESTDIR}${PREFIX}/${PYSITELIB}/gitso; \ |
61 | done | | 61 | done |
62 | | | 62 | |
63 | .include "../../x11/libXext/buildlink3.mk" | | 63 | .include "../../x11/libXext/buildlink3.mk" |
64 | .include "../../x11/py-wxWidgets/buildlink3.mk" | | 64 | .include "../../x11/py-wxWidgets/buildlink3.mk" |
65 | .include "../../mk/bsd.pkg.mk" | | 65 | .include "../../mk/bsd.pkg.mk" |