mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
This plugin allows for validating custom fields as dates in tickets
and adds fancy date selector to these fields. WWW: http://trac-hacks.org/wiki/DateFieldPlugin PR: ports/141702 Submitted by: Eygene Ryabinkin <rea-fbsd at codelabs.ru>
This commit is contained in:
parent
9ca8a0a95b
commit
b0b7637e89
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246088
@ -1549,6 +1549,7 @@
|
||||
SUBDIR += trac-ctxtnavadd
|
||||
SUBDIR += trac-customfieldadmin
|
||||
SUBDIR += trac-customroadmap
|
||||
SUBDIR += trac-datefield
|
||||
SUBDIR += trac-down
|
||||
SUBDIR += trac-email2trac
|
||||
SUBDIR += trac-fullblog
|
||||
|
38
www/trac-datefield/Makefile
Normal file
38
www/trac-datefield/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# New ports collection makefile for: trac-autocomplete
|
||||
# Date created: December 16, 2009
|
||||
# Whom: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= datefield
|
||||
PORTVERSION= 1.0.1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= http://dist.codelabs.ru/fbsd/
|
||||
PKGNAMEPREFIX= trac-
|
||||
DISTNAME= datefieldplugin-r${REL}
|
||||
|
||||
MAINTAINER= rea-fbsd@codelabs.ru
|
||||
COMMENT= A plugin for creating date fields
|
||||
|
||||
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
|
||||
RUN_DEPENDS+= trac>=0.11:${PORTSDIR}/www/trac
|
||||
|
||||
USE_PYTHON= 2.5+
|
||||
USE_ZIP= yes
|
||||
NO_BUILD= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_PKGNAME= TracDateField
|
||||
PYDISTUTILS_NOEGGINFO= yes
|
||||
WRKSRC= ${WRKDIR}/datefieldplugin/0.11
|
||||
REL= 7267
|
||||
PLIST_FILES= ${PYTHON_SITELIBDIR:S;${LOCALBASE}/;;}/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
|
||||
|
||||
# We must fix file permissions -- ZIP file have 0000 for every file.
|
||||
# Directory permissions are fine (they aren't stored inside ZIP
|
||||
# file), but we set them too -- just in case.
|
||||
post-extract:
|
||||
@${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} 644
|
||||
@${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} 755
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/trac-datefield/distinfo
Normal file
3
www/trac-datefield/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (datefieldplugin-r7267.zip) = a1dd6e85a484ee191beff2b17c510fdb
|
||||
SHA256 (datefieldplugin-r7267.zip) = 565869c98580bd2b64c180b0a466d640b2b36f55a85d2f46804a6c676c1a8abe
|
||||
SIZE (datefieldplugin-r7267.zip) = 105459
|
4
www/trac-datefield/pkg-descr
Normal file
4
www/trac-datefield/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
This plugin allows for validating custom fields as dates in tickets
|
||||
and adds fancy date selector to these fields.
|
||||
|
||||
WWW: http://trac-hacks.org/wiki/DateFieldPlugin
|
Loading…
Reference in New Issue
Block a user