bc622f1dbc
Drag-and-drop to attach files using HTML5 drag-and-drop, XMLHttpRequest Level 2 and File API. Progress bar while uploading the files using XMLHttpRequest Level 2. More than one file for selecting attachment files. Attach an image from clipboard. Auto-submit on select a file to attach. WWW: http://trac-hacks.org/wiki/TracDragDropPlugin PR: ports/177425 Submitted by: Hung-Yi Chen <gaod@hychen.org>
31 lines
806 B
Makefile
31 lines
806 B
Makefile
# Created by: Hung-Yi Chen <gaod@hychen.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tracdragdrop
|
|
PORTVERSION= 0.12.0.10.${SVN_REV}
|
|
CATEGORIES= www devel python
|
|
MASTER_SITES= http://distfiles.cse.tw/ \
|
|
http://trac-hacks.org/changeset/${SVN_REV}/tracdragdropplugin?old_path=/&format=zip&filename=/
|
|
PKGNAMEPREFIX= trac-
|
|
DISTNAME= ${PORTNAME}plugin-r${SVN_REV}
|
|
|
|
MAINTAINER= gaod@hychen.org
|
|
COMMENT= Provides extends attachments list of Trac
|
|
|
|
LICENSE= BSD
|
|
|
|
SVN_REV= 12822
|
|
|
|
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}plugin/0.12
|
|
USE_ZIP= yes
|
|
USE_PYTHON= -2.7
|
|
USE_PYDISTUTILS= easy_install
|
|
|
|
FETCH_BEFORE_ARGS= -o ${DISTFILES}
|
|
PYDISTUTILS_PKGNAME= TracDragDrop
|
|
PYDISTUTILS_PKGVERSION= ${PORTVERSION:C/.${SVN_REV}//g}
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
|
|
|
.include <bsd.port.mk>
|