Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2012 23:31:28 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307110 - head/devel/ditrack
Message-ID:  <201211062331.qA6NVStP086705@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Tue Nov  6 23:31:28 2012
New Revision: 307110
URL: http://svnweb.freebsd.org/changeset/ports/307110

Log:
  - Update MASTER_SITES and WWW: line
  - Convert to OptionsNG
  - Sort pkg-plist
  
  PR:		ports/171982
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
  Feature safe:	yes

Modified:
  head/devel/ditrack/Makefile
  head/devel/ditrack/pkg-descr
  head/devel/ditrack/pkg-plist

Modified: head/devel/ditrack/Makefile
==============================================================================
--- head/devel/ditrack/Makefile	Tue Nov  6 23:30:46 2012	(r307109)
+++ head/devel/ditrack/Makefile	Tue Nov  6 23:31:28 2012	(r307110)
@@ -1,36 +1,33 @@
-# New ports collection makefile for:	ditrack
-# Date created:		2007-02-04
-# Whom:			Gea-Suan Lin <gslin@gslin.org>
-#
+# Created by: Gea-Suan Lin <gslin@gslin.org>
 # $FreeBSD$
-#
 
 PORTNAME=	ditrack
 PORTVERSION=	0.8
 PORTREVISION=	2
 CATEGORIES=	devel
-MASTER_SITES=	http://www.ditrack.org/files/
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A tracking system based on Subversion repository
+COMMENT=	Tracking system based on Subversion repository
 
 RUN_DEPENDS=	svn:${PORTSDIR}/devel/subversion
 
+WRKSRC=		${WRKDIR}/DITrack-${PORTVERSION}
 NO_BUILD=	yes
+
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	DITrack
-WRKSRC=		${WRKDIR}/DITrack-${PORTVERSION}
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 post-install:
-	${MKDIR} ${DATADIR}
+	@${MKDIR} ${DATADIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/upgrade-0.7-db.py ${DATADIR}
-.ifndef(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/html/index.html ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/ditrack/pkg-descr
==============================================================================
--- head/devel/ditrack/pkg-descr	Tue Nov  6 23:30:46 2012	(r307109)
+++ head/devel/ditrack/pkg-descr	Tue Nov  6 23:31:28 2012	(r307110)
@@ -3,4 +3,4 @@ defect, ticket) tracking system using a 
 of a backend database. It is written in Python and runs in UNIX
 environment (*BSD, Linux, MacOS X).
 
-WWW:	http://www.ditrack.org/
+WWW: http://sourceforge.net/projects/ditrack/

Modified: head/devel/ditrack/pkg-plist
==============================================================================
--- head/devel/ditrack/pkg-plist	Tue Nov  6 23:30:46 2012	(r307109)
+++ head/devel/ditrack/pkg-plist	Tue Nov  6 23:31:28 2012	(r307110)
@@ -1,6 +1,6 @@
 @comment $FreeBSD$
-%%DATADIR%%/upgrade-0.7-db.py
-%%PORTDOCS%%%%DOCSDIR%%/index.html
+bin/dt
+bin/dt-createdb
 %%PYTHON_SITELIBDIR%%/DITrack/Backend/__init__.py
 %%PYTHON_SITELIBDIR%%/DITrack/Backend/__init__.pyc
 %%PYTHON_SITELIBDIR%%/DITrack/Backend/__init__.pyo
@@ -121,8 +121,10 @@
 %%PYTHON_SITELIBDIR%%/DITrack/dt/globals.py
 %%PYTHON_SITELIBDIR%%/DITrack/dt/globals.pyc
 %%PYTHON_SITELIBDIR%%/DITrack/dt/globals.pyo
-bin/dt
-bin/dt-createdb
+%%DATADIR%%/upgrade-0.7-db.py
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%DATADIR%%
 @dirrmtry %%PYTHON_SITELIBDIR%%/DITrack/dt
 @dirrmtry %%PYTHON_SITELIBDIR%%/DITrack/ThirdParty/Python
 @dirrmtry %%PYTHON_SITELIBDIR%%/DITrack/ThirdParty
@@ -131,5 +133,3 @@ bin/dt-createdb
 @dirrmtry %%PYTHON_SITELIBDIR%%/DITrack/Command
 @dirrmtry %%PYTHON_SITELIBDIR%%/DITrack/Backend
 @dirrmtry %%PYTHON_SITELIBDIR%%/DITrack
-@dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%



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