- Updated to 0.4.11508

PR:		ports/167127
Submitted by:	brooks
This commit is contained in:
Greg Larkin 2012-05-02 17:19:11 +00:00
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

View file

@ -3,34 +3,56 @@
# Whom: Greg Larkin <glarkin@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= wysiwyg
PORTVERSION= 0.2.7848
PORTREVISION= 2
DISTVERSION= 0.4.${SVN_REV}
CATEGORIES= www devel python
MASTER_SITES= http://www.sourcehosting.net/freebsd/distfiles/ \
LOCAL/glarkin
LOCAL/brooks
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
DIST_SUBDIR= trac
MAINTAINER= glarkin@FreeBSD.org
COMMENT= WYSIWYG editor for Trac wiki
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
USE_ZIP= yes
WRKSRC= ${WRKDIR}/trac${PORTNAME}plugin/0.11
USE_PYTHON= 2.5+
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= TracWysiwyg
PYDISTUTILS_PKGVERSION= ${PORTVERSION:R}
PLIST_SUB+= EGGVERSION=${PORTVERSION:R} PYTHONVERSION=${_PYTHON_VERSION}
USE_BZIP2= yes
USE_PYTHON= yes
NO_BUILD= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= TracWysiwyg
PLIST_SUB+= EGGVERSION=${EGGVERSION} PYTHONVERSION=${_PYTHON_VERSION}
EGGVERSION= 0.12.${PORTVERSION:R}
PLIST_FILES+= %%PYTHON_SITELIBDIR%%/TracWysiwyg-%%EGGVERSION%%-py%%PYTHONVERSION%%.egg
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:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View file

@ -0,0 +1 @@
SVN_REV= 11508

View file

@ -1,2 +1,2 @@
SHA256 (wysiwygplugin-0.2.7848.zip) = 79f579b72481df981b19c4fda03ff03ac509177a532809d5c295e1276127cdaa
SIZE (wysiwygplugin-0.2.7848.zip) = 138095
SHA256 (trac/wysiwyg-0.4.11508.tar.bz2) = 2c988573b57bd4942fad7b023b2faed9a82e3a11beec130cba38ada98de91895
SIZE (trac/wysiwyg-0.4.11508.tar.bz2) = 41353