svn commit: r307317 - head/www/trac-gantt

Ruslan Mahmatkhanov rm at FreeBSD.org
Sun Nov 11 14:49:41 UTC 2012


Author: rm
Date: Sun Nov 11 14:49:40 2012
New Revision: 307317
URL: http://svnweb.freebsd.org/changeset/ports/307317

Log:
  - do not directly depend on setuptools, use USE_DISTUTILS instead
  - bump PORTREVISION because of dependency change
  - remove indefinite article in COMMENT
  - convert to optionsng
  - trim Makefile header
  - limit python version to 2.x only
  - move pkg-plist contents into Makefile:PLIST_FILES
  - tab -> space change in pkg-descr:WWW
  
  PR:		173169
  Submitted by:	rm (myself)
  Approved by:	maintainer timeout (2 weeks)
  Feature safe:	yes

Deleted:
  head/www/trac-gantt/pkg-plist
Modified:
  head/www/trac-gantt/Makefile
  head/www/trac-gantt/pkg-descr

Modified: head/www/trac-gantt/Makefile
==============================================================================
--- head/www/trac-gantt/Makefile	Sun Nov 11 14:46:39 2012	(r307316)
+++ head/www/trac-gantt/Makefile	Sun Nov 11 14:49:40 2012	(r307317)
@@ -1,41 +1,35 @@
-# New ports collection makefile for: trac-gantt
-# Date created:                      July 12 2006
-# Whom:                              Dryice Liu <dryice at dryice.name>
-#
+# Created by: Dryice Liu <dryice at dryice.name>
 # $FreeBSD$
-#
 
 PORTNAME=	TracGantt
 PORTVERSION=	0.3.2a
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	www devel python
 MASTER_SITES=	http://willbarton.com/files/ \
 		http://dryice.name/computer/FreeBSD/distfiles/
 PKGNAMEPREFIX=	trac-
 
 MAINTAINER=	dryice at dryice.name
-COMMENT=	A plugin to creates Gantt charts for trac
+COMMENT=	Plugin to creates Gantt charts for trac
 
-BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
 RUN_DEPENDS+=	trac>=0.11:${PORTSDIR}/www/trac
 
-NO_BUILD=	yes
-USE_PYTHON=	yes
-USE_PYDISTUTILS=yes
-PLIST_SUB+=	PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION}
-PYDISTUTILS_NOEGGINFO=	yes
+USE_PYTHON=	-2.7
+USE_PYDISTUTILS=	easy_install
+PYDISTUTILS_PKGNAME=	TracGantt
+PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
 
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	PKG-INFO README
 .endif
 
-.include <bsd.port.pre.mk>
-
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${INSTALL} -d ${DOCSDIR}
 	@cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${DOCSDIR}
 .endif
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/www/trac-gantt/pkg-descr
==============================================================================
--- head/www/trac-gantt/pkg-descr	Sun Nov 11 14:46:39 2012	(r307316)
+++ head/www/trac-gantt/pkg-descr	Sun Nov 11 14:49:40 2012	(r307317)
@@ -13,4 +13,4 @@ Tickets" tab in Trac). The Gantt charts 
 generated on-the-fly from the ticket reports, using only the tickets
 provided by the report.
 
-WWW:	http://willbarton.com/code/tracgantt/
+WWW: http://willbarton.com/code/tracgantt/


More information about the svn-ports-head mailing list