1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

- Add LICENSE_FILE

- Switch to options helpers
- Fix docfile installation
- Regenerate patches with `make makepatch`
This commit is contained in:
Dmitry Marakasov 2016-02-07 11:22:59 +00:00
parent 3c9a0156bf
commit 4565e6be61
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408368
3 changed files with 12 additions and 9 deletions

View File

@ -11,6 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= QCT GUI commit tool
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui
@ -18,10 +19,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-g
USES= python
USE_PYTHON= distutils
WRKSRC= ${WRKDIR}/qct
OPTIONS_DEFINE= DOCS
post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/doc/qct.1.txt ${STAGEDIR}${DOCSDIR}/qct.1.txt
${INSTALL_DATA} ${WRKSRC}/doc/qct.1.txt ${STAGEDIR}${DOCSDIR}/qct.1.txt
.include <bsd.port.mk>

View File

@ -1,7 +1,7 @@
--- qctlib/vcs/svn.py.orig 2009-02-15 23:49:32.000000000 +0100
+++ qctlib/vcs/svn.py 2009-07-22 17:58:33.000000000 +0200
--- qctlib/vcs/svn.py.orig 2009-02-15 22:49:32 UTC
+++ qctlib/vcs/svn.py
@@ -84,6 +84,8 @@ class qctVcsSvn:
if showIgnored: extra = ['--no-ignore']
else: extra = []
+ versionOutput = runProgram([self.svn_exe, '--version', '--quiet'])
@ -11,7 +11,7 @@
recs.pop() # remove last entry (which is '')
@@ -91,11 +93,19 @@ class qctVcsSvn:
if pb: pb.setValue(2)
for line in recs:
- if len(line) < 7:
- continue
@ -33,3 +33,4 @@
+ self.fileStatus[ fname ] = line[0:6]
if status == 'M': # modified
itemList.append('M ' + fname)
elif status == 'A': # added

View File

@ -1,6 +1,6 @@
--- setup.py.orig 2009-02-16 01:49:32.000000000 +0300
+++ setup.py 2012-01-18 19:01:41.000000000 +0400
@@ -10,20 +10,8 @@
--- setup.py.orig 2009-02-15 22:49:32 UTC
+++ setup.py
@@ -10,20 +10,8 @@ if not hasattr(sys, 'version_info') or s
raise SystemExit, "Qct requires python 2.4 or later."
extra = {}