Date: Thu, 17 Dec 2009 12:19:24 +0300 (MSK) From: Eygene Ryabinkin <rea-fbsd@codelabs.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/141702: New port: www/trac-datefield Message-ID: <20091217091924.5DB7CDA81A@void.codelabs.ru> Resent-Message-ID: <200912170920.nBH9K1ra045574@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141702 >Category: ports >Synopsis: New port: www/trac-datefield >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Dec 17 09:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Eygene Ryabinkin >Release: FreeBSD 8.0-RC1 amd64 >Organization: Code Labs >Environment: System: FreeBSD 8.0-RC1 amd64 >Description: There is a wonderful Trac plugin that adds fancy date fields to the core UI [1]. >How-To-Repeat: [1] http://trac-hacks.org/wiki/DateFieldPlugin >Fix: The following shar(1) archive contains the new port. It was tested in the real life and it passes Tinderbox builds on 7.x, 8.x and 9.x. --- new-port.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # trac-datefield # trac-datefield/Makefile # trac-datefield/distinfo # trac-datefield/pkg-descr # echo c - trac-datefield mkdir -p trac-datefield > /dev/null 2>&1 echo x - trac-datefield/Makefile sed 's/^X//' >trac-datefield/Makefile << 'ae3738ef219b55a97676bad528c08f87' X# New ports collection makefile for: trac-autocomplete X# Date created: December 16, 2009 X# Whom: Eygene Ryabinkin <rea-fbsd@codelabs.ru> X# X# $FreeBSD$ X# X XPORTNAME= datefield XPORTVERSION= 1.0.1 XCATEGORIES= www python XMASTER_SITES= http://dist.codelabs.ru/fbsd/ XPKGNAMEPREFIX= trac- XDISTNAME= datefieldplugin-r${REL} X XMAINTAINER= rea-fbsd@codelabs.ru XCOMMENT= A plugin for creating date fields X XBUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools XRUN_DEPENDS+= trac>=0.11:${PORTSDIR}/www/trac X XUSE_PYTHON= 2.5+ XUSE_ZIP= yes XNO_BUILD= yes XUSE_PYDISTUTILS= yes XPYDISTUTILS_PKGNAME= TracDateField XPYDISTUTILS_NOEGGINFO= yes XWRKSRC= ${WRKDIR}/datefieldplugin/0.11 XREL= 7267 XPLIST_FILES= ${PYTHON_SITELIBDIR:S;${LOCALBASE}/;;}/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg X X# We must fix file permissions -- ZIP file have 0000 for every file. X# Directory permissions are fine (they aren't stored inside ZIP X# file), but we set them too -- just in case. Xpost-extract: X @${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} 644 X @${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} 755 X X.include <bsd.port.mk> ae3738ef219b55a97676bad528c08f87 echo x - trac-datefield/distinfo sed 's/^X//' >trac-datefield/distinfo << 'a813bba52b2b5803204ef45f729e9089' XMD5 (datefieldplugin-r7267.zip) = a1dd6e85a484ee191beff2b17c510fdb XSHA256 (datefieldplugin-r7267.zip) = 565869c98580bd2b64c180b0a466d640b2b36f55a85d2f46804a6c676c1a8abe XSIZE (datefieldplugin-r7267.zip) = 105459 a813bba52b2b5803204ef45f729e9089 echo x - trac-datefield/pkg-descr sed 's/^X//' >trac-datefield/pkg-descr << '80435b5279e645a9bc90188fa0ffa2b6' XThis plugin allows for validating custom fields as dates in tickets Xand adds fancy date selector to these fields. X XWWW: http://trac-hacks.org/wiki/DateFieldPlugin 80435b5279e645a9bc90188fa0ffa2b6 exit --- new-port.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091217091924.5DB7CDA81A>