mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Updated to 0.4.11508
PR: ports/167127 Submitted by: brooks
This commit is contained in:
parent
2ca616a88f
commit
b5195b7a74
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295867
3 changed files with 39 additions and 16 deletions
|
@ -3,34 +3,56 @@
|
||||||
# Whom: Greg Larkin <glarkin@FreeBSD.org>
|
# Whom: Greg Larkin <glarkin@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= wysiwyg
|
PORTNAME= wysiwyg
|
||||||
PORTVERSION= 0.2.7848
|
DISTVERSION= 0.4.${SVN_REV}
|
||||||
PORTREVISION= 2
|
|
||||||
CATEGORIES= www devel python
|
CATEGORIES= www devel python
|
||||||
MASTER_SITES= http://www.sourcehosting.net/freebsd/distfiles/ \
|
MASTER_SITES= http://www.sourcehosting.net/freebsd/distfiles/ \
|
||||||
LOCAL/glarkin
|
LOCAL/brooks
|
||||||
PKGNAMEPREFIX= trac-
|
PKGNAMEPREFIX= trac-
|
||||||
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
|
DIST_SUBDIR= trac
|
||||||
|
|
||||||
MAINTAINER= glarkin@FreeBSD.org
|
MAINTAINER= glarkin@FreeBSD.org
|
||||||
COMMENT= WYSIWYG editor for Trac wiki
|
COMMENT= WYSIWYG editor for Trac wiki
|
||||||
|
|
||||||
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
|
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
|
||||||
|
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
|
||||||
|
|
||||||
USE_ZIP= yes
|
USE_BZIP2= yes
|
||||||
|
USE_PYTHON= yes
|
||||||
WRKSRC= ${WRKDIR}/trac${PORTNAME}plugin/0.11
|
NO_BUILD= yes
|
||||||
USE_PYTHON= 2.5+
|
USE_PYDISTUTILS=yes
|
||||||
USE_PYDISTUTILS= easy_install
|
PYDISTUTILS_PKGNAME= TracWysiwyg
|
||||||
PYDISTUTILS_PKGNAME= TracWysiwyg
|
PLIST_SUB+= EGGVERSION=${EGGVERSION} PYTHONVERSION=${_PYTHON_VERSION}
|
||||||
PYDISTUTILS_PKGVERSION= ${PORTVERSION:R}
|
EGGVERSION= 0.12.${PORTVERSION:R}
|
||||||
PLIST_SUB+= EGGVERSION=${PORTVERSION:R} PYTHONVERSION=${_PYTHON_VERSION}
|
PLIST_FILES+= %%PYTHON_SITELIBDIR%%/TracWysiwyg-%%EGGVERSION%%-py%%PYTHONVERSION%%.egg
|
||||||
PYDISTUTILS_NOEGGINFO= yes
|
PYDISTUTILS_NOEGGINFO= yes
|
||||||
PLIST_FILES= %%PYTHON_SITELIBDIR%%/TracWysiwyg-%%EGGVERSION%%-py%%PYTHONVERSION%%.egg
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if !defined(SVN_REV)
|
||||||
|
.if defined(BOOTSTRAP)
|
||||||
|
SVN_URL= http://trac-hacks.org/svn/tracwysiwygplugin/0.12/
|
||||||
|
LANG= "C"
|
||||||
|
SVN_REV!= svn info ${SVN_URL} | ${GREP} Revision | cut -d' ' -f2
|
||||||
|
.else
|
||||||
|
.include "Makefile.svn_rev"
|
||||||
|
.endif
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(BOOTSTRAP) || defined(SVN_FETCH)
|
||||||
|
FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion
|
||||||
|
|
||||||
|
do-fetch:
|
||||||
|
${MKDIR} ${WRKDIR}
|
||||||
|
svn export -r ${SVN_REV} ${SVN_URL} ${WRKSRC}
|
||||||
|
cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.tar.bz2 ${DISTNAME}
|
||||||
|
echo "SVN_REV= ${SVN_REV}" > ${MASTERDIR}/Makefile.svn_rev
|
||||||
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
1
www/trac-wysiwyg/Makefile.svn_rev
Normal file
1
www/trac-wysiwyg/Makefile.svn_rev
Normal file
|
@ -0,0 +1 @@
|
||||||
|
SVN_REV= 11508
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (wysiwygplugin-0.2.7848.zip) = 79f579b72481df981b19c4fda03ff03ac509177a532809d5c295e1276127cdaa
|
SHA256 (trac/wysiwyg-0.4.11508.tar.bz2) = 2c988573b57bd4942fad7b023b2faed9a82e3a11beec130cba38ada98de91895
|
||||||
SIZE (wysiwygplugin-0.2.7848.zip) = 138095
|
SIZE (trac/wysiwyg-0.4.11508.tar.bz2) = 41353
|
||||||
|
|
Loading…
Add table
Reference in a new issue