Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2017 14:18:17 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442995 - in head/deskutils/taskcoach: . files
Message-ID:  <201706091418.v59EIHIT009819@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Jun  9 14:18:17 2017
New Revision: 442995
URL: https://svnweb.freebsd.org/changeset/ports/442995

Log:
  Fix shebang
  
  - Add NO_ARCH
  - While I'm here:
    - Remove no-op WRKSRC
    - Pet portlint:
      - Fix tab/space
      - Do no silence installation message
      - Fix diff header of patch files
  - Bump PORTREVISION for package change
  
  Approved by:	portmgr (blanket)

Modified:
  head/deskutils/taskcoach/Makefile
  head/deskutils/taskcoach/files/patch-setup.py

Modified: head/deskutils/taskcoach/Makefile
==============================================================================
--- head/deskutils/taskcoach/Makefile	Fri Jun  9 14:18:09 2017	(r442994)
+++ head/deskutils/taskcoach/Makefile	Fri Jun  9 14:18:17 2017	(r442995)
@@ -2,7 +2,7 @@
 
 PORTNAME=	taskcoach
 PORTVERSION=	1.4.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	deskutils python
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/Release-${PORTVERSION}
 DISTNAME=	TaskCoach-${PORTVERSION}
@@ -10,26 +10,28 @@ DISTNAME=	TaskCoach-${PORTVERSION}
 MAINTAINER=	kevlo@FreeBSD.org
 COMMENT=	Friendly task manager
 
-WRKSRC=		${WRKDIR}/${DISTNAME}
-
 LICENSE=	GPLv3
-LICENSE_FILE=   ${WRKSRC}/LICENSE.txt
-USES=		python twisted
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+NO_ARCH=	yes
+USES=		python shebangfix twisted
 USE_PYTHON=	distutils
 PYDISTUTILS_EGGINFO=${DISTNAME}-py${PYTHON_VER}.egg-info
 USE_WX=		3.0+
 WX_COMPS=	python:lib
 WX_UNICODE=	yes
 
+SHEBANG_FILES=	taskcoach.py
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|taskcoach.py|taskcoach|' \
 		${WRKSRC}/build.in/linux_common/taskcoach.desktop
 post-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/taskcoach.py \
 		${STAGEDIR}${PREFIX}/bin/taskcoach
-	@${INSTALL_DATA} ${WRKSRC}/build.in/linux_common/taskcoach.desktop \
+	${INSTALL_DATA} ${WRKSRC}/build.in/linux_common/taskcoach.desktop \
 		${STAGEDIR}${PREFIX}/share/applications/
-	@${INSTALL_DATA} ${WRKSRC}/icons.in/taskcoach.png \
+	${INSTALL_DATA} ${WRKSRC}/icons.in/taskcoach.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps
 
 .include <bsd.port.mk>

Modified: head/deskutils/taskcoach/files/patch-setup.py
==============================================================================
--- head/deskutils/taskcoach/files/patch-setup.py	Fri Jun  9 14:18:09 2017	(r442994)
+++ head/deskutils/taskcoach/files/patch-setup.py	Fri Jun  9 14:18:17 2017	(r442995)
@@ -1,5 +1,5 @@
---- setup.py.orig	2011-12-14 04:24:18.000000000 +0800
-+++ setup.py	2012-01-05 17:57:29.000000000 +0800
+--- setup.py.orig	2011-12-13 20:24:18 UTC
++++ setup.py
 @@ -52,8 +52,7 @@
      'url': meta.url,
      'license': meta.license,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706091418.v59EIHIT009819>